| /freebsd-9-stable/tools/tools/netrate/netsend/ |
| D | netsend.c | 104 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) { in wait_time() 115 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) { in wait_time() 146 if (clock_getres(CLOCK_REALTIME, &tmptime) == -1) { in timing_loop() 163 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in timing_loop() 229 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) { in timing_loop()
|
| /freebsd-9-stable/tools/tools/netrate/netblast/ |
| D | netblast.c | 80 if (clock_getres(CLOCK_REALTIME, &tmptime) == -1) { in blast_loop() 85 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in blast_loop() 122 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) { in blast_loop()
|
| /freebsd-9-stable/contrib/openbsm/compat/ |
| D | clock_gettime.h | 38 #define CLOCK_REALTIME 0x2d4e1588 macro 45 if (clock_id != CLOCK_REALTIME) { in clock_gettime()
|
| /freebsd-9-stable/tools/tools/netrate/juggle/ |
| D | juggle.c | 253 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) in juggle() 277 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) in juggle() 355 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) in thread_juggle() 370 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) in thread_juggle() 428 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) in process_juggle() 451 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) in process_juggle()
|
| /freebsd-9-stable/tools/regression/priv/ |
| D | priv_clock_settime.c | 53 if (clock_gettime(CLOCK_REALTIME, &the_time) < 0) { in priv_clock_settime_setup() 66 error = clock_settime(CLOCK_REALTIME, &the_time); in priv_clock_settime()
|
| /freebsd-9-stable/contrib/gcclibs/libgomp/config/posix/ |
| D | time.c | 56 clock_gettime (CLOCK_REALTIME, &ts); in omp_get_wtime() 73 clock_getres (CLOCK_REALTIME, &ts); in omp_get_wtick()
|
| /freebsd-9-stable/include/ |
| D | time.h | 99 #if !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 100 #define CLOCK_REALTIME 0 macro
|
| /freebsd-9-stable/usr.bin/truss/ |
| D | main.c | 287 clock_gettime(CLOCK_REALTIME, &trussinfo->start_time); in main() 295 clock_gettime(CLOCK_REALTIME, in main() 299 clock_gettime(CLOCK_REALTIME, in main()
|
| /freebsd-9-stable/lib/libc/isc/ |
| D | ev_timers.c | 122 #ifdef CLOCK_REALTIME in evNowTime() 124 int m = CLOCK_REALTIME; in evNowTime() 141 #ifdef CLOCK_REALTIME in evUTCTime() 143 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
|
| /freebsd-9-stable/contrib/ntp/libntp/ |
| D | adjtime.c | 317 if (ClockPeriod (CLOCK_REALTIME, 0, &period, 0) < 0) in adjtime() 357 if (ClockAdjust (CLOCK_REALTIME, &adj, &oldadj) < 0) in adjtime()
|
| /freebsd-9-stable/contrib/ntp/util/ |
| D | sht.c | 201 #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_REALTIME) in main() 207 if (0 == clock_gettime(CLOCK_REALTIME, &tmptime)) { in main()
|
| D | jitter.c | 103 clock_gettime(CLOCK_REALTIME, &ts); in get_systime()
|
| /freebsd-9-stable/contrib/openbsm/bin/auditfilterd/ |
| D | auditfilterd.c | 205 if (clock_gettime(CLOCK_REALTIME, &ts) < 0) in mainloop_file() 255 if (clock_gettime(CLOCK_REALTIME, &ts) < 0) in mainloop_pipe()
|
| /freebsd-9-stable/tools/regression/gaithrstress/ |
| D | gaithrstress.c | 125 (void)clock_gettime(CLOCK_REALTIME, &ts_begintime); in work() 127 (void)clock_gettime(CLOCK_REALTIME, &ts_total); in work()
|
| /freebsd-9-stable/lib/libthr/thread/ |
| D | thr_rwlock.c | 166 clock_gettime(CLOCK_REALTIME, &ts); in rwlock_rdlock_common() 279 clock_gettime(CLOCK_REALTIME, &ts); in rwlock_wrlock_common()
|
| D | thr_umtx.c | 119 clock_gettime(CLOCK_REALTIME, &cts); in __thr_umutex_timedlock() 143 clock_gettime(CLOCK_REALTIME, &cts); in __thr_umutex_timedlock()
|
| D | thr_condattr.c | 95 if (clock_id != CLOCK_REALTIME && in _pthread_condattr_setclock()
|
| D | thr_join.c | 116 clock_gettime(CLOCK_REALTIME, &ts); in join_common()
|
| /freebsd-9-stable/tools/tools/syscall_timing/ |
| D | syscall_timing.c | 81 error = clock_gettime(CLOCK_REALTIME, &ts_start); in benchmark_start() 90 error = clock_gettime(CLOCK_REALTIME, &ts_end); in benchmark_stop() 142 (void)clock_gettime(CLOCK_REALTIME, &ts); in test_clock_gettime() 767 error = clock_getres(CLOCK_REALTIME, &ts_res); in main()
|
| /freebsd-9-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/ |
| D | tst.sigwait.c | 51 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) { in main()
|
| /freebsd-9-stable/tools/regression/posixsem/ |
| D | posixsem.c | 786 if (clock_gettime(CLOCK_REALTIME, &start) < 0) { in timedwait() 802 if (clock_gettime(CLOCK_REALTIME, &end) < 0) { in timedwait() 933 if (clock_gettime(CLOCK_REALTIME, &start) < 0) { in testwait() 941 if (clock_gettime(CLOCK_REALTIME, &end) < 0) { in testwait()
|
| /freebsd-9-stable/tools/tools/netrate/tcpp/ |
| D | tcpp_client.c | 303 if (clock_gettime(CLOCK_REALTIME, &ts_start) < 0) in tcpp_client() 333 if (clock_gettime(CLOCK_REALTIME, &ts_finish) < 0) in tcpp_client()
|
| /freebsd-9-stable/sys/sys/ |
| D | time.h | 255 #ifndef CLOCK_REALTIME 256 #define CLOCK_REALTIME 0 macro
|
| /freebsd-9-stable/lib/libc/sys/ |
| D | __vdso_gettimeofday.c | 120 case CLOCK_REALTIME: in __vdso_clock_gettime()
|
| /freebsd-9-stable/sys/kern/ |
| D | kern_time.c | 318 case CLOCK_REALTIME: /* Default to precise. */ in kern_clock_gettime() 398 if (clock_id != CLOCK_REALTIME) in kern_clock_settime() 435 case CLOCK_REALTIME: in kern_clock_getres() 981 register_posix_clock(CLOCK_REALTIME, &rt_clock); in itimer_start() 1149 case CLOCK_REALTIME: in kern_ktimer_create() 1461 if (id == CLOCK_REALTIME) in realtimer_clocktime()
|