|
libqi-api
release-2.5.3-2016-11-18
|
The SteadyClock class represents a monotonic clock. . More...
#include <clock.hpp>
Public Types | |
| enum | Expect { Expect_SoonerOrLater, Expect_Later, Expect_Sooner } |
| Enum expected argument. More... | |
| using | rep = Duration::rep |
| The representation type of the duration and time_point. More... | |
| using | period = Duration::period |
| The tick period of the clock in nanoseconds. More... | |
| using | duration = Duration |
| The duration type of the clock. More... | |
| using | time_point = TimePoint< SteadyClock > |
Static Public Member Functions | |
| static time_point | now () |
| Returns a time_point representing the current value of the clock. More... | |
Public Attributes | |
| QI_API_DEPRECATED typedef time_point | SteadyClockTimePoint |
| bool | is_steady = boost::chrono::steady_clock::is_steady |
The SteadyClock class represents a monotonic clock. .
The time points of this clock cannot decrease as physical time moves forward. This clock is not related to wall clock time, and is best suitable for measuring intervals.
| using qi::SteadyClock::duration = Duration |
| using qi::SteadyClock::period = Duration::period |
| using qi::SteadyClock::rep = Duration::rep |
|
static |
Returns a time_point representing the current value of the clock.
| bool qi::SteadyClock::is_steady = boost::chrono::steady_clock::is_steady |
| QI_API_DEPRECATED typedef time_point qi::SteadyClock::SteadyClockTimePoint |