Searched refs:CLK_TCK (Results 1 - 17 of 17) sorted by last modified time

/netbsd-current/lib/libc/compat/include/
H A Dtime.h45 #define CLK_TCK 100 macro
/netbsd-current/include/
H A Dtime.h108 * CLK_TCK uses libc's internal __sysconf() to retrieve the machine's
113 #define CLK_TCK (__sysconf(39)) macro
/netbsd-current/usr.sbin/timed/timed/
H A Dtimed.c708 # define NG_DELAY (30*60*CLK_TCK) /* 30 minutes */
H A Dglobals.h58 * This is essentially the number of milliseconds per CPU tick (CLK_TCK?).
61 #define MIN_ROUND ((1000-1)/CLK_TCK)
H A Dreadmsg.c182 && rwait.tv_usec < 1000000/CLK_TCK)
183 rwait.tv_usec = 1000000/CLK_TCK;
H A Dmaster.c510 next_time = this_time + CLK_TCK;
568 prthp((clock_t)CLK_TCK);
702 prthp((clock_t)CLK_TCK);
708 prthp((clock_t)CLK_TCK);
815 prthp((clock_t)CLK_TCK);
824 prthp((clock_t)CLK_TCK);
/netbsd-current/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dtime_1.h62 # if defined (HAVE_TIMES) && (defined (HZ) || defined (_SC_CLK_TCK) || defined (CLK_TCK))
73 # define HZ CLK_TCK
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dtimevar.cc50 # ifdef CLK_TCK
51 # define TICKS_PER_SECOND CLK_TCK /* POSIX 1003.1-1988; obsolescent */
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Dapps.c2301 now = (clock_t)((unsigned long long)tv.tv_sec * CLK_TCK +
2302 (unsigned long long)tv.tv_usec * (1000000 / CLK_TCK)
2309 ret = (now - tmstart) / (double)(CLK_TCK);
/netbsd-current/external/gpl3/gdb.old/dist/gold/
H A Dtimer.cc66 # ifdef CLK_TCK
67 # define TICKS_PER_SECOND CLK_TCK /* POSIX 1003.1-1988; obsolescent */
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dtime_1.h62 # if defined (HAVE_TIMES) && (defined (HZ) || defined (_SC_CLK_TCK) || defined (CLK_TCK))
73 # define HZ CLK_TCK
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dtimevar.c50 # ifdef CLK_TCK
51 # define TICKS_PER_SECOND CLK_TCK /* POSIX 1003.1-1988; obsolescent */
/netbsd-current/external/gpl3/binutils.old/dist/gold/
H A Dtimer.cc66 # ifdef CLK_TCK
67 # define TICKS_PER_SECOND CLK_TCK /* POSIX 1003.1-1988; obsolescent */
/netbsd-current/external/gpl3/binutils/dist/gold/
H A Dtimer.cc66 # ifdef CLK_TCK
67 # define TICKS_PER_SECOND CLK_TCK /* POSIX 1003.1-1988; obsolescent */
/netbsd-current/external/lgpl3/gmp/dist/tune/
H A Dtime.c521 just CLK_TCK, where possible. */
539 "sysconf(_SC_CLK_TCK) not working, using CLK_TCK instead\n");
542 #ifdef CLK_TCK
543 result = CLK_TCK;
545 printf ("CLK_TCK is %ld per second\n", result);
548 fprintf (stderr, "CLK_TCK not defined, cannot continue\n");
/netbsd-current/bin/ksh/
H A Dc_sh.c825 if (CLK_TCK != 100) /* convert to 1/100'ths */
826 t = (t < (clock_t)(1000000000/CLK_TCK)) ?
827 (t * 100) / CLK_TCK : (t / CLK_TCK) * 100;
/netbsd-current/lib/libc/gen/
H A Dtimes.c52 * Convert usec to clock ticks; could do (usec * CLK_TCK) / 1000000,
75 * we use a local copy of CLK_TCK because it expands to a
79 clk_tck = (clock_t)CLK_TCK;

Completed in 257 milliseconds