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

/freebsd-10-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-10-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-10-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-10-stable/usr.bin/dtc/
H A Ddtc.cc330 ((double)(c1-c0))/CLOCKS_PER_SEC);
332 ((double)(c2-c1))/CLOCKS_PER_SEC);
334 ((double)(c3-c2))/CLOCKS_PER_SEC);
336 ((double)(c4-c3))/CLOCKS_PER_SEC);
338 ((double)(c4-c0))/CLOCKS_PER_SEC);
/freebsd-10-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-10-stable/contrib/expat/tests/benchmark/
H A Dbenchmark.c103 cpuTime += ((double) (tend - tstart)) / CLOCKS_PER_SEC;
/freebsd-10-stable/include/
H A Dtime.h57 #define CLOCKS_PER_SEC 128 macro
/freebsd-10-stable/contrib/ntp/sntp/libevent/test/
H A Dtest-changelist.c126 secondsUsed = (ticksEnd - timer->ticksBegin) / (double)CLOCKS_PER_SEC;
/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dlogin.c417 t *= 100 * CLOCKS_PER_SEC;
426 t *= 100 * CLOCKS_PER_SEC;
/freebsd-10-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-10-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-10-stable/sys/boot/ficl/
H A Dtestmain.c273 stackPushUNS(pVM->pStack, CLOCKS_PER_SEC);
/freebsd-10-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-10-stable/crypto/openssl/ssl/
H A Dssltest.c1093 #ifdef CLOCKS_PER_SEC
1097 * CLOCKS_PER_SEC." -- ISO/IEC 9899
1101 (double)s_time / CLOCKS_PER_SEC,
1102 (double)c_time / CLOCKS_PER_SEC);
1105 * "`CLOCKS_PER_SEC' undeclared (first use this function)" -- cc on
/freebsd-10-stable/contrib/tcsh/
H A Dsh.h345 # define HZ CLOCKS_PER_SEC
/freebsd-10-stable/contrib/less/
H A Dscreen.c855 msec_loops *= CLOCKS_PER_SEC;
/freebsd-10-stable/crypto/openssl/apps/
H A Dapps.c2771 ret = (clock() - tmstart) / (double)CLOCKS_PER_SEC;

Completed in 161 milliseconds