Go to the documentation of this file.
21 #ifndef WALLCLOCKTIMER_H
22 #define WALLCLOCKTIMER_H 1
42 std::uint32_t elapsed()
const;
49 std::uint64_t startTimer;
56 #endif // WALLCLOCKTIMER_H
std::uint32_t elapsed() const
Return time elapsed in milliseconds since construction or last call to ::restart()
Definition: WallClockTimer.cpp:39
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
General-purpose wall-clock timer.
Definition: WallClockTimer.h:32
DSOEXPORT std::uint64_t getTicks()
Wall clock timer, returns current POSIX time in milliseconds.
Definition: ClockTime.cpp:61
WallClockTimer()
Construct a wall-clock timer.
Definition: WallClockTimer.cpp:26
void restart()
Restart the timer.
Definition: WallClockTimer.cpp:33
#define DSOEXPORT
Definition: dsodefs.h:55