sisi4s
|
#include <Time.hpp>
Public Member Functions | |
Time () | |
Time (int64_t seconds, int64_t nanoSeconds) | |
Time (Time const &t) | |
int64_t | getSeconds () const |
int64_t | getFractions () const |
double | getFractionalSeconds () const |
Time & | operator+= (Time const &t) |
Time & | operator-= (Time const &t) |
Static Public Member Functions | |
static Time | getCurrentRealTime () |
Static Public Attributes | |
static constexpr int64_t | FRACTIONS = 1000000000 |
static constexpr int | FRACTION_DIGITS = 9 |
The Time class manages time intervals and their manipulation in terms of seconds and nanoseconds. It is a wrapper of the timespec class of ctime.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |