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_millis

Function Documentation

uint64_t rc_timespec_to_millis(timespec ts)

Returns a number of milliseconds corresponding to a timespec struct.

Useful because timespec structs are annoying.


ts[in] timespec struct to convert


time in milliseconds