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

/freebsd-current/lib/libc/gen/
H A Dclock.c37 * Convert usec to clock ticks; could do (usec * CLOCKS_PER_SEC) / 1000000,
40 #define CONVTCK(r) ((r).tv_sec * CLOCKS_PER_SEC \
41 + (r).tv_usec / (1000000 / CLOCKS_PER_SEC))
/freebsd-current/usr.bin/dtc/
H A Ddtc.cc368 ((double)(c1-c0))/CLOCKS_PER_SEC);
370 ((double)(c2-c1))/CLOCKS_PER_SEC);
372 ((double)(c3-c2))/CLOCKS_PER_SEC);
374 ((double)(c4-c3))/CLOCKS_PER_SEC);
376 ((double)(c4-c0))/CLOCKS_PER_SEC);
/freebsd-current/lib/libc/softfloat/
H A Dtimesoftfloat.c66 ( count / ( ( (float) clocks ) / CLOCKS_PER_SEC ) ) / 1000,
116 } while ( clock() - startClock < CLOCKS_PER_SEC );
143 } while ( clock() - startClock < CLOCKS_PER_SEC );
172 } while ( clock() - startClock < CLOCKS_PER_SEC );
203 } while ( clock() - startClock < CLOCKS_PER_SEC );
271 } while ( clock() - startClock < CLOCKS_PER_SEC );
298 } while ( clock() - startClock < CLOCKS_PER_SEC );
327 } while ( clock() - startClock < CLOCKS_PER_SEC );
358 } while ( clock() - startClock < CLOCKS_PER_SEC );
402 } while ( clock() - startClock < CLOCKS_PER_SEC );
[all...]
/freebsd-current/contrib/capsicum-test/
H A Doverhead.cc18 return (t1 - t0) / (double)CLOCKS_PER_SEC;
/freebsd-current/sys/contrib/zstd/programs/
H A Dtimefn.c141 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (clockEnd - clockStart) / CLOCKS_PER_SEC; }
142 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (clockEnd - clockStart) / CLOCKS_PER_SEC; }
H A Dfileio.c1647 double const cpuLoad_s = (double)(cpuEnd - cpuStart) / CLOCKS_PER_SEC;
/freebsd-current/contrib/expat/tests/benchmark/
H A Dbenchmark.c140 cpuTime += ((double)(tend - tstart)) / CLOCKS_PER_SEC;
/freebsd-current/include/
H A Dtime.h57 #define CLOCKS_PER_SEC 128 macro
/freebsd-current/contrib/bearssl/test/
H A Dtest_speed.c62 tt = (double)(end - begin) / CLOCKS_PER_SEC; \
113 tt = (double)(end - begin) / CLOCKS_PER_SEC; \
162 tt = (double)(end - begin) / CLOCKS_PER_SEC; \
208 tt = (double)(end - begin) / CLOCKS_PER_SEC; \
306 tt = (double)(end - begin) / CLOCKS_PER_SEC;
406 tt = (double)(end - begin) / CLOCKS_PER_SEC;
495 tt = (double)(end - begin) / CLOCKS_PER_SEC;
559 tt = (double)(end - begin) / CLOCKS_PER_SEC;
587 tt = (double)(end - begin) / CLOCKS_PER_SEC;
791 tt = (double)(end - begin) / CLOCKS_PER_SEC;
[all...]
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dtest-changelist.c126 secondsUsed = (ticksEnd - timer->ticksBegin) / (double)CLOCKS_PER_SEC;
/freebsd-current/contrib/libevent/test/
H A Dtest-changelist.c126 secondsUsed = (ticksEnd - timer->ticksBegin) / (double)CLOCKS_PER_SEC;
/freebsd-current/crypto/heimdal/appl/login/
H A Dlogin.c417 t *= 100 * CLOCKS_PER_SEC;
426 t *= 100 * CLOCKS_PER_SEC;
/freebsd-current/stand/ficl/
H A Dtestmain.c272 stackPushUNS(pVM->pStack, CLOCKS_PER_SEC);
/freebsd-current/contrib/lua/src/
H A Dloslib.c187 lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC);
/freebsd-current/contrib/cortex-strings/benchmarks/dhry/
H A Ddhry_1.c771 #define HZ CLOCKS_PER_SEC
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/
H A Dfastcover.c71 static const clock_t g_refreshRate = CLOCKS_PER_SEC * 15 / 100;
H A Dzdict.c556 clock_t const refreshRate = CLOCKS_PER_SEC * 3 / 10;
H A Dcover.c74 static const clock_t g_refreshRate = CLOCKS_PER_SEC * 15 / 100;
/freebsd-current/crypto/openssl/test/
H A Dssl_old_test.c1877 #ifdef CLOCKS_PER_SEC
1881 * CLOCKS_PER_SEC." -- ISO/IEC 9899
1885 (double)s_time / CLOCKS_PER_SEC,
1886 (double)c_time / CLOCKS_PER_SEC);
/freebsd-current/contrib/tcsh/
H A Dsh.h344 # define HZ CLOCKS_PER_SEC
/freebsd-current/sys/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c18 #include <time.h> /* clock_t, clock, CLOCKS_PER_SEC */
84 static const clock_t refreshRate = CLOCKS_PER_SEC * 15 / 100;
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp1797 (double)CLOCKS_PER_SEC;
2044 void __kmp_elapsed_tick(double *t) { *t = 1 / (double)CLOCKS_PER_SEC; }
/freebsd-current/contrib/less/
H A Dscreen.c950 msec_loops *= CLOCKS_PER_SEC;
/freebsd-current/contrib/expat/tests/
H A Dbasic_tests.c5237 if (CLOCKS_PER_SEC < 100000) {

Completed in 388 milliseconds