Function rc_timeval_to_millis#

Function Documentation#

uint64_t rc_timeval_to_millis(timeval tv)#

Returns a number of milliseconds corresponding to a timeval struct.

Useful because timespec structs are annoying.

Parameters:

tv[in] timeval struct to convert

Returns:

time in microseconds