|
automotive-message-broker
0.14.803
|
The Timestamp class provides system time and monotonic time helper functions Timestamp is meant to be a singleton class. Access through instance(). More...
#include <timestamp.h>
Public Member Functions | |
| double | currentTime () |
| currentTime | |
| double | currentTime (double time) |
| double | epochTime (double time) |
| epochTime | |
| double | epochTime () |
| epochTime | |
Static Public Member Functions | |
| static double | fromTimeval (const struct::timeval &tv) |
| static struct::timeval | toTimeval (const double time) |
| static struct::bcm_timeval | toBcmTimeval (const double time) |
| static Timestamp * | instance () |
| instance | |
The Timestamp class provides system time and monotonic time helper functions Timestamp is meant to be a singleton class. Access through instance().
| double amb::Timestamp::currentTime | ( | ) |
currentTime
| double amb::Timestamp::epochTime | ( | double | time | ) |
epochTime
| time | monotonic time usually from currentTime() |
| double amb::Timestamp::epochTime | ( | ) |
epochTime
1.8.2