mirror of https://github.com/mkerrisk/man-pages
clock_getres.2: Note that CPU-time clocks are not settable.
Explicitly note that CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_CPUTIME_ID are not settable. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a215069794
commit
71b7e2a5dc
|
@ -203,9 +203,11 @@ or similar.
|
||||||
.BR CLOCK_PROCESS_CPUTIME_ID " (since Linux 2.6.12)"
|
.BR CLOCK_PROCESS_CPUTIME_ID " (since Linux 2.6.12)"
|
||||||
Per-process CPU-time clock
|
Per-process CPU-time clock
|
||||||
(measures CPU time consumed by all threads in the process).
|
(measures CPU time consumed by all threads in the process).
|
||||||
|
On Linux, this clock is not settable.
|
||||||
.TP
|
.TP
|
||||||
.BR CLOCK_THREAD_CPUTIME_ID " (since Linux 2.6.12)"
|
.BR CLOCK_THREAD_CPUTIME_ID " (since Linux 2.6.12)"
|
||||||
Thread-specific CPU-time clock.
|
Thread-specific CPU-time clock.
|
||||||
|
On Linux, this clock is not settable.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
.BR clock_gettime (),
|
.BR clock_gettime (),
|
||||||
.BR clock_settime (),
|
.BR clock_settime (),
|
||||||
|
|
Loading…
Reference in New Issue