Timing policy for fake measurement with a static settable clock.
This clock is always stopped!
#include <StaticPolicy.h>
Static Public Member Functions | |
static void | setTime (double time) |
Sets the clock to a certain point in time. More... | |
static void | addTime (double time) |
Adds a certain amount of seconds to the clock. More... | |
Timing functions | |
static double | getTimestamp () |
Returns a timestamp of the current wall clock time in seconds. More... | |
Static Private Attributes | |
static double | time_ = 0 |
|
inlinestatic |
Adds a certain amount of seconds to the clock.
time | Time in seconds |
|
inlinestatic |
Returns a timestamp of the current wall clock time in seconds.
|
inlinestatic |
Sets the clock to a certain point in time.
time | Time in seconds |
|
staticprivate |