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

/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dgetruntime.c64 #ifndef CLOCKS_PER_SEC
65 #define CLOCKS_PER_SEC 1 macro
74 #ifdef CLOCKS_PER_SEC
75 #define GNU_HZ CLOCKS_PER_SEC
109 const long clocks_per_sec = CLOCKS_PER_SEC;
H A Dclock.c30 @code{clock_t}; divide this number by @samp{CLOCKS_PER_SEC} to get the
61 #ifdef CLOCKS_PER_SEC
62 #define GNU_HZ CLOCKS_PER_SEC
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dgetruntime.c64 #ifndef CLOCKS_PER_SEC
65 #define CLOCKS_PER_SEC 1 macro
74 #ifdef CLOCKS_PER_SEC
75 #define GNU_HZ CLOCKS_PER_SEC
109 const long clocks_per_sec = CLOCKS_PER_SEC;
H A Dclock.c30 @code{clock_t}; divide this number by @samp{CLOCKS_PER_SEC} to get the
61 #ifdef CLOCKS_PER_SEC
62 #define GNU_HZ CLOCKS_PER_SEC
/freebsd-11-stable/lib/libc/gen/
H A Dclock.c41 * Convert usec to clock ticks; could do (usec * CLOCKS_PER_SEC) / 1000000,
44 #define CONVTCK(r) ((r).tv_sec * CLOCKS_PER_SEC \
45 + (r).tv_usec / (1000000 / CLOCKS_PER_SEC))
/freebsd-11-stable/usr.bin/dtc/
H A Ddtc.cc367 ((double)(c1-c0))/CLOCKS_PER_SEC);
369 ((double)(c2-c1))/CLOCKS_PER_SEC);
371 ((double)(c3-c2))/CLOCKS_PER_SEC);
373 ((double)(c4-c3))/CLOCKS_PER_SEC);
375 ((double)(c4-c0))/CLOCKS_PER_SEC);
/freebsd-11-stable/lib/libc/softfloat/
H A Dtimesoftfloat.c69 ( count / ( ( (float) clocks ) / CLOCKS_PER_SEC ) ) / 1000,
119 } while ( clock() - startClock < CLOCKS_PER_SEC );
146 } while ( clock() - startClock < CLOCKS_PER_SEC );
175 } while ( clock() - startClock < CLOCKS_PER_SEC );
206 } while ( clock() - startClock < CLOCKS_PER_SEC );
274 } while ( clock() - startClock < CLOCKS_PER_SEC );
301 } while ( clock() - startClock < CLOCKS_PER_SEC );
330 } while ( clock() - startClock < CLOCKS_PER_SEC );
361 } while ( clock() - startClock < CLOCKS_PER_SEC );
405 } while ( clock() - startClock < CLOCKS_PER_SEC );
[all...]
/freebsd-11-stable/contrib/expat/tests/benchmark/
H A Dbenchmark.c134 cpuTime += ((double)(tend - tstart)) / CLOCKS_PER_SEC;
/freebsd-11-stable/include/
H A Dtime.h57 #define CLOCKS_PER_SEC 128 macro
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dtest-changelist.c126 secondsUsed = (ticksEnd - timer->ticksBegin) / (double)CLOCKS_PER_SEC;
/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dlogin.c417 t *= 100 * CLOCKS_PER_SEC;
426 t *= 100 * CLOCKS_PER_SEC;
/freebsd-11-stable/contrib/gcc/
H A Dtimevar.c55 We mustn't use CLOCKS_PER_SEC except with clock(). */
110 #define CLOCKS_TO_MSEC (1 / (double)CLOCKS_PER_SEC)
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-rdp.c846 #ifdef CLOCKS_PER_SEC
847 (CLOCKS_PER_SEC >= 100)
848 ? (clock () / (CLOCKS_PER_SEC / 100))
849 : ((clock () * 100) / CLOCKS_PER_SEC);
/freebsd-11-stable/stand/ficl/
H A Dtestmain.c273 stackPushUNS(pVM->pStack, CLOCKS_PER_SEC);
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dectest.c168 # ifdef CLOCKS_PER_SEC
171 * function should be divided by the value of the macro CLOCKS_PER_SEC."
177 * "`CLOCKS_PER_SEC' undeclared (first use this function)" -- cc on
181 # define CLOCKS_PER_SEC 1
186 "base point multiplications", (double)clck / CLOCKS_PER_SEC);
190 (double)clck / CLOCKS_PER_SEC);
193 "s*P+t*Q operations", (double)clck / CLOCKS_PER_SEC);
196 (double)clck / (CLOCKS_PER_SEC * i * j));
/freebsd-11-stable/contrib/lua/src/
H A Dloslib.c184 lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC);
/freebsd-11-stable/crypto/openssl/ssl/
H A Dssltest.c1891 #ifdef CLOCKS_PER_SEC
1895 * CLOCKS_PER_SEC." -- ISO/IEC 9899
1899 (double)s_time / CLOCKS_PER_SEC,
1900 (double)c_time / CLOCKS_PER_SEC);
1903 * "`CLOCKS_PER_SEC' undeclared (first use this function)" -- cc on
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp1743 return (buffer.tms_utime + buffer.tms_cutime) / (double)CLOCKS_PER_SEC;
1969 void __kmp_elapsed_tick(double *t) { *t = 1 / (double)CLOCKS_PER_SEC; }
/freebsd-11-stable/contrib/tcsh/
H A Dsh.h344 # define HZ CLOCKS_PER_SEC
/freebsd-11-stable/contrib/less/
H A Dscreen.c894 msec_loops *= CLOCKS_PER_SEC;
/freebsd-11-stable/crypto/openssl/apps/
H A Dapps.c3038 ret = (clock() - tmstart) / (double)CLOCKS_PER_SEC;

Completed in 305 milliseconds