Functions for measuring times at microsecond precision.
Definition at line 15 of file VuoTimeUtilities.hh.
Static Public Member Functions | |
static double | getCurrentTimeInSeconds (void) |
Returns a floating-point representation of the number of seconds since 1970 (the Unix Epoch). | |
static struct timeval | getCurrentTime (void) |
Returns a structure containing the number of seconds and microseconds since 1970 (the Unix Epoch). | |
static struct timeval | getElapsedTime (const struct timeval &start, const struct timeval &end) |
Returns a structure containing the number of seconds and microseconds elapsed between start and end . | |
static string | getCurrentDateTimeForFileName (void) |
Returns the current timestamp, at millisecond resolution, formatted for use as part of a file name. | |
|
static |
Returns the current timestamp, at millisecond resolution, formatted for use as part of a file name.
Definition at line 50 of file VuoTimeUtilities.cc.
|
static |
Returns a structure containing the number of seconds and microseconds since 1970 (the Unix Epoch).
Definition at line 28 of file VuoTimeUtilities.cc.
|
static |
Returns a floating-point representation of the number of seconds since 1970 (the Unix Epoch).
Definition at line 19 of file VuoTimeUtilities.cc.
|
static |
Returns a structure containing the number of seconds and microseconds elapsed between start
and end
.
Definition at line 38 of file VuoTimeUtilities.cc.