Represents a monotonic, high resolution clock that advances steadily as the physical time moves forward. More...
#include <kanzi/core/time/clock.hpp>
Public Types | |
using | duration = chrono::nanoseconds |
using | time_point = chrono::time_point< Clock > |
Static Public Member Functions | |
static KZ_NO_DISCARD time_point | now () noexcept |
Returns a time point representing the current point in time. More... | |
Represents a monotonic, high resolution clock that advances steadily as the physical time moves forward.
Suitable for measuring time intervals for profiling, animations, and other events.
using kanzi::Clock::duration = chrono::nanoseconds |
using kanzi::Clock::time_point = chrono::time_point<Clock> |
|
staticnoexcept |
Returns a time point representing the current point in time.