/external/ltp/lib/ |
D | tst_timer.c | 33 static const char *clock_name(clockid_t clk_id) in clock_name() argument 35 switch (clk_id) { in clock_name() 57 void tst_timer_check(clockid_t clk_id) in tst_timer_check() argument 59 if (clock_gettime(clk_id, &start_time)) { in tst_timer_check() 63 clock_name(clk_id), clk_id); in tst_timer_check() 70 void tst_timer_start(clockid_t clk_id) in tst_timer_start() argument 72 clock_id = clk_id; in tst_timer_start()
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 149 clockid_t clk_id; member 170 .clk_id = CLOCK_REALTIME, 179 .clk_id = CLOCK_MONOTONIC, 189 .clk_id = CLOCK_REALTIME, 198 .clk_id = CLOCK_REALTIME, 207 .clk_id = CLOCK_THREAD_CPUTIME_ID, // not supported 216 .clk_id = CLOCK_REALTIME, 226 .clk_id = CLOCK_REALTIME, 292 TEST(rc = clock_gettime(tc->clk_id, &beftp)); in do_test() 307 clock_nanosleep(tc->clk_id, tc->flags, NULL, &rm)); in do_test() [all …]
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_wait_bitset.h | 22 static void verify_futex_wait_bitset(long long wait_us, clock_t clk_id) in verify_futex_wait_bitset() argument 27 int flags = clk_id == CLOCK_REALTIME ? FUTEX_CLOCK_REALTIME : 0; in verify_futex_wait_bitset() 30 clk_id == CLOCK_REALTIME ? "CLOCK_REALTIME" : "CLOCK_MONOTONIC"); in verify_futex_wait_bitset() 32 clock_gettime(clk_id, &start); in verify_futex_wait_bitset() 37 clock_gettime(clk_id, &end); in verify_futex_wait_bitset()
|
D | futex_wait05.c | 34 static void verify_futex_wait(clock_t clk_id, int fflags) in verify_futex_wait() argument 39 tst_timer_start(clk_id); in verify_futex_wait()
|
/external/ltp/testcases/kernel/syscalls/clock_getres/ |
D | clock_getres01.c | 50 clockid_t clk_id; member 91 TEST(clock_getres(tcase[i].clk_id, NULL)); in main() 93 TEST(clock_getres(tcase[i].clk_id, &res)); in main()
|
/external/ltp/include/ |
D | tst_timer.h | 171 void tst_timer_check(clockid_t clk_id); 178 void tst_timer_start(clockid_t clk_id);
|
/external/libchrome/base/time/ |
D | time_posix.cc | 96 int64_t ClockNow(clockid_t clk_id) { in ClockNow() argument 98 if (clock_gettime(clk_id, &ts) != 0) { in ClockNow() 99 NOTREACHED() << "clock_gettime(" << clk_id << ") failed."; in ClockNow()
|
/external/v8/src/base/platform/ |
D | time.cc | 56 V8_INLINE int64_t ClockNow(clockid_t clk_id) { 63 if (clk_id == CLOCK_THREAD_CPUTIME_ID) { 71 if (clock_gettime(clk_id, &ts) != 0) { 78 if (clk_id == CLOCK_THREAD_CPUTIME_ID) {
|
/external/libusb/libusb/os/ |
D | windows_nt_common.h | 51 int windows_clock_gettime(int clk_id, struct timespec *tp);
|
D | windows_nt_common.c | 429 int windows_clock_gettime(int clk_id, struct timespec *tp) in windows_clock_gettime() argument 436 switch (clk_id) { in windows_clock_gettime()
|
D | wince_usb.c | 818 static int wince_clock_gettime(int clk_id, struct timespec *tp) in wince_clock_gettime() argument 825 switch(clk_id) { in wince_clock_gettime()
|
D | windows_usbdk.c | 847 static int usbdk_clock_gettime(int clk_id, struct timespec *tp) in usbdk_clock_gettime() argument 849 return windows_clock_gettime(clk_id, tp); in usbdk_clock_gettime()
|
D | darwin_usb.c | 1967 static int darwin_clock_gettime(int clk_id, struct timespec *tp) { in darwin_clock_gettime() argument 1971 switch (clk_id) { in darwin_clock_gettime()
|
D | linux_usbfs.c | 2666 static int op_clock_gettime(int clk_id, struct timespec *tp) in op_clock_gettime() argument 2668 switch (clk_id) { in op_clock_gettime()
|
/external/kernel-headers/original/uapi/linux/ |
D | firewire-cdev.h | 920 __s32 clk_id; member
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_custom.cc | 324 SANITIZER_INTERFACE_ATTRIBUTE int __dfsw_clock_gettime(clockid_t clk_id, in __dfsw_clock_gettime() argument 329 int ret = clock_gettime(clk_id, tp); in __dfsw_clock_gettime()
|
/external/ltp/doc/ |
D | test-writing-guidelines.txt | 1032 void tst_timer_check(clockid_t clk_id); 1034 void tst_timer_start(clockid_t clk_id); 1045 The 'tst_timer_check()' function checks if specified 'clk_id' is suppored and 1050 The 'tst_timer_start()' marks start time and stores the 'clk_id' for further 1053 The 'tst_timer_stop()' marks the stop time using the same 'clk_id' as last
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 1748 INTERCEPTOR(int, clock_getres, u32 clk_id, void *tp) { 1750 COMMON_INTERCEPTOR_ENTER(ctx, clock_getres, clk_id, tp); 1754 int res = REAL(clock_getres)(clk_id, tp); 1760 INTERCEPTOR(int, clock_gettime, u32 clk_id, void *tp) { 1762 COMMON_INTERCEPTOR_ENTER(ctx, clock_gettime, clk_id, tp); 1766 int res = REAL(clock_gettime)(clk_id, tp); 1772 INTERCEPTOR(int, clock_settime, u32 clk_id, const void *tp) { 1774 COMMON_INTERCEPTOR_ENTER(ctx, clock_settime, clk_id, tp); 1776 return REAL(clock_settime)(clk_id, tp);
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 3691 Syscall param clock_settime(clk_id) contains uninitialised byte(s) 3707 Syscall param clock_gettime(clk_id) contains uninitialised byte(s) 3723 Syscall param clock_getres(clk_id) contains uninitialised byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 2160 vki_clockid_t, clk_id, const struct timespec *, tp); in PRE() 2168 vki_clockid_t, clk_id, struct timespec *, tp); in PRE() 2182 vki_clockid_t, clk_id, struct timespec *, res); in PRE()
|