116 static int64_t max() {
return std::numeric_limits<int64_t>::max(); }
124 inline operator int64_t()
const;
133 {
return a.timepoint < b.timepoint; }
135 {
return a.timepoint > b.timepoint; }
141 Duration::operator int64_t()
const
#define QPID_COMMON_EXTERN
void outputHiresNow(std::ostream &)
Output unformatted nanosecond-resolution time for now.
const Duration TIME_NSEC
Nanoseconds per nanosecond.
Class to represent an instant in time.
friend std::ostream & operator<<(std::ostream &, const AbsTime &)
QPID_COMMON_INLINE_EXTERN Duration(int64_t time0=0)
void sleep(int secs)
Portable sleep for a number of seconds.
const AbsTime FAR_FUTURE
Time greater than any other time.
bool operator>(const AbsTime &a, const AbsTime &b)
const Duration TIME_MSEC
Nanoseconds per millisecond.
Class to represent the duration between instants of time.
A condition variable for thread synchronization.
std::istream & operator>>(std::istream &, Duration &)
bool operator<(const AbsTime &a, const AbsTime &b)
friend bool operator<(const AbsTime &a, const AbsTime &b)
static AbsTime FarFuture()
void usleep(uint64_t usecs)
Portable sleep for a number of microseconds.
int64_t TimePrivate
Class to represent an instant in time.
const Duration TIME_INFINITE
Value to represent an infinite timeout.
This file was automatically generated from the AMQP specification.
bool operator==(const AbsTime &t) const
const Duration TIME_SEC
Nanoseconds per second.
#define QPID_COMMON_INLINE_EXTERN
friend bool operator>(const AbsTime &a, const AbsTime &b)
std::ostream & operator<<(std::ostream &, const AbsTime &)
void outputFormattedNow(std::ostream &)
Output formatted date/time for now.
const Duration TIME_USEC
Nanoseconds per microseconds.
const AbsTime EPOCH
Absolute time point for the Unix epoch: 1970-01-01T00:00:00.