hmbdc
simplify-high-performance-messaging-programming
|
Public Member Functions | |
Duration (int64_t sec, int64_t usec=0, int64_t nsec=0) | |
int64_t | microseconds () const |
int64_t | nanoseconds () const |
operator bool () const | |
bool | operator< (Duration const &other) const |
bool | operator> (Duration const &other) const |
bool | operator== (Duration const &other) const |
bool | operator>= (Duration const &other) const |
bool | operator<= (Duration const &other) const |
Duration & | operator+= (Duration const &other) |
Duration | operator- () const |
Duration | operator- (Duration const &other) const |
Duration | operator+ (Duration const &other) const |
Duration & | operator-= (Duration const &other) |
double | operator/ (Duration const &other) const |
Duration | operator* (int64_t m) const |
Duration | operator/ (int64_t const &d) const |
Duration | operator% (Duration const &d) const |
Static Public Member Functions | |
static Duration | seconds (int64_t sec) |
static Duration | microseconds (int64_t usec) |
static Duration | nanoseconds (int64_t nsec) |
Friends | |
struct | SysTime |
std::ostream & | operator<< (std::ostream &os, Duration const &d) |
std::istream & | operator>> (std::istream &is, Duration &d) |