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_boot

Function Documentation

uint64_t rc_nanos_since_boot(void)

Returns the number of nanoseconds since system boot using CLOCK_MONOTONIC.

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

Returns

nanoseconds since system boot