Bug#284988: glibc-doc: CLK_TCK not same as CLOCKS_PER_SEC
Package: glibc-doc
Version: 2.3.2.ds1-18
Severity: normal
In the "CPU Time" node, CLK_TCK is described as an obsolete name for
CLOCKS_PER_SEC. But in Debian (i386 at least) the two are not the
same, eg.
#include <time.h>
main () { printf ("%d %d\n", CLK_TCK, CLOCKS_PER_SEC); }
shows 100 and 1000000.
Perhaps CLK_TCK should move to the "Processor Time" node, since if I'm
not mistaken times() is in units of CLK_TCK per second.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.4.25-1-k6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
-- no debconf information
Reply to: