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_nanos_since_epoch

Function Documentation

uint64_t rc_nanos_since_epoch(void)

Returns the number of nanoseconds since epoch using system CLOCK_REALTIME.

This function itself takes about 1100ns to complete on a beaglebone at 1ghz under ideal circumstances.

Returns

nanoseconds since epoch