clock_gethrtime3
Get high resolution time using the specified clock
Usage
#include <rtl_time.h>
hrtime_t clock_gethrtime(clockid_t clock);
Overview
This function is a non-portable Real-Time Linux extension. clock_gethrtime returns the clock reading in nanoseconds. This is a convenience function for clock_gettime(3)
hrtime_t is a 64-bit signed integer.
Notes
The following clocks are supported by this release of Real-Time Linux:
|
The standard POSIX clock. |
|---|---|
|
The clock that is used on non-SMP x86 systems. |
|
The local APIC clock on SMP x86 systems. |