Kanzi 3.9.10
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
 
using time_point
 

Static Public Member Functions

static KZ_NO_DISCARD time_point now () noexcept
 Returns a time point representing the current point in time.
 

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

◆ duration

◆ time_point

Member Function Documentation

◆ now()

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: