15#ifndef included_Retro_Rtime
16#define included_Retro_Rtime 1
28 explicit Rtime(clockid_t clkid);
29 explicit Rtime(
double dt);
34 void Set(
const struct timespec& ts);
44 const struct timespec&
Timespec()
const;
48 double Age(clockid_t clkid)
const;
50 void Print(std::ostream& os)
const;
51 void Dump(std::ostream& os,
int ind=0,
const char* text=0)
const;
53 explicit operator double()
const;
bool IsZero() const
FIXME_docs.
bool IsNegative() const
FIXME_docs.
bool operator!=(const Rtime &rhs)
FIXME_docs.
std::string ToString() const
FIXME_docs.
const struct timespec & Timespec() const
FIXME_docs.
int ToMSec() const
FIXME_docs.
void Print(std::ostream &os) const
FIXME_docs.
time_t Sec() const
FIXME_docs.
void Set(const struct timespec &ts)
FIXME_docs.
bool IsPositive() const
FIXME_docs.
void SetNSec(long nsec)
FIXME_docs.
Rtime & operator+=(const Rtime &rhs)
FIXME_docs.
void SetSec(time_t sec)
FIXME_docs.
void Dump(std::ostream &os, int ind=0, const char *text=0) const
FIXME_docs.
bool operator<=(const Rtime &rhs)
FIXME_docs.
struct timespec fTime
time
bool operator>(const Rtime &rhs)
FIXME_docs.
void GetClock(clockid_t clkid)
FIXME_docs.
bool operator>=(const Rtime &rhs)
FIXME_docs.
Rtime & operator-=(const Rtime &rhs)
FIXME_docs.
Rtime()
Default constructor.
bool operator<(const Rtime &rhs)
FIXME_docs.
double ToDouble() const
FIXME_docs.
double Age(clockid_t clkid) const
FIXME_docs.
bool operator==(const Rtime &rhs)
FIXME_docs.
long NSec() const
FIXME_docs.
Declaration of class ReventLoop.
Rtime operator+(const Rtime &x, const Rtime &y)
std::ostream & operator<<(std::ostream &os, const RerrMsg &obj)
Rtime operator-(const Rtime &x, const Rtime &y)