HomeSort by: relevance | last modified time | path
    Searched defs:clk_tck (Results 1 - 2 of 2) 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;
sysconf.c 84 static int clk_tck; local in function:__weak_alias
102 * For applications compiled when CLK_TCK was a compile-time
111 * don't grok CLK_TCK can be a macro expanding to a
114 if (clk_tck == 0) {
118 clk_tck = sysctl(mib, 2, &tmpclock, &len, NULL, 0)
121 return(clk_tck);

Completed in 12 milliseconds