libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Typedefs | Functions
clock.hpp File Reference
#include <qi/api.hpp>
#include <qi/types.hpp>
#include <boost/chrono.hpp>
#include <qi/clock.hxx>

Go to the source code of this file.

Classes

class  qi::SteadyClock
 
class  qi::WallClock
 

Namespaces

 qi
 qi general namespace
 

Macros

#define _QI_CLOCK_HPP_
 

Typedefs

typedef
boost::chrono::duration
< int64_t, boost::nano > 
qi::Duration
 
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::SteadyClockTimePoint 
qi::SteadyClockTimePoint
 
typedef
WallClock::WallClockTimePoint 
qi::WallClockTimePoint
 

Functions

SteadyClockTimePoint qi::steadyClockNow ()
 
WallClockTimePoint qi::wallClockNow ()
 
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)
 
template<class Duration >
void qi::sleepUntil (const boost::chrono::time_point< SteadyClock, Duration > &t)
 
void qi::sleepUntil (const WallClockTimePoint &t)
 
template<class Duration >
void qi::sleepUntil (const boost::chrono::time_point< WallClock, Duration > &t)
 

Macro Definition Documentation

#define _QI_CLOCK_HPP_

Definition at line 9 of file clock.hpp.