mirror of https://github.com/mkerrisk/man-pages
clock_getres.2: On Linux CLOCK_MONOTONIC counts time that the system has run since boot
Reported-by: Jens Thoms Toerring <jt@toerring.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
bccacb94dd
commit
7d882a4a2a
|
@ -138,9 +138,14 @@ and probably also architecture support for this flag in the
|
|||
.BR vdso (7).
|
||||
.TP
|
||||
.B CLOCK_MONOTONIC
|
||||
Clock that cannot be set and represents monotonic time since
|
||||
some unspecified starting point.
|
||||
This clock is not affected by discontinuous jumps in the system time
|
||||
Clock that cannot be set and represents monotonic time since\(emas described
|
||||
by POSIX\(em"some unspecified point in the past".
|
||||
On Linux, that point corresponds to the number of seconds that the system
|
||||
has been running since it was booted.
|
||||
.IP
|
||||
The
|
||||
.B CLOCK_MONOTONIC
|
||||
clock is not affected by discontinuous jumps in the system time
|
||||
(e.g., if the system administrator manually changes the clock),
|
||||
but is affected by the incremental adjustments performed by
|
||||
.BR adjtime (3)
|
||||
|
|
Loading…
Reference in New Issue