/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 230 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 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),
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H 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),
|
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
H A D | time.h | 40 #ifndef CLOCK_MONOTONIC_RAW 41 #define CLOCK_MONOTONIC_RAW 12 macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H 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() 178 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
|
H A D | raw_skew.c | 1 /* 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 D | set-timer-lat.c | 37 #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 D | freq-step.c | 5 * 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 D | alarmtimer-suspend.c | 37 #define CLOCK_MONOTONIC_RAW 4 macro 68 case CLOCK_MONOTONIC_RAW: in clockstring() 69 return "CLOCK_MONOTONIC_RAW"; in clockstring()
|
H A D | inconsistency-check.c | 40 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring() 62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
|
H A D | nsleep-lat.c | 38 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring() 62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
|
H A D | nanosleep.c | 38 #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 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() 178 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
|
H A D | raw_skew.c | 1 /* 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 D | freq-step.c | 5 * 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 D | set-timer-lat.c | 37 #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 D | inconsistency-check.c | 40 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring() 62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
|
H A D | nsleep-lat.c | 38 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring() 62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
|
H A D | nanosleep.c | 38 #define CLOCK_MONOTONIC_RAW 4 macro 61 case CLOCK_MONOTONIC_RAW: in clockstring() 62 return "CLOCK_MONOTONIC_RAW"; in clockstring()
|
H A D | alarmtimer-suspend.c | 37 #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 D | vdso_test_clock_getres.c | 44 "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 D | vdso_test_abi.c | 151 "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 D | gettime_perf.c | 68 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 D | gettime_perf.c | 76 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 D | It_time_container_004.cpp | 42 ret = clock_gettime(CLOCK_MONOTONIC_RAW, &tp1); in childFunc() 100 ret = clock_gettime(CLOCK_MONOTONIC_RAW, &tp); in TimeContainerUnshare()
|