Function rc_timeval_to_micros#

Function Documentation#

uint64_t rc_timeval_to_micros(timeval tv)#

Returns a number of microseconds corresponding to a timeval struct.

Useful because timeval structs are annoying.

Parameters:

tv[in] timeval struct to convert

Returns:

time in microseconds