/bionic/benchmarks/ |
D | time_benchmark.cpp | 44 clock_gettime(CLOCK_MONOTONIC, &t); in BM_time_clock_gettime() 62 clock_gettime(CLOCK_MONOTONIC_COARSE, &t); in BM_time_clock_gettime_MONOTONIC_COARSE() 71 clock_gettime(CLOCK_MONOTONIC_RAW, &t); in BM_time_clock_gettime_MONOTONIC_RAW() 80 clock_gettime(CLOCK_REALTIME, &t); in BM_time_clock_gettime_REALTIME() 89 clock_gettime(CLOCK_REALTIME_COARSE, &t); in BM_time_clock_gettime_REALTIME_COARSE() 98 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 | clock.cpp | 38 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); in clock()
|
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()
|
/bionic/tests/ |
D | time_test.cpp | 909 TEST(time, clock_gettime) { in TEST() argument 914 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts0)); in TEST() 916 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts2)); in TEST() 931 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 936 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST() 941 ASSERT_EQ(0, clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST() 946 ASSERT_EQ(0, clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts)); in TEST() 951 ASSERT_EQ(0, clock_gettime(CLOCK_BOOTTIME, &ts)); in TEST() 957 ASSERT_EQ(-1, clock_gettime(-1, &ts)); in TEST() 1028 ASSERT_EQ(0, clock_gettime(clockid, &ts)); in TEST() [all …]
|
D | pthread_test.cpp | 615 ASSERT_EQ(0, clock_gettime(c, &ts)); in TEST() 1002 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1012 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST() 1024 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST() 1030 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1069 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1079 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST() 1091 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST() 1097 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1115 ASSERT_EQ(0, clock_gettime(arg->clock, &ts)); in pthread_rwlock_wakeup_timeout_helper() [all …]
|
D | semaphore_test.cpp | 114 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/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_003.S | 1090 CALL(clock_gettime)
|
D | liblinker_reloc_bench_095.S | 123 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/include/ |
D | time.h | 94 int clock_gettime(clockid_t __clock, struct timespec* _Nonnull __ts);
|
/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 | 533 clock_gettime(CLOCK_REALTIME, &ts); in async_safe_write_log()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 114 clock_gettime
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 74 clock_gettime(CLOCK_MONOTONIC, &t); in Nanotime()
|
/bionic/libc/ |
D | SYSCALLS.TXT | 366 int __clock_gettime:clock_gettime(clockid_t, struct timespec*) all
|