|
libqi-api
2.4.3.28
|
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... | |
| typedef int64_t | rep |
| The representation type of the duration and time_point. More... | |
| typedef boost::nano | period |
| The tick period of the clock in nanoseconds. More... | |
| typedef boost::chrono::duration< rep, period > | duration |
| The duration type of the clock. More... | |
| typedef boost::chrono::time_point < SteadyClock > | time_point |
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.
| typedef boost::chrono::duration<rep, period> qi::SteadyClock::duration |
| typedef boost::nano qi::SteadyClock::period |
| typedef int64_t qi::SteadyClock::rep |
| typedef boost::chrono::time_point<SteadyClock> qi::SteadyClock::time_point |
|
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 |