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