steady_clock struct

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see steady_clock struct on docs.microsoft.com. Represents a steady clock.

struct steady_clock;  

On Windows, steady_clock wraps the QueryPerformanceCounter function.

A clock is monotonic if the value that is returned by a first call to now() is always less than or equal to the value that is returned by a subsequent call to now().

A clock is steady if it is monotonic and if the time between clock ticks is constant.

High_resolution_clock is a typdef for steady_clock.

FunctionDescription
nowReturns the current time as a time_point value.
NameDescription
system_clock::is_steadyHolds true. A steady_clock is steady.

Header: chrono

Namespace: std::chrono

Header Files Reference
<chrono>
system_clock Structure

Show: