Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/perf/util/
H A 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),
/openbmc/linux/tools/testing/selftests/mm/
H A Dksm_tests.c230 if (clock_gettime(CLOCK_MONOTONIC_RAW, &cur_time)) { in ksm_do_scan()
353 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_merge()
387 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_unmerge()
427 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_zero_page_merge()
494 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_numa_merge()
589 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_hugepages_time()
595 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time()
636 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time()
683 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_unmerge_time()
725 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time()
[all …]
/openbmc/linux/tools/testing/selftests/timers/
H A 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()
H A 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()
H A 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()
H A Dnanosleep.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
H A Dalarmtimer-suspend.c37 #define CLOCK_MONOTONIC_RAW 4 macro
68 case CLOCK_MONOTONIC_RAW: in clockstring()
H A Dnsleep-lat.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
H A 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()
H A Dinconsistency-check.c40 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
/openbmc/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_clock_getres.c111 #ifdef CLOCK_MONOTONIC_RAW in main()
112 ret += vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
H A Dvdso_test_abi.c219 #ifdef CLOCK_MONOTONIC_RAW in main()
220 vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
/openbmc/linux/tools/testing/selftests/timens/
H A Dgettime_perf.c76 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", false); in main()
98 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", true); in main()
H A Dtimens.c42 ct(CLOCK_MONOTONIC_RAW, 1),
99 case CLOCK_MONOTONIC_RAW: in test_gettime()
H A Dtimens.h69 if (clk_id == CLOCK_MONOTONIC_COARSE || clk_id == CLOCK_MONOTONIC_RAW) in _settime()
/openbmc/linux/include/uapi/linux/
H A Dtime.h53 #define CLOCK_MONOTONIC_RAW 4 macro
/openbmc/linux/include/vdso/
H A Ddatapage.h35 #define VDSO_RAW (BIT(CLOCK_MONOTONIC_RAW))
/openbmc/linux/lib/vdso/
H A 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()
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c53 …(void)clock_gettime(CLOCK_MONOTONIC_RAW, &Now); // CLOCK_MONOTONIC_RAW is … in sigwrap_InitTimeout()
73 (void)clock_gettime(CLOCK_MONOTONIC_RAW, &Now); in sigwrap_CheckTimeout()
/openbmc/linux/kernel/time/
H A Dvsyscall.c62 vdso_ts = &vdata[CS_RAW].basetime[CLOCK_MONOTONIC_RAW]; in update_vdso_data()
H A Dnamespace.c189 offset[CLOCK_MONOTONIC_RAW] = monotonic; in timens_setup_vdso_data()
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c53 …(void)clock_gettime(CLOCK_MONOTONIC_RAW, &Now); // CLOCK_MONOTONIC_RAW is … in sigwrap_InitTimeout()
73 (void)clock_gettime(CLOCK_MONOTONIC_RAW, &Now); in sigwrap_CheckTimeout()
/openbmc/linux/drivers/iio/
H A Dindustrialio-core.c314 case CLOCK_MONOTONIC_RAW: in iio_get_time_ns()
1419 [CLOCK_MONOTONIC_RAW] = "monotonic_raw",
1439 case CLOCK_MONOTONIC_RAW: in current_timestamp_clock_show()
1467 case CLOCK_MONOTONIC_RAW: in current_timestamp_clock_store()
/openbmc/linux/tools/perf/arch/arm64/util/
H A Darm-spe.c450 clock_gettime(CLOCK_MONOTONIC_RAW, &ts); in arm_spe_reference()
/openbmc/linux/Documentation/core-api/
H A Dtimekeeping.rst53 CLOCK_MONOTONIC_RAW

12