Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::Clock Class Reference

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...
 

Detailed Description

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.

Member Typedef Documentation

using kanzi::Clock::duration = chrono::nanoseconds
using kanzi::Clock::time_point = chrono::time_point<Clock>

Member Function Documentation

static KZ_NO_DISCARD time_point kanzi::Clock::now ( )
staticnoexcept

Returns a time point representing the current point in time.

Returns
A time point representing the current time.

The documentation for this class was generated from the following file: