OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / clock_getres.2
index 1e94b32..9c9c45a 100644 (file)
@@ -27,7 +27,7 @@
 .\" 2003-08-24 aeb, large parts rewritten
 .\" 2004-08-06 Christoph Lameter <clameter@sgi.com>, SMP note
 .\"
-.TH CLOCK_GETRES 2 2013-09-04 "" "Linux Programmer's Manual"
+.TH CLOCK_GETRES 2 2013-12-28 "" "Linux Programmer's Manual"
 .SH NAME
 clock_getres, clock_gettime, clock_settime \- clock and time functions
 .SH SYNOPSIS
@@ -172,7 +172,8 @@ which may have discontinuities if the time is changed using
 .BR settimeofday (2).
 .TP
 .BR CLOCK_PROCESS_CPUTIME_ID " (since Linux 2.6.12)"
-High-resolution per-process timer from the CPU.
+Per-process CPU-time clock
+(measures CPU time consumed by all threads in the process).
 .TP
 .BR CLOCK_THREAD_CPUTIME_ID " (since Linux 2.6.12)"
 Thread-specific CPU-time clock.
@@ -234,10 +235,10 @@ these clocks may return
 .B bogus results
 if a process is migrated to another CPU.
 .PP
-If the CPUs in an SMP system have different clock sources then
+If the CPUs in an SMP system have different clock sources, then
 there is no way to maintain a correlation between the timer registers since
 each CPU will run at a slightly different frequency.
-If that is the case then
+If that is the case, then
 .I clock_getcpuclockid(0)
 will return
 .B ENOENT
@@ -284,3 +285,12 @@ On Linux, these clocks are not settable
 .BR pthread_getcpuclockid (3),
 .BR sysconf (3),
 .BR time (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.