/third_party/lame/frontend/ |
H A D | lametime.c | 51 #if !defined(CLOCKS_PER_SEC) 52 # warning Your system does not define CLOCKS_PER_SEC, guessing one... 53 # define CLOCKS_PER_SEC 1000000 macro 67 return t / (double) CLOCKS_PER_SEC; in GetCPUTime()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock/ |
H A D | 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; in main() 28 if (EXPECTEDVALUE == CLOCKS_PER_SEC) { in main()
|
H A D | 1-1.c | 10 * Dividing the return value by CLOCKS_PER_SEC gives time in seconds. 36 sec1 = (double) c1 / CLOCKS_PER_SEC; in main() 40 sec2 = (double) c2 / CLOCKS_PER_SEC; in main()
|
/third_party/ffmpeg/libavutil/ |
H A D | random_seed.c | 91 if (last_t + 2*last_td + (CLOCKS_PER_SEC > 1000) >= t) { in get_generic_seed() 97 if ((t - init_t) >= CLOCKS_PER_SEC>>5) in get_generic_seed()
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
H A D | test_bbox.c | 7 /* SunOS 4.1.* does not define CLOCKS_PER_SEC, so include <sys/param.h> */ 11 #define CLOCKS_PER_SEC HZ macro 17 return clock() * 10000L / CLOCKS_PER_SEC; in get_time()
|
/third_party/python/Modules/_decimal/libmpdec/examples/ |
H A D | sqrt.c | 61 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | multiply.c | 63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | compare.c | 63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | shift.c | 63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | div.c | 63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | pow.c | 63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | powmod.c | 65 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | divmod.c | 64 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
/third_party/NuttX/fs/nfs/ |
H A D | nfs.h | 79 #define NFS_HZ CLOCKS_PER_SEC /* Ticks/sec */
|
/third_party/python/Modules/ |
H A D | timemodule.c | 132 #ifndef CLOCKS_PER_SEC 134 # define CLOCKS_PER_SEC CLK_TCK macro 136 # define CLOCKS_PER_SEC 1000000 macro 148 /* Make sure that _PyTime_MulDiv(ticks, SEC_TO_NS, CLOCKS_PER_SEC) in _PyTime_GetClockWithInfo() 150 if ((_PyTime_t)CLOCKS_PER_SEC > _PyTime_MAX / SEC_TO_NS) { in _PyTime_GetClockWithInfo() 152 "CLOCKS_PER_SEC is too large"); in _PyTime_GetClockWithInfo() 159 info->resolution = 1.0 / (double)CLOCKS_PER_SEC; in _PyTime_GetClockWithInfo() 171 _PyTime_t ns = _PyTime_MulDiv(ticks, SEC_TO_NS, (_PyTime_t)CLOCKS_PER_SEC); in _PyTime_GetClockWithInfo()
|
H A D | xxsubtype.c | 254 return PyFloat_FromDouble((double)(t1-t0) / CLOCKS_PER_SEC); in spam_bench()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | time.h | 64 #define CLOCKS_PER_SEC 1000000L macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | time.h | 63 #define CLOCKS_PER_SEC 1000000L macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | time.h | 64 #define CLOCKS_PER_SEC 1000000L macro
|
/third_party/musl/libc-test/src/api/ |
H A D | time.c | 44 {int x = CLOCKS_PER_SEC;} in f()
|
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | bench.c | 131 fprintf(stderr, "time: %f\n\n", (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
H A D | bench_full.c | 184 printf("time: %f\n\n", (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
|
/third_party/skia/third_party/externals/expat/expat/tests/benchmark/ |
H A D | benchmark.c | 136 cpuTime += ((double)(tend - tstart)) / CLOCKS_PER_SEC; in main()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | time.h | 68 #define CLOCKS_PER_SEC 1000000L macro
|
/third_party/musl/include/ |
H A D | time.h | 65 #define CLOCKS_PER_SEC 1000000L macro
|