|
libecs-cpp 2.1.0
Entity Component System library in C++
|
The real clock: std::chrono::steady_clock, truncated to whole microseconds. More...
#include <Clock.hpp>


Public Member Functions | |
| std::chrono::microseconds | Now () const override |
| Time since the clock's starting point, in microseconds. | |
Public Member Functions inherited from ecs::Clock | |
| virtual | ~Clock ()=default |
| Destroys the clock. | |
Static Public Member Functions | |
| static const SteadyClock & | Instance () |
| The shared instance, which lives until the process ends. | |
The real clock: std::chrono::steady_clock, truncated to whole microseconds.
It is stateless and safe to use from any thread.
|
inlinestatic |
The shared instance, which lives until the process ends.
Does not allocate.
|
inlineoverridevirtual |