Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC_RAW (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.1/tools/perf/util/
Dclockid.c26 #ifndef CLOCK_MONOTONIC_RAW
27 #define CLOCK_MONOTONIC_RAW 4 macro
39 CLOCKID_MAP("monotonic_raw", CLOCK_MONOTONIC_RAW),
48 CLOCKID_MAP("raw", CLOCK_MONOTONIC_RAW),
/Linux-v6.1/tools/testing/selftests/vm/
Dksm_tests.c162 if (clock_gettime(CLOCK_MONOTONIC_RAW, &cur_time)) { in ksm_do_scan()
260 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_merge()
292 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_unmerge()
332 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_zero_page_merge()
399 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_numa_merge()
493 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_hugepages_time()
499 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time()
534 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_time()
540 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time()
576 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_cow_time()
[all …]
/Linux-v6.1/tools/testing/selftests/timers/
Dadjtick.c28 #define CLOCK_MONOTONIC_RAW 4 macro
76 clock_gettime(CLOCK_MONOTONIC_RAW, raw); in get_monotonic_and_raw()
83 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw()
177 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
Draw_skew.c30 #define CLOCK_MONOTONIC_RAW 4 macro
79 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw()
100 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
Dset-timer-lat.c37 #define CLOCK_MONOTONIC_RAW 4 macro
69 case CLOCK_MONOTONIC_RAW: in clockstring()
269 (clock_id == CLOCK_MONOTONIC_RAW) || in main()
Dnanosleep.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
Dalarmtimer-suspend.c37 #define CLOCK_MONOTONIC_RAW 4 macro
68 case CLOCK_MONOTONIC_RAW: in clockstring()
Dfreq-step.c55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample()
57 clock_gettime(CLOCK_MONOTONIC_RAW, &ts3); in get_sample()
208 if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts)) { in init_test()
Dnsleep-lat.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
Dinconsistency-check.c40 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
/Linux-v6.1/tools/testing/selftests/vDSO/
Dvdso_test_clock_getres.c111 #ifdef CLOCK_MONOTONIC_RAW in main()
112 ret += vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
Dvdso_test_abi.c219 #ifdef CLOCK_MONOTONIC_RAW in main()
220 vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
/Linux-v6.1/tools/testing/selftests/timens/
Dgettime_perf.c76 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", false); in main()
98 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", true); in main()
Dtimens.c42 ct(CLOCK_MONOTONIC_RAW, 1),
99 case CLOCK_MONOTONIC_RAW: in test_gettime()
Dtimens.h69 if (clk_id == CLOCK_MONOTONIC_COARSE || clk_id == CLOCK_MONOTONIC_RAW) in _settime()
/Linux-v6.1/tools/testing/selftests/kvm/
Dkvm_page_table_test.c203 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in vcpu_worker()
371 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in run_test()
384 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in run_test()
396 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in run_test()
/Linux-v6.1/include/uapi/linux/
Dtime.h53 #define CLOCK_MONOTONIC_RAW 4 macro
/Linux-v6.1/include/vdso/
Ddatapage.h35 #define VDSO_RAW (BIT(CLOCK_MONOTONIC_RAW))
/Linux-v6.1/lib/vdso/
Dgettimeofday.c59 vd = vdns - (clk == CLOCK_MONOTONIC_RAW ? CS_RAW : CS_HRES_COARSE); in do_hres_timens()
61 if (clk != CLOCK_MONOTONIC_RAW) in do_hres_timens()
/Linux-v6.1/kernel/time/
Dvsyscall.c62 vdso_ts = &vdata[CS_RAW].basetime[CLOCK_MONOTONIC_RAW]; in update_vdso_data()
Dnamespace.c189 offset[CLOCK_MONOTONIC_RAW] = monotonic; in timens_setup_vdso_data()
Dposix-timers.c1398 [CLOCK_MONOTONIC_RAW] = &clock_monotonic_raw,
/Linux-v6.1/tools/perf/arch/arm64/util/
Darm-spe.c472 clock_gettime(CLOCK_MONOTONIC_RAW, &ts); in arm_spe_reference()
/Linux-v6.1/drivers/iio/
Dindustrialio-core.c328 case CLOCK_MONOTONIC_RAW: in iio_get_time_ns()
1449 case CLOCK_MONOTONIC_RAW: in current_timestamp_clock_show()
1489 clk = CLOCK_MONOTONIC_RAW; in current_timestamp_clock_store()
/Linux-v6.1/Documentation/core-api/
Dtimekeeping.rst53 CLOCK_MONOTONIC_RAW

12