Vuo  0.5.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | List of all members
VuoTimeUtilities Class Reference

Description

Functions for measuring times at microsecond precision.

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 void printTime (const struct timeval &time)
 Prints time to stdout.
 

Member Function Documentation

struct timeval VuoTimeUtilities::getCurrentTime ( void  )
staticread

Returns a structure containing the number of seconds and microseconds since 1970 (the Unix Epoch).

double VuoTimeUtilities::getCurrentTimeInSeconds ( void  )
static

Returns a floating-point representation of the number of seconds since 1970 (the Unix Epoch).

struct timeval VuoTimeUtilities::getElapsedTime ( const struct timeval &  start,
const struct timeval &  end 
)
staticread

Returns a structure containing the number of seconds and microseconds elapsed between start and end.

void VuoTimeUtilities::printTime ( const struct timeval &  time)
static

Prints time to stdout.


The documentation for this class was generated from the following files: