This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

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