Expand description
Time-related syscalls: clock_gettime, nanosleep
Structs§
Constants§
- CLOCK_
MONOTONIC - Clock IDs for clock_gettime (POSIX-compatible subset)
- CLOCK_
REALTIME
Functions§
- current_
time_ ns - Get current monotonic time in nanoseconds since boot.
- sys_
clock_ gettime - SYS_CLOCK_GETTIME: Get current time for the specified clock.
- sys_
nanosleep - SYS_NANOSLEEP: Sleep for a specified duration.