Home
last modified time | relevance | path

Searched refs:CLOCKS_PER_SEC (Results 1 – 25 of 48) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D3-2-buildonly.c13 #ifndef CLOCKS_PER_SEC
14 #error CLOCKS_PER_SEC not defined
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock/
D2-1.c26 intmax_t clocks_per_sec = (intmax_t) CLOCKS_PER_SEC; in main()
28 if (EXPECTEDVALUE == CLOCKS_PER_SEC) { in main()
D1-1.c36 sec1 = (double) c1 / CLOCKS_PER_SEC; in main()
40 sec2 = (double) c2 / CLOCKS_PER_SEC; in main()
/third_party/libsnd/tests/
Dbenchmark.tpl159 while (clock_time < (CLOCKS_PER_SEC * TEST_DURATION))
180 stats->write_rate *= (1.0 * CLOCKS_PER_SEC) / clock_time ;
191 while (clock_time < (CLOCKS_PER_SEC * TEST_DURATION))
212 stats->read_rate *= (1.0 * CLOCKS_PER_SEC) / clock_time ;
254 while (clock_time < (CLOCKS_PER_SEC * TEST_DURATION))
278 performance *= (1.0 * CLOCKS_PER_SEC) / clock_time ;
289 while (clock_time < (CLOCKS_PER_SEC * TEST_DURATION))
310 performance *= (1.0 * CLOCKS_PER_SEC) / clock_time ;
/third_party/ffmpeg/libavutil/
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/mtdev/test/
Dmtdev-matching.c123 ITS * ((float)CLOCKS_PER_SEC / (t2 - t1))); in speed1()
155 ITS * ((float)CLOCKS_PER_SEC / (t2 - t1))); in speed2()
/third_party/freetype/src/tools/
Dtest_bbox.c11 #define CLOCKS_PER_SEC HZ macro
17 return clock() * 10000L / CLOCKS_PER_SEC; in get_time()
/third_party/skia/third_party/externals/freetype/src/tools/
Dtest_bbox.c11 #define CLOCKS_PER_SEC HZ macro
17 return clock() * 10000L / CLOCKS_PER_SEC; in get_time()
/third_party/flutter/skia/third_party/externals/freetype/src/tools/
Dtest_bbox.c12 #define CLOCKS_PER_SEC HZ macro
18 return clock() * 10000L / CLOCKS_PER_SEC; in get_time()
/third_party/python/Modules/_decimal/libmpdec/examples/
Dsqrt.c61 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
Dcompare.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
Dmultiply.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
Dpow.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
Dshift.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
Ddiv.c63 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
Dpowmod.c65 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
Ddivmod.c64 (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
/third_party/NuttX/fs/nfs/
Dnfs.h79 #define NFS_HZ CLOCKS_PER_SEC /* Ticks/sec */
/third_party/skia/third_party/externals/expat/expat/tests/benchmark/
Dbenchmark.c136 cpuTime += ((double)(tend - tstart)) / CLOCKS_PER_SEC; in main()
/third_party/python/Modules/
Dtimemodule.c119 #ifndef CLOCKS_PER_SEC
121 # define CLOCKS_PER_SEC CLK_TCK macro
123 # define CLOCKS_PER_SEC 1000000 macro
138 if ((_PyTime_t)CLOCKS_PER_SEC > _PyTime_MAX / SEC_TO_NS) { in _PyTime_GetClockWithInfo()
147 info->resolution = 1.0 / (double)CLOCKS_PER_SEC; in _PyTime_GetClockWithInfo()
159 *tp = _PyTime_MulDiv(ticks, SEC_TO_NS, (_PyTime_t)CLOCKS_PER_SEC); in _PyTime_GetClockWithInfo()
/third_party/libxml2/
DtestSAX.c142 #ifndef CLOCKS_PER_SEC
143 #define CLOCKS_PER_SEC 100 macro
159 msec = ((end - begin) * 1000) / CLOCKS_PER_SEC; in endTimer()
/third_party/python/Modules/_decimal/libmpdec/
Dbench.c131 fprintf(stderr, "time: %f\n\n", (double)(end_clock-start_clock)/(double)CLOCKS_PER_SEC); in main()
/third_party/musl/libc-test/src/api/
Dtime.c44 {int x = CLOCKS_PER_SEC;} in f()
/third_party/musl/porting/uniproton/kernel/include/
Dtime.h64 #define CLOCKS_PER_SEC 1000000L macro
/third_party/musl/porting/liteos_m/user/include/
Dtime.h63 #define CLOCKS_PER_SEC 1000000L macro

12