Searched refs:clock_gettime (Results 1 - 25 of 97) sorted by relevance

1234

/freebsd-9.3-release/contrib/openbsm/compat/
H A Dclock_gettime.h26 * $P4: //depot/projects/trustedbsd/openbsm/compat/clock_gettime.h#3 $
30 * Compatibility routines for clock_gettime(CLOCK_REALTIME, ...) for systems
32 * with the native OS if it has one but not clock_gettime(). We also assume
41 clock_gettime(int clock_id, struct timespec *ts) function
/freebsd-9.3-release/contrib/gcclibs/libgomp/config/posix/
H A Dtime.c54 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0)
56 clock_gettime (CLOCK_REALTIME, &ts);
/freebsd-9.3-release/lib/libc/gen/
H A Dtime.c45 if (clock_gettime(CLOCK_SECOND, &tt) < 0)
H A Dtimes.c63 if (clock_gettime(CLOCK_MONOTONIC, &t))
/freebsd-9.3-release/lib/libc/sys/
H A Dclock_gettime.c38 __weak_reference(__clock_gettime, clock_gettime);
/freebsd-9.3-release/tools/regression/priv/
H A Dpriv_clock_settime.c53 if (clock_gettime(CLOCK_REALTIME, &the_time) < 0) {
55 "clock_gettime(CLOCK_REALTIME)");
/freebsd-9.3-release/lib/libkse/support/
H A Dthr_support.c37 __strong_reference(clock_gettime, _thr_clock_gettime);
/freebsd-9.3-release/tools/tools/netrate/netblast/
H A Dnetblast.c85 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
86 perror("clock_gettime");
122 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
123 perror("clock_gettime");
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dtime.h92 clock_gettime(CLOCK_UPTIME,&ts);
/freebsd-9.3-release/tools/tools/netrate/netsend/
H A Dnetsend.c104 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
105 perror("clock_gettime");
115 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
116 perror("clock_gettime");
163 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
164 perror("clock_gettime");
229 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
230 perror("clock_gettime");
/freebsd-9.3-release/tools/tools/netrate/juggle/
H A Djuggle.c253 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
254 err(-1, "juggle: clock_gettime");
277 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
278 err(-1, "juggle: clock_gettime");
355 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
356 err(-1, "thread_juggle: clock_gettime");
370 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
371 err(-1, "thread_juggle: clock_gettime");
428 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
429 err(-1, "process_juggle: clock_gettime");
[all...]
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Drtc.c90 DEVMETHOD(clock_gettime, mc146818_gettime),
111 DEVMETHOD(clock_gettime, mc146818_gettime),
/freebsd-9.3-release/contrib/libc++/src/
H A Dchrono.cpp17 #include <time.h> // clock_gettime, CLOCK_MONOTONIC
111 // FIXME: We assume that clock_gettime(CLOCK_MONOTONIC) works on
124 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp))
125 __throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC) failed");
/freebsd-9.3-release/sys/mips/cavium/
H A Docteon_rtc.c57 DEVMETHOD(clock_gettime, octeon_rtc_gettime),
/freebsd-9.3-release/sys/powerpc/mpc85xx/
H A Dds1553_bus_fdt.c63 DEVMETHOD(clock_gettime, ds1553_gettime),
/freebsd-9.3-release/contrib/ntp/util/
H A Djitter.c103 clock_gettime(CLOCK_REALTIME, &ts);
/freebsd-9.3-release/contrib/openbsm/bin/auditfilterd/
H A Dauditfilterd.c52 #include <compat/clock_gettime.h>
205 if (clock_gettime(CLOCK_REALTIME, &ts) < 0)
206 err(-1, "clock_gettime");
255 if (clock_gettime(CLOCK_REALTIME, &ts) < 0)
256 err(-1, "clock_gettime");
/freebsd-9.3-release/games/grdc/
H A Dgrdc.c142 clock_gettime(CLOCK_REALTIME_FAST, &now);
200 clock_gettime(CLOCK_REALTIME_FAST, &now);
210 clock_gettime(CLOCK_REALTIME_FAST, &now);
/freebsd-9.3-release/lib/libthr/thread/
H A Dthr_umtx.c118 clock_gettime(CLOCK_REALTIME, &cts);
142 clock_gettime(CLOCK_REALTIME, &cts);
228 clock_gettime(clockid, &ts);
H A Dthr_join.c116 clock_gettime(CLOCK_REALTIME, &ts);
/freebsd-9.3-release/usr.bin/truss/
H A Dmain.c287 clock_gettime(CLOCK_REALTIME, &trussinfo->start_time);
295 clock_gettime(CLOCK_REALTIME,
299 clock_gettime(CLOCK_REALTIME,
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devutil_time.c215 The POSIX clock_gettime() interface provides a few ways to get at a
245 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &ts) == 0) {
251 if (!fallback && clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
277 if (clock_gettime(base->monotonic_clock, &ts) == -1)
289 clock_gettime(), they provide mach_absolute_time(). Its units are not
/freebsd-9.3-release/contrib/libucl/tests/
H A Dtest_speed.c49 clock_gettime (CLOCK_MONOTONIC, &ts);
/freebsd-9.3-release/include/
H A Dtime.h170 int clock_gettime(clockid_t, struct timespec *);
/freebsd-9.3-release/lib/libgeom/
H A Dgeom_stats.c132 clock_gettime(CLOCK_REALTIME, &sp->time);

Completed in 147 milliseconds

1234