Home
last modified time | relevance | path

Searched refs:clktype (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
Dclock_gettime01.c25 clockid_t clktype; member
31 .clktype = CLOCK_REALTIME,
34 .clktype = CLOCK_MONOTONIC,
37 .clktype = CLOCK_PROCESS_CPUTIME_ID,
40 .clktype = CLOCK_THREAD_CPUTIME_ID,
43 .clktype = CLOCK_REALTIME_COARSE,
47 .clktype = CLOCK_MONOTONIC_COARSE,
51 .clktype = CLOCK_MONOTONIC_RAW,
55 .clktype = CLOCK_BOOTTIME,
95 TEST(tv->clock_gettime(tc[i].clktype, tst_ts_get(&spec))); in verify_clock_gettime()
[all …]
Dclock_gettime02.c29 clockid_t clktype; member
36 .clktype = MAX_CLOCKS,
40 .clktype = MAX_CLOCKS + 1,
48 .clktype = CLOCK_REALTIME,
52 .clktype = CLOCK_MONOTONIC,
56 .clktype = CLOCK_PROCESS_CPUTIME_ID,
60 .clktype = CLOCK_THREAD_CPUTIME_ID,
64 .clktype = CLOCK_REALTIME_COARSE,
69 .clktype = CLOCK_MONOTONIC_COARSE,
74 .clktype = CLOCK_MONOTONIC_RAW,
[all …]
/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/
Dclock_adjtime02.c68 clockid_t clktype; member
79 .clktype = MAX_CLOCKS,
83 .clktype = MAX_CLOCKS + 1,
87 .clktype = CLOCK_REALTIME,
92 .clktype = CLOCK_REALTIME,
99 .clktype = CLOCK_REALTIME,
106 .clktype = CLOCK_REALTIME,
165 TEST(tv->clock_adjtime(tc[i].clktype, bad_addr)); in verify_clock_adjtime()
167 TEST(tv->clock_adjtime(tc[i].clktype, tst_timex_get(txcptr))); in verify_clock_adjtime()