
А можете ли да ми кажете как трябва да достъпя този метод/фунцкия през CLI - sysconf(_SC_CLK_TCK) ?
Нещо не се получава с този параметър _SC_CLK_TCK
[man 7 time // http://man7.org/linux/man-pages/man7/time.7.html]
"The value of USER_HZ varies across kernel versions and hardware platforms.
On i386 the situation is as follows: on kernels up to and including
2.4.x, HZ was 100, giving a jiffy value of 0.01 seconds; starting
with 2.6.0, HZ was raised to 1000, giving a jiffy of 0.001 seconds.
Since kernel 2.6.13, the HZ value is a kernel configuration parameter
and can be 100, 250 (the default) or 1000, yielding a jiffies value
of, respectively, 0.01, 0.004, or 0.001 seconds. Since kernel
2.6.20, a further frequency is available: 300, a number that divides
evenly for the common video frame rates (PAL, 25 HZ; NTSC, 30 HZ)."
You can use sysconf(_SC_CLK_TCK) to obtain the value in your system.