A simple TimeStamp abstraction.
More...
#include <TimeStamp.hh>
A simple TimeStamp abstraction.
Definition at line 20 of file TimeStamp.hh.
◆ TimeStamp() [1/2]
◆ TimeStamp() [2/2]
TimeStamp::TimeStamp |
( |
unsigned int |
seconds, |
|
|
unsigned int |
microSeconds = 0 |
|
) |
| |
Constructs a TimeStamp representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC).
◆ getMicroSeconds()
int TimeStamp::getMicroSeconds |
( |
| ) |
const |
|
inline |
Returns the subsecond part of the TimeStamp in microseconds.
The actual precision of this value depends on the platform and may be in the order of milliseconds rather than microseconds.
Definition at line 53 of file TimeStamp.hh.
◆ getMilliSeconds()
int TimeStamp::getMilliSeconds |
( |
| ) |
const |
|
inline |
◆ getSeconds()
int TimeStamp::getSeconds |
( |
| ) |
const |
|
inline |
◆ getStartTime()
static const TimeStamp& TimeStamp::getStartTime |
( |
| ) |
|
|
inlinestatic |
Returns a TimeStamp representing the time at which the application started.
Definition at line 61 of file TimeStamp.hh.
◆ _microSeconds
int TimeStamp::_microSeconds |
|
protected |
◆ _seconds
◆ _startStamp
The documentation for this class was generated from the following file: