#include <time.hh>
|
void | _set (bool monotonic) |
| Internal time set function. More...
|
|
Definition at line 45 of file time.hh.
◆ Time() [1/6]
◆ Time() [2/6]
◆ Time() [3/6]
Time::Time |
( |
const Time & |
val | ) |
|
|
inline |
◆ Time() [4/6]
Time::Time |
( |
uint64_t |
sec, |
|
|
uint64_t |
nsec |
|
) |
| |
|
inline |
◆ Time() [5/6]
Time::Time |
( |
const timeval & |
tv | ) |
|
|
inline |
◆ Time() [6/6]
Time::Time |
( |
const timespec & |
ts | ) |
|
|
inline |
◆ _set()
void Time::_set |
( |
bool |
monotonic | ) |
|
|
protected |
◆ clear()
◆ date()
string Time::date |
( |
const std::string & |
format = "" | ) |
const |
◆ getTick()
Tick Time::getTick |
( |
| ) |
const |
◆ msec() [1/2]
long Time::msec |
( |
| ) |
const |
|
inline |
◆ msec() [2/2]
void Time::msec |
( |
long |
msec | ) |
|
|
inline |
◆ nsec() [1/2]
long Time::nsec |
( |
| ) |
const |
|
inline |
◆ nsec() [2/2]
void Time::nsec |
( |
long |
nsec | ) |
|
|
inline |
◆ operator double()
Time::operator double |
( |
| ) |
const |
|
inline |
◆ operator timespec()
Time::operator timespec |
( |
| ) |
const |
|
inline |
operators for time conversion
Definition at line 158 of file time.hh.
References _time.
◆ operator timeval()
Time::operator timeval |
( |
| ) |
const |
|
inline |
◆ operator+=()
const Time& Time::operator+= |
( |
const Time & |
other | ) |
|
|
inline |
◆ operator-=()
const Time& Time::operator-= |
( |
const Time & |
other | ) |
|
|
inline |
◆ operator=() [1/4]
const Time& Time::operator= |
( |
const Time & |
other | ) |
|
|
inline |
◆ operator=() [2/4]
const Time& Time::operator= |
( |
const timespec & |
ts | ) |
|
|
inline |
◆ operator=() [3/4]
const Time& Time::operator= |
( |
const timeval & |
tv | ) |
|
|
inline |
◆ operator=() [4/4]
const Time& Time::operator= |
( |
double |
new_time | ) |
|
|
inline |
◆ sec() [1/2]
time_t Time::sec |
( |
| ) |
const |
|
inline |
◆ sec() [2/2]
void Time::sec |
( |
time_t |
sec | ) |
|
|
inline |
◆ serialize()
void Time::serialize |
( |
const std::string & |
base, |
|
|
CheckpointOut & |
cp |
|
) |
| const |
◆ set()
void Time::set |
( |
time_t |
_sec, |
|
|
long |
_nsec |
|
) |
| |
|
inline |
◆ setTick()
void Time::setTick |
( |
Tick |
ticks | ) |
|
◆ setTimer()
◆ setWallclock()
void Time::setWallclock |
( |
| ) |
|
|
inline |
Use this to set the time to the actual current time.
Definition at line 95 of file time.hh.
References _set().
◆ time()
string Time::time |
( |
| ) |
const |
◆ unserialize()
void Time::unserialize |
( |
const std::string & |
base, |
|
|
CheckpointIn & |
cp |
|
) |
| |
◆ usec() [1/2]
long Time::usec |
( |
| ) |
const |
|
inline |
◆ usec() [2/2]
void Time::usec |
( |
long |
usec | ) |
|
|
inline |
◆ _time
◆ NSEC_PER_MSEC
const long Time::NSEC_PER_MSEC = 1000 * 1000 |
|
static |
◆ NSEC_PER_SEC
const long Time::NSEC_PER_SEC = 1000 * 1000 * 1000 |
|
static |
◆ NSEC_PER_USEC
const long Time::NSEC_PER_USEC = 1000 |
|
static |
The documentation for this class was generated from the following files: