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

12345

/external/chromium_org/third_party/skia/tools/timer/
H A DSysTimer_posix.cpp23 if (-1 == clock_gettime(CLOCK_MONOTONIC, &fWall)) {
29 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &fCpu)) {
37 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_cpu)) {
46 if (-1 == clock_gettime(CLOCK_MONOTONIC, &end_wall)) {
/external/fio/os/windows/
H A Dposix.h7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
/external/skia/tools/timer/
H A DSysTimer_posix.cpp23 if (-1 == clock_gettime(CLOCK_MONOTONIC, &fWall)) {
29 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &fCpu)) {
37 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_cpu)) {
46 if (-1 == clock_gettime(CLOCK_MONOTONIC, &end_wall)) {
/external/compiler-rt/test/tsan/
H A Dcond_version.c26 clock_gettime(CLOCK_MONOTONIC, &ts0);
36 clock_gettime(CLOCK_MONOTONIC, &ts2);
H A Dbench.h35 clock_gettime(CLOCK_MONOTONIC, &tp0);
38 clock_gettime(CLOCK_MONOTONIC, &tp1);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dostime.h16 int clock_gettime(clockid_t clock_id, struct timespec* tp);
/external/qemu/util/
H A Dqemu-timer-common.c57 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
/external/srec/portable/src/
H A Dptimestamp.c43 clock_gettime(CLOCK_REALTIME, &now);
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dtick_util.cc65 clock_gettime(CLOCK_REALTIME, &ts);
67 clock_gettime(CLOCK_MONOTONIC, &ts);
H A Dcondition_variable_posix.cc95 clock_gettime(CLOCK_REALTIME, &ts);
97 clock_gettime(CLOCK_MONOTONIC, &ts);
H A Devent_posix.cc124 clock_gettime(CLOCK_REALTIME, &end_at);
126 clock_gettime(CLOCK_MONOTONIC, &end_at);
225 clock_gettime(CLOCK_REALTIME, &created_at_);
227 clock_gettime(CLOCK_MONOTONIC, &created_at_);
/external/deqp/framework/delibs/deutil/
H A DdeClock.c51 clock_gettime(CLOCK_MONOTONIC, &currTime);
56 /* Symbian supports only realtime clock for clock_gettime. */
58 clock_gettime(CLOCK_REALTIME, &currTime);
/external/eigen/bench/btl/generic_bench/timers/
H A Dportable_timer.hh112 clock_gettime(m_clkid, &ts);
120 clock_gettime(m_clkid, &ts);
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
H A Dsyscall_parameters_restrictions_unittests.cc61 BPF_ASSERT_EQ(0, clock_gettime(clockid, &ts));
80 clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
106 // just check this clock_gettime call does not crash.
107 clock_gettime(base::TimeTicks::kClockSystemTrace, &ts);
125 clock_gettime(base::TimeTicks::kClockSystemTrace, &ts);
142 clock_gettime(kInitCPUClockID, &ts);
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_clock.cc47 // clock_getres() requires a NULL check but clock_gettime() doesn't.
59 if (clock_gettime(host_clk_id, &host_tp))
H A Dirt_futex.cc43 if (clock_gettime(CLOCK_REALTIME, &now))
/external/webrtc/src/system_wrappers/source/
H A Devent_posix.cc141 clock_gettime(CLOCK_REALTIME, &tEnd);
143 clock_gettime(CLOCK_MONOTONIC, &tEnd);
251 clock_gettime(CLOCK_REALTIME, &_tCreate);
253 clock_gettime(CLOCK_MONOTONIC, &_tCreate);
H A Dcondition_variable_posix.cc112 clock_gettime(CLOCK_REALTIME, &ts);
114 clock_gettime(CLOCK_MONOTONIC, &ts);
/external/chromium_org/ui/gl/
H A Dsync_control_vsync_provider.cc67 clock_gettime(CLOCK_REALTIME, &real_time);
68 clock_gettime(CLOCK_MONOTONIC, &monotonic_time);
/external/eigen/bench/
H A DBenchTimer.h43 * On POSIX platforms we use clock_gettime with CLOCK_PROCESS_CPUTIME_ID.
129 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts);
144 clock_gettime(CLOCK_REALTIME, &ts);
/external/fio/t/
H A Dlfsr-test.c89 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &start);
94 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end);
/external/chromium_org/ui/events/ozone/evdev/libgestures_glue/
H A Dgesture_timer_provider.cc32 DCHECK(!clock_gettime(CLOCK_MONOTONIC, &ts));
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DCondVar.cpp106 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1)
/external/fio/
H A Dconfigure655 # clock_gettime probe
656 clock_gettime="no"
662 return clock_gettime(0, NULL);
665 if compile_prog "" "" "clock_gettime"; then
666 clock_gettime="yes"
667 elif compile_prog "" "-lrt" "clock_gettime"; then
668 clock_gettime="yes"
671 echo "clock_gettime $clock_gettime"
676 if test "$clock_gettime"
[all...]
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/
H A DSDL_systimer.c36 /* The clock_gettime provides monotonous time, so we should use it if
37 it's available. The clock_gettime function is behind ifdef
65 clock_gettime(CLOCK_MONOTONIC,&start);
76 clock_gettime(CLOCK_MONOTONIC,&now);

Completed in 694 milliseconds

12345