CLOCKMONOTONIC
CLOCK_MONOTONIC is a clock ID used with POSIX time APIs such as clock_gettime, clock_getres, and clock_nanosleep to obtain a clock that advances monotonically. It represents time since an unspecified starting point, typically the system boot, and is not tied to the wall clock time.
A key characteristic is that CLOCK_MONOTONIC is not affected by changes to the system time or time-of-day
On many systems, CLOCK_MONOTONIC does not advance while the machine is suspended; time resumes from the moment
Usage considerations include that CLOCK_MONOTONIC is not appropriate for obtaining real-world timestamps or for scheduling events
Availability and standards: CLOCK_MONOTONIC is defined by POSIX and is widely implemented on Unix-like systems, including