HomeSort by: relevance | last modified time | path
    Searched refs:CLK_TCK (Results 1 - 8 of 8) sorted by relevancy

  /src/lib/libc/gen/
times.c 52 * Convert usec to clock ticks; could do (usec * CLK_TCK) / 1000000,
56 (clock_t)(r.tv_sec * clk_tck + r.tv_usec / (1000000 / (uint)clk_tck))
70 static clock_t clk_tck; local in function:times
75 * we use a local copy of CLK_TCK because it expands to a
78 if (clk_tck == 0)
79 clk_tck = (clock_t)CLK_TCK;
  /src/lib/libc/compat/include/
time.h 45 #define CLK_TCK 100
  /src/usr.sbin/timed/timed/
master.c 510 next_time = this_time + CLK_TCK;
568 prthp((clock_t)CLK_TCK);
702 prthp((clock_t)CLK_TCK);
708 prthp((clock_t)CLK_TCK);
815 prthp((clock_t)CLK_TCK);
824 prthp((clock_t)CLK_TCK);
globals.h 58 * This is essentially the number of milliseconds per CPU tick (CLK_TCK?).
61 #define MIN_ROUND ((1000-1)/CLK_TCK)
readmsg.c 182 && rwait.tv_usec < 1000000/CLK_TCK)
183 rwait.tv_usec = 1000000/CLK_TCK;
timed.c 706 # define NG_DELAY (30*60*CLK_TCK) /* 30 minutes */
  /src/bin/ksh/
c_sh.c 822 /* note: posix says must use max precision, ie, if clk_tck is
825 if (CLK_TCK != 100) /* convert to 1/100'ths */
826 t = (t < (clock_t)(1000000000/CLK_TCK)) ?
827 (t * 100) / CLK_TCK : (t / CLK_TCK) * 100;
  /src/include/
time.h 108 * CLK_TCK uses libc's internal __sysconf() to retrieve the machine's
113 #define CLK_TCK (__sysconf(39))

Completed in 14 milliseconds