Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC_RAW (Results 1 - 25 of 59) sorted by relevance

123

/kernel/linux/linux-6.6/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()
630 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_time()
636 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time()
670 if (clock_gettime(CLOCK_MONOTONIC_RAW, in ksm_unmerge_time()
[all...]
/kernel/linux/linux-5.10/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),
/kernel/linux/linux-6.6/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),
/kernel/liteos_m/kal/libc/newlib/porting/include/
H A Dtime.h40 #ifndef CLOCK_MONOTONIC_RAW
41 #define CLOCK_MONOTONIC_RAW 12 macro
/kernel/linux/linux-5.10/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()
178 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
H A Draw_skew.c1 /* CLOCK_MONOTONIC vs CLOCK_MONOTONIC_RAW skew test
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()
101 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
H A Dset-timer-lat.c37 #define CLOCK_MONOTONIC_RAW 4 macro
69 case CLOCK_MONOTONIC_RAW: in clockstring()
70 return "CLOCK_MONOTONIC_RAW"; in clockstring()
269 (clock_id == CLOCK_MONOTONIC_RAW) || in main()
H A Dfreq-step.c5 * the CLOCK_MONOTONIC clock relative to the CLOCK_MONOTONIC_RAW clock
55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample()
57 clock_gettime(CLOCK_MONOTONIC_RAW, &ts3); in get_sample()
175 printf("CLOCK_MONOTONIC_RAW frequency offset: %11.3f ppm\n", in run_test()
208 if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts)) { in init_test()
209 perror("[FAIL] clock_gettime(CLOCK_MONOTONIC_RAW)"); in init_test()
225 printf("CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: %.0f ns\t\t", in init_test()
H A Dalarmtimer-suspend.c37 #define CLOCK_MONOTONIC_RAW 4 macro
68 case CLOCK_MONOTONIC_RAW: in clockstring()
69 return "CLOCK_MONOTONIC_RAW"; in clockstring()
H A Dinconsistency-check.c40 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
H A Dnsleep-lat.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
H A Dnanosleep.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
/kernel/linux/linux-6.6/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()
178 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
H A Draw_skew.c1 /* CLOCK_MONOTONIC vs CLOCK_MONOTONIC_RAW skew test
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()
101 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
H A Dfreq-step.c5 * the CLOCK_MONOTONIC clock relative to the CLOCK_MONOTONIC_RAW clock
55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample()
57 clock_gettime(CLOCK_MONOTONIC_RAW, &ts3); in get_sample()
175 printf("CLOCK_MONOTONIC_RAW frequency offset: %11.3f ppm\n", in run_test()
208 if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts)) { in init_test()
209 perror("[FAIL] clock_gettime(CLOCK_MONOTONIC_RAW)"); in init_test()
225 printf("CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: %.0f ns\t\t", in init_test()
H A Dset-timer-lat.c37 #define CLOCK_MONOTONIC_RAW 4 macro
69 case CLOCK_MONOTONIC_RAW: in clockstring()
70 return "CLOCK_MONOTONIC_RAW"; in clockstring()
269 (clock_id == CLOCK_MONOTONIC_RAW) || in main()
H A Dinconsistency-check.c40 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
H A Dnsleep-lat.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
H A Dnanosleep.c38 #define CLOCK_MONOTONIC_RAW 4 macro
61 case CLOCK_MONOTONIC_RAW: in clockstring()
62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
H A Dalarmtimer-suspend.c37 #define CLOCK_MONOTONIC_RAW 4 macro
68 case CLOCK_MONOTONIC_RAW: in clockstring()
69 return "CLOCK_MONOTONIC_RAW"; in clockstring()
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/
H A Dvdso_test_clock_getres.c44 "CLOCK_MONOTONIC_RAW",
65 * clock_id: CLOCK_MONOTONIC_RAW [PASS]
111 #ifdef CLOCK_MONOTONIC_RAW in main()
112 ret += vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
H A Dvdso_test_abi.c151 "CLOCK_MONOTONIC_RAW",
219 #ifdef CLOCK_MONOTONIC_RAW in main()
220 vdso_test_clock(CLOCK_MONOTONIC_RAW); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
H A Dgettime_perf.c68 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", false); in main()
90 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", true); in main()
/kernel/linux/linux-6.6/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()
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_time_container_004.cpp42 ret = clock_gettime(CLOCK_MONOTONIC_RAW, &tp1); in childFunc()
100 ret = clock_gettime(CLOCK_MONOTONIC_RAW, &tp); in TimeContainerUnshare()

Completed in 12 milliseconds

123