|
libqi-api
2.4.3.28
|
#include <qi/api.hpp>#include <qi/types.hpp>#include <boost/chrono/chrono.hpp>#include <qi/detail/clock.hxx>Go to the source code of this file.
Classes | |
| class | qi::SteadyClock |
| The SteadyClock class represents a monotonic clock. . More... | |
| class | qi::Clock |
| The Clock class represents a system-wide clock, best suitable for timestamping events. More... | |
| class | qi::SystemClock |
| The SystemClock class represents the system-wide real time wall clock. It may not be monotonic: on most systems, the system time can be adjusted at any moment. More... | |
Namespaces | |
| qi | |
Macros | |
| #define | _QI_CLOCK_HPP_ |
Typedefs | |
| typedef boost::chrono::duration < int64_t, boost::nano > | qi::Duration |
| Convenience typedefs. More... | |
| typedef boost::chrono::duration < int64_t, boost::nano > | qi::NanoSeconds |
| typedef boost::chrono::duration < int64_t, boost::micro > | qi::MicroSeconds |
| typedef boost::chrono::duration < int64_t, boost::milli > | qi::MilliSeconds |
| typedef boost::chrono::duration < int64_t > | qi::Seconds |
| typedef boost::chrono::duration < int64_t, boost::ratio< 60 > > | qi::Minutes |
| typedef boost::chrono::duration < int64_t, boost::ratio< 3600 > > | qi::Hours |
| typedef SteadyClock::time_point | qi::SteadyClockTimePoint |
| Steady clock time point. More... | |
| typedef Clock::time_point | qi::ClockTimePoint |
| qi::Clock time point. More... | |
| typedef SystemClock::time_point | qi::SystemClockTimePoint |
| System clock time point. More... | |
Functions | |
| QI_API_DEPRECATED SteadyClockTimePoint | qi::steadyClockNow () |
| Returns a time_point representing the current value of the clock. More... | |
| QI_API_DEPRECATED SystemClockTimePoint | qi::wallClockNow () |
| Returns a time_point representing the current value of the clock. More... | |
| void | qi::sleepFor (const qi::Duration &d) |
| template<class Rep , class Period > | |
| void | qi::sleepFor (const boost::chrono::duration< Rep, Period > &d) |
| void | qi::sleepUntil (const SteadyClockTimePoint &t) |
Blocks the execution of the current thread until t has been reached. More... | |
| template<class Duration > | |
| void | qi::sleepUntil (const boost::chrono::time_point< SteadyClock, Duration > &t) |
| void | qi::sleepUntil (const ClockTimePoint &t) |
Blocks the execution of the current thread until t has been reached. More... | |
| template<class Duration > | |
| void | qi::sleepUntil (const boost::chrono::time_point< Clock, Duration > &t) |
| void | qi::sleepUntil (const SystemClockTimePoint &t) |
Blocks the execution of the current thread until t has been reached. More... | |
| template<class Duration > | |
| void | qi::sleepUntil (const boost::chrono::time_point< SystemClock, Duration > &t) |
| std::string | qi::toISO8601String (const SystemClockTimePoint &t) |
| Return the date and time as a string in ISO 8601 format. The time is given up to millisecond precision, in UTC. The format does not include colon characters, to be suitable for inclusion in filenames on any filesystem. More... | |
| template<class DurationTo , class TimePointFrom > | |
| DurationTo | qi::durationSince (const TimePointFrom &t) |
| }@ More... | |
Variables | |
| QI_API_DEPRECATED typedef SystemClock | qi::WallClock |
| QI_API_DEPRECATED typedef SystemClockTimePoint | qi::WallClockTimePoint |
| System clock time point. More... | |