Home
last modified time | relevance | path

Searched refs:CLOCKS_PER_SEC (Results 1 - 25 of 39) sorted by relevance

12

/third_party/lame/frontend/
H A Dlametime.c51 #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 D2-1.c9 * 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 D1-1.c10 * 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 Drandom_seed.c91 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 Dtest_bbox.c7 /* 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 Dsqrt.c61 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Dmultiply.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Dcompare.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Dshift.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Ddiv.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Dpow.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Dpowmod.c65 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Ddivmod.c64 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
/third_party/NuttX/fs/nfs/
H A Dnfs.h79 #define NFS_HZ CLOCKS_PER_SEC /* Ticks/sec */
/third_party/python/Modules/
H A Dtimemodule.c132 #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 Dxxsubtype.c254 return PyFloat_FromDouble((double)(t1-t0) / CLOCKS_PER_SEC); in spam_bench()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtime.h64 #define CLOCKS_PER_SEC 1000000L macro
/third_party/musl/porting/liteos_m/user/include/
H A Dtime.h63 #define CLOCKS_PER_SEC 1000000L macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtime.h64 #define CLOCKS_PER_SEC 1000000L macro
/third_party/musl/libc-test/src/api/
H A Dtime.c44 {int x = CLOCKS_PER_SEC;} in f()
/third_party/python/Modules/_decimal/libmpdec/
H A Dbench.c131 fprintf(stderr, "time: %f\n\n", (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
H A Dbench_full.c184 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 Dbenchmark.c136 cpuTime += ((double)(tend - tstart)) / CLOCKS_PER_SEC; in main()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dtime.h68 #define CLOCKS_PER_SEC 1000000L macro
/third_party/musl/include/
H A Dtime.h65 #define CLOCKS_PER_SEC 1000000L macro

Completed in 10 milliseconds

12