HomeSort by: relevance | last modified time | path
    Searched refs:clk_tck (Results 1 - 5 of 5) 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
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
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);
  /src/external/lgpl3/gmp/dist/tune/
time.c 521 just CLK_TCK, where possible. */
523 clk_tck (void) function
539 "sysconf(_SC_CLK_TCK) not working, using CLK_TCK instead\n");
542 #ifdef CLK_TCK
543 result = CLK_TCK;
545 printf ("CLK_TCK is %ld per second\n", result);
548 fprintf (stderr, "CLK_TCK not defined, cannot continue\n");
590 half_tick = (1000000L / clk_tck ()) / 2; \
630 name, unittime_string (1.0/clk_tck())); \
1038 supplement_unittime = grus_unittime = 1.0 / (double) clk_tck ();
    [all...]
freq.c 204 number of CPU cycles (ie. the CR16 register) per CLK_TCK. HPUX 9 doesn't
218 long c = clk_tck();
221 printf ("Using pstat_getprocessor() psp_iticksperclktick %lu and clk_tck %ld for cycle time %.3g\n",
speed.h 459 long clk_tck (void);
549 time. Use CLK_TCK/2 as a reasonable stop.
564 half_tick = (1000000L / clk_tck()) / 2; \

Completed in 22 milliseconds