Home
last modified time | relevance | path

Searched refs:CLOCK_REALTIME (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-9-stable/tools/tools/netrate/netsend/
Dnetsend.c104 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/
Dnetblast.c80 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/
Dclock_gettime.h38 #define CLOCK_REALTIME 0x2d4e1588 macro
45 if (clock_id != CLOCK_REALTIME) { in clock_gettime()
/freebsd-9-stable/tools/tools/netrate/juggle/
Djuggle.c253 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/
Dpriv_clock_settime.c53 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/
Dtime.c56 clock_gettime (CLOCK_REALTIME, &ts); in omp_get_wtime()
73 clock_getres (CLOCK_REALTIME, &ts); in omp_get_wtick()
/freebsd-9-stable/include/
Dtime.h99 #if !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112
100 #define CLOCK_REALTIME 0 macro
/freebsd-9-stable/usr.bin/truss/
Dmain.c287 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/
Dev_timers.c122 #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/
Dadjtime.c317 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/
Dsht.c201 #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_REALTIME) in main()
207 if (0 == clock_gettime(CLOCK_REALTIME, &tmptime)) { in main()
Djitter.c103 clock_gettime(CLOCK_REALTIME, &ts); in get_systime()
/freebsd-9-stable/contrib/openbsm/bin/auditfilterd/
Dauditfilterd.c205 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/
Dgaithrstress.c125 (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/
Dthr_rwlock.c166 clock_gettime(CLOCK_REALTIME, &ts); in rwlock_rdlock_common()
279 clock_gettime(CLOCK_REALTIME, &ts); in rwlock_wrlock_common()
Dthr_umtx.c119 clock_gettime(CLOCK_REALTIME, &cts); in __thr_umutex_timedlock()
143 clock_gettime(CLOCK_REALTIME, &cts); in __thr_umutex_timedlock()
Dthr_condattr.c95 if (clock_id != CLOCK_REALTIME && in _pthread_condattr_setclock()
Dthr_join.c116 clock_gettime(CLOCK_REALTIME, &ts); in join_common()
/freebsd-9-stable/tools/tools/syscall_timing/
Dsyscall_timing.c81 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/
Dtst.sigwait.c51 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) { in main()
/freebsd-9-stable/tools/regression/posixsem/
Dposixsem.c786 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/
Dtcpp_client.c303 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/
Dtime.h255 #ifndef CLOCK_REALTIME
256 #define CLOCK_REALTIME 0 macro
/freebsd-9-stable/lib/libc/sys/
D__vdso_gettimeofday.c120 case CLOCK_REALTIME: in __vdso_clock_gettime()
/freebsd-9-stable/sys/kern/
Dkern_time.c318 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()

12