Home
last modified time | relevance | path

Searched refs:clock_gettime (Results 1 – 25 of 37) sorted by relevance

12

/bionic/benchmarks/
Dtime_benchmark.cpp29 clock_gettime(CLOCK_MONOTONIC, &t); in BM_time_clock_gettime()
47 clock_gettime(CLOCK_MONOTONIC_COARSE, &t); in BM_time_clock_gettime_MONOTONIC_COARSE()
56 clock_gettime(CLOCK_MONOTONIC_RAW, &t); in BM_time_clock_gettime_MONOTONIC_RAW()
65 clock_gettime(CLOCK_REALTIME, &t); in BM_time_clock_gettime_REALTIME()
74 clock_gettime(CLOCK_REALTIME_COARSE, &t); in BM_time_clock_gettime_REALTIME_COARSE()
83 clock_gettime(CLOCK_BOOTTIME, &t); in BM_time_clock_gettime_BOOTTIME()
/bionic/libc/bionic/
Dbionic_time_conversions.cpp59 clock_gettime(CLOCK_MONOTONIC, &cur_monotonic_time); in monotonic_time_from_realtime_time()
61 clock_gettime(CLOCK_REALTIME, &cur_realtime_time); in monotonic_time_from_realtime_time()
Dtimespec_get.cpp32 return (base == TIME_UTC && clock_gettime(CLOCK_REALTIME, ts) != -1) ? base : 0; in timespec_get()
Dvdso.cpp36 int clock_gettime(int clock_id, timespec* tp) { in clock_gettime() function
37 auto vdso_clock_gettime = reinterpret_cast<decltype(&clock_gettime)>( in clock_gettime()
Dclock.cpp38 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); in clock()
/bionic/tests/
Dtime_test.cpp662 TEST(time, clock_gettime) { in TEST() argument
665 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts1)); in TEST()
684 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
689 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
694 ASSERT_EQ(0, clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST()
699 ASSERT_EQ(0, clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts)); in TEST()
704 ASSERT_EQ(0, clock_gettime(CLOCK_BOOTTIME, &ts)); in TEST()
710 ASSERT_EQ(-1, clock_gettime(-1, &ts)); in TEST()
773 ASSERT_EQ(0, clock_gettime(clockid, &ts)); in TEST()
780 ASSERT_EQ(0, clock_gettime(clockid, &ts)); in TEST()
Dpthread_test.cpp590 ASSERT_EQ(0, clock_gettime(c, &ts)); in TEST()
974 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
984 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
996 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1002 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
1041 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
1051 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1063 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1069 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
1087 ASSERT_EQ(0, clock_gettime(arg->clock, &ts)); in pthread_rwlock_wakeup_timeout_helper()
[all …]
Dsemaphore_test.cpp110 ASSERT_EQ(0, clock_gettime(clock, &ts)); in sem_timedwait_helper()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dres_random.c222 clock_gettime(CLOCK_MONOTONIC, &ts); in res_initid()
235 clock_gettime(CLOCK_MONOTONIC, &ts); in __res_randomid()
/bionic/libc/private/
Dbionic_time_conversions.h67 clock_gettime(clock, &abs_ts); in absolute_timespec_from_timespec()
/bionic/libc/include/
Dtime.h97 int clock_gettime(clockid_t __clock, struct timespec* __ts);
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_125.S99 CALL(clock_gettime)
Dliblinker_reloc_bench_027.S277 CALL(clock_gettime)
Dliblinker_reloc_bench_008.S303 CALL(clock_gettime)
Dliblinker_reloc_bench_100.S1049 CALL(clock_gettime)
Dliblinker_reloc_bench_095.S123 CALL(clock_gettime)
Dliblinker_reloc_bench_003.S1090 CALL(clock_gettime)
Dliblinker_reloc_bench_098.S1588 CALL(clock_gettime)
Dliblinker_reloc_bench_135.S507 CALL(clock_gettime)
/bionic/tests/headers/posix/
Dtime_h.c81 FUNCTION(clock_gettime, int (*f)(clockid_t, struct timespec*)); in time_h()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c136 if (clock_gettime(m, &tsnow) == 0) in evNowTime()
149 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
/bionic/libc/async_safe/
Dasync_safe_log.cpp504 clock_gettime(CLOCK_REALTIME, &ts); in async_safe_write_log()
/bionic/libc/tools/
Dposix-2013.txt114 clock_gettime
/bionic/libc/
DSYSCALLS.TXT355 int __clock_gettime:clock_gettime(clockid_t, struct timespec*) all
/bionic/tools/versioner/platforms/
Dlibc.map.txt274 clock_gettime;

12