/bionic/benchmarks/ |
D | time_benchmark.cpp | 29 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/ |
D | bionic_time_conversions.cpp | 59 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()
|
D | timespec_get.cpp | 32 return (base == TIME_UTC && clock_gettime(CLOCK_REALTIME, ts) != -1) ? base : 0; in timespec_get()
|
D | vdso.cpp | 36 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()
|
D | clock.cpp | 38 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); in clock()
|
/bionic/tests/ |
D | time_test.cpp | 662 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()
|
D | pthread_test.cpp | 590 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 …]
|
D | semaphore_test.cpp | 110 ASSERT_EQ(0, clock_gettime(clock, &ts)); in sem_timedwait_helper()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 222 clock_gettime(CLOCK_MONOTONIC, &ts); in res_initid() 235 clock_gettime(CLOCK_MONOTONIC, &ts); in __res_randomid()
|
/bionic/libc/private/ |
D | bionic_time_conversions.h | 67 clock_gettime(clock, &abs_ts); in absolute_timespec_from_timespec()
|
/bionic/libc/include/ |
D | time.h | 97 int clock_gettime(clockid_t __clock, struct timespec* __ts);
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_125.S | 99 CALL(clock_gettime)
|
D | liblinker_reloc_bench_027.S | 277 CALL(clock_gettime)
|
D | liblinker_reloc_bench_008.S | 303 CALL(clock_gettime)
|
D | liblinker_reloc_bench_100.S | 1049 CALL(clock_gettime)
|
D | liblinker_reloc_bench_095.S | 123 CALL(clock_gettime)
|
D | liblinker_reloc_bench_003.S | 1090 CALL(clock_gettime)
|
D | liblinker_reloc_bench_098.S | 1588 CALL(clock_gettime)
|
D | liblinker_reloc_bench_135.S | 507 CALL(clock_gettime)
|
/bionic/tests/headers/posix/ |
D | time_h.c | 81 FUNCTION(clock_gettime, int (*f)(clockid_t, struct timespec*)); in time_h()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 136 if (clock_gettime(m, &tsnow) == 0) in evNowTime() 149 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 504 clock_gettime(CLOCK_REALTIME, &ts); in async_safe_write_log()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 114 clock_gettime
|
/bionic/libc/ |
D | SYSCALLS.TXT | 355 int __clock_gettime:clock_gettime(clockid_t, struct timespec*) all
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 274 clock_gettime;
|