/linux/tools/testing/selftests/vm/ |
A D | ksm_tests.c | 168 if (clock_gettime(CLOCK_MONOTONIC_RAW, &cur_time)) { in ksm_do_scan() 264 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_merge() 296 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_unmerge() 336 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_zero_page_merge() 403 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_numa_merge() 525 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_hugepages_time() 531 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time() 566 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_time() 572 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time() 614 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time() [all …]
|
/linux/tools/perf/util/ |
A D | clockid.c | 26 #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/tools/testing/selftests/timers/ |
A D | adjtick.c | 28 #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()
|
A D | raw_skew.c | 30 #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()
|
A D | set-timer-lat.c | 37 #define CLOCK_MONOTONIC_RAW 4 macro 69 case CLOCK_MONOTONIC_RAW: in clockstring() 269 (clock_id == CLOCK_MONOTONIC_RAW) || in main()
|
A D | nanosleep.c | 38 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring()
|
A D | freq-step.c | 55 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()
|
A D | alarmtimer-suspend.c | 37 #define CLOCK_MONOTONIC_RAW 4 macro 68 case CLOCK_MONOTONIC_RAW: in clockstring()
|
A D | inconsistency-check.c | 40 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring()
|
A D | nsleep-lat.c | 38 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring()
|
/linux/tools/testing/selftests/vDSO/ |
A D | vdso_test_clock_getres.c | 111 #ifdef CLOCK_MONOTONIC_RAW in main() 112 ret += vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
|
A D | vdso_test_abi.c | 228 #ifdef CLOCK_MONOTONIC_RAW in main() 229 ret += vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
|
/linux/tools/testing/selftests/timens/ |
A D | gettime_perf.c | 76 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", false); in main() 98 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", true); in main()
|
A D | timens.c | 44 ct(CLOCK_MONOTONIC_RAW, 1), 101 case CLOCK_MONOTONIC_RAW: in test_gettime()
|
A D | timens.h | 69 if (clk_id == CLOCK_MONOTONIC_COARSE || clk_id == CLOCK_MONOTONIC_RAW) in _settime()
|
/linux/tools/testing/selftests/kvm/ |
A D | kvm_page_table_test.c | 215 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/include/uapi/linux/ |
A D | time.h | 53 #define CLOCK_MONOTONIC_RAW 4 macro
|
/linux/include/vdso/ |
A D | datapage.h | 35 #define VDSO_RAW (BIT(CLOCK_MONOTONIC_RAW))
|
/linux/lib/vdso/ |
A D | gettimeofday.c | 59 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/kernel/time/ |
A D | vsyscall.c | 62 vdso_ts = &vdata[CS_RAW].basetime[CLOCK_MONOTONIC_RAW]; in update_vdso_data()
|
A D | namespace.c | 189 offset[CLOCK_MONOTONIC_RAW] = monotonic; in timens_setup_vdso_data()
|
/linux/arch/nds32/kernel/vdso/ |
A D | gettimeofday.c | 215 case CLOCK_MONOTONIC_RAW: in __vdso_clock_getres()
|
/linux/drivers/iio/ |
A D | industrialio-core.c | 306 case CLOCK_MONOTONIC_RAW: in iio_get_time_ns() 333 case CLOCK_MONOTONIC_RAW: in iio_get_time_res() 1431 case CLOCK_MONOTONIC_RAW: in iio_show_timestamp_clock() 1471 clk = CLOCK_MONOTONIC_RAW; in iio_store_timestamp_clock()
|
/linux/tools/perf/arch/arm64/util/ |
A D | arm-spe.c | 455 clock_gettime(CLOCK_MONOTONIC_RAW, &ts); in arm_spe_reference()
|
/linux/Documentation/core-api/ |
A D | timekeeping.rst | 53 CLOCK_MONOTONIC_RAW
|