Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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-5.19.10/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()
Dinconsistency-check.c40 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
Dnsleep-lat.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
/linux-5.19.10/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-5.19.10/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-5.19.10/tools/testing/selftests/kvm/
Dkvm_page_table_test.c215 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in vcpu_worker()
393 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in run_test()
406 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in run_test()
418 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in run_test()
/linux-5.19.10/include/uapi/linux/
Dtime.h53 #define CLOCK_MONOTONIC_RAW 4 macro
/linux-5.19.10/include/vdso/
Ddatapage.h35 #define VDSO_RAW (BIT(CLOCK_MONOTONIC_RAW))
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/iio/
Dindustrialio-core.c320 case CLOCK_MONOTONIC_RAW: in iio_get_time_ns()
347 case CLOCK_MONOTONIC_RAW: in iio_get_time_res()
1463 case CLOCK_MONOTONIC_RAW: in iio_show_timestamp_clock()
1503 clk = CLOCK_MONOTONIC_RAW; in iio_store_timestamp_clock()
/linux-5.19.10/tools/perf/arch/arm64/util/
Darm-spe.c472 clock_gettime(CLOCK_MONOTONIC_RAW, &ts); in arm_spe_reference()
/linux-5.19.10/Documentation/core-api/
Dtimekeeping.rst53 CLOCK_MONOTONIC_RAW

12