HomeSort by relevance Sort by last modified time
    Searched refs:clocks_per_sec (Results 1 - 2 of 2) sorted by null

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock/
2-1.c 9 * Test that CLOCKS_PER_SEC == 1,000,000 in <time.h>
12 // Applied patch from Craig Rodrigues; no longer assumes CLOCKS_PER_SEC is long
26 intmax_t clocks_per_sec = (intmax_t) CLOCKS_PER_SEC; local
28 if (EXPECTEDVALUE == CLOCKS_PER_SEC) {
33 clocks_per_sec, EXPECTEDVALUE);
  /toolchain/binutils/binutils-2.25/libiberty/
getruntime.c 64 #ifndef CLOCKS_PER_SEC
65 #define CLOCKS_PER_SEC 1
74 #ifdef CLOCKS_PER_SEC
75 #define GNU_HZ CLOCKS_PER_SEC
109 const long clocks_per_sec = CLOCKS_PER_SEC;
110 if (clocks_per_sec <= 1000000)
111 return clock () * (1000000 / clocks_per_sec);
113 return clock () / clocks_per_sec;

Completed in 499 milliseconds