| /OK3568_Linux_fs/kernel/tools/testing/radix-tree/ |
| H A D | benchmark.c | 26 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_iter() 36 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_iter() 59 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_insert() 64 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_insert() 80 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_tagging() 85 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_tagging() 101 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_delete() 106 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_delete()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/timens/ |
| H A D | exec.c | 32 _gettime(CLOCK_MONOTONIC, &tst, i); in main() 43 clock_gettime(CLOCK_MONOTONIC, &now); in main() 48 if (_settime(CLOCK_MONOTONIC, OFFSET)) in main() 52 _gettime(CLOCK_MONOTONIC, &tst, i); in main() 72 _gettime(CLOCK_MONOTONIC, &tst, i); in main()
|
| H A D | gettime_perf.c | 66 test(CLOCK_MONOTONIC, "monotonic", false); in main() 80 if (_settime(CLOCK_MONOTONIC, offset)) in main() 88 test(CLOCK_MONOTONIC, "monotonic", true); in main()
|
| H A D | futex.c | 73 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main() 79 CLOCK_MONOTONIC, 70 * 24 * 3600); in main() 96 ret |= run_test(CLOCK_MONOTONIC); in main()
|
| H A D | timer.c | 84 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main() 91 CLOCK_MONOTONIC, 70 * 24 * 3600, in main() 110 ret |= run_test(CLOCK_MONOTONIC, mtime_now); in main()
|
| H A D | timerfd.c | 91 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main() 98 CLOCK_MONOTONIC, 70 * 24 * 3600, in main() 117 ret |= run_test(CLOCK_MONOTONIC, mtime_now); in main()
|
| H A D | clock_nanosleep.c | 127 if (_settime(CLOCK_MONOTONIC, 7 * 24 * 3600)) in main() 140 ret |= run_test(CLOCK_MONOTONIC, 0); in main() 141 ret |= run_test(CLOCK_MONOTONIC, 1); in main()
|
| H A D | timens.h | 43 case CLOCK_MONOTONIC: in check_skip() 70 clk_id = CLOCK_MONOTONIC; in _settime()
|
| /OK3568_Linux_fs/buildroot/package/vlc/ |
| H A D | 0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch | 24 vlc_clock_id = (val < 0) ? CLOCK_REALTIME : CLOCK_MONOTONIC; 55 -# define vlc_clock_id (CLOCK_MONOTONIC) 73 - vlc_clock_id = (val < 0) ? CLOCK_REALTIME : CLOCK_MONOTONIC; 78 + if (unlikely(clock_getres(CLOCK_MONOTONIC, &res) != 0 || res.tv_sec != 0)) 111 + || unlikely(pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)) 127 + if (unlikely(clock_gettime(CLOCK_MONOTONIC, &ts) != 0)) 164 + while (clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, NULL) == EINTR); 181 + while (clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, &ts) == EINTR);
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | time.h | 50 #define CLOCK_MONOTONIC 1 macro 67 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 68 #define CLOCKS_MONO CLOCK_MONOTONIC
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/ |
| H A D | dirty_log_perf_test.c | 53 clock_gettime(CLOCK_MONOTONIC, &start); in vcpu_worker() 140 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 157 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 169 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 184 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 194 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 212 clock_gettime(CLOCK_MONOTONIC, &start); in run_test()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | time.h | 75 #define CLOCK_MONOTONIC 1 macro 92 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 93 #define CLOCKS_MONO CLOCK_MONOTONIC
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | time.h | 75 #define CLOCK_MONOTONIC 1 macro 92 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 93 #define CLOCKS_MONO CLOCK_MONOTONIC
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | posix-stubs.c | 79 case CLOCK_MONOTONIC: in do_clock_gettime() 117 case CLOCK_MONOTONIC: in SYSCALL_DEFINE2() 136 case CLOCK_MONOTONIC: in SYSCALL_DEFINE4() 210 case CLOCK_MONOTONIC: in SYSCALL_DEFINE2() 229 case CLOCK_MONOTONIC: in SYSCALL_DEFINE4()
|
| H A D | namespace.c | 29 case CLOCK_MONOTONIC: in do_timens_ktime_to_host() 188 offset[CLOCK_MONOTONIC] = monotonic; in timens_setup_vdso_data() 342 case CLOCK_MONOTONIC: in show_offset() 362 show_offset(m, CLOCK_MONOTONIC, &time_ns->offsets.monotonic); in proc_timens_show_offsets() 389 case CLOCK_MONOTONIC: in proc_timens_set_offset() 428 case CLOCK_MONOTONIC: in proc_timens_set_offset()
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | time.c | 46 if (timer_create(CLOCK_MONOTONIC, NULL, t) == -1) in os_timer_create() 97 clock_gettime(CLOCK_MONOTONIC,&ts); in os_nsecs() 115 if (clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL)) in os_idle_sleep()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/benchmarks/ |
| H A D | futex_bench.c | 25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex() 32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
|
| H A D | mmap_bench.c | 39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap() 53 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
|
| H A D | null_syscall.c | 137 clock_gettime(CLOCK_MONOTONIC, &tv_start); in main() 142 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/timers/ |
| H A D | adjtick.c | 75 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw() 82 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw() 84 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
|
| H A D | mqueue-lat.c | 75 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test() 90 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
|
| H A D | nanosleep.c | 35 #define CLOCK_MONOTONIC 1 macro 55 case CLOCK_MONOTONIC: in clockstring()
|
| H A D | alarmtimer-suspend.c | 34 #define CLOCK_MONOTONIC 1 macro 62 case CLOCK_MONOTONIC: in clockstring()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | clockid.c | 38 CLOCKID_MAP("monotonic", CLOCK_MONOTONIC), 47 CLOCKID_MAP("mono", CLOCK_MONOTONIC),
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/stringloops/ |
| H A D | strlen.c | 41 clock_gettime(CLOCK_MONOTONIC, &ts_start); in bench_test() 46 clock_gettime(CLOCK_MONOTONIC, &ts_end); in bench_test()
|