Partager via


steady_clock Class

Represents a steady clock.

class steady_clock : public system_clock;

Remarks

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.

Public Constants

Name

Description

system_clock::is_monotonic

Holds true. A steady_clock is monotonic.

system_clock::is_steady

Holds true. A steady_clock is steady.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

<chrono>

system_clock Structure

Other Resources

C++ Standard Library Header Files