Function rc_timespec_to_micros#

Function Documentation#

uint64_t rc_timespec_to_micros(timespec ts)#

Returns a number of microseconds corresponding to a timespec struct.

Useful because timespec structs are annoying.

Parameters:

ts[in] timespec struct to convert

Returns:

time in microseconds