Home
last modified time | relevance | path

Searched refs:clock_gettime (Results 1 – 25 of 201) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/tools/testing/radix-tree/
H A Dbenchmark.c26 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/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/minidlna/minidlna/
H A D0001-configure-Check-for-clock_gettime-seprately-from-__N.patch4 Subject: [PATCH] configure: Check for clock_gettime seprately from
7 This helps prioritize using clock_gettime API from libc over syscall
26 +AC_MSG_CHECKING([for clock_gettime])
27 +AC_SEARCH_LIBS([clock_gettime], [rt], [AC_DEFINE([HAVE_CLOCK_GETTIME], [1], [use clock_gettime])],)
/OK3568_Linux_fs/buildroot/package/bcusdk/
H A D0002-eibd-fix-endless-recursion-when-using-USB-backends.patch4 Subject: [PATCH] eibd: drop local clock_gettime in USB backends
6 clock_gettime is defined locally, and calls pth_int_time, which
7 in turn calls clock_gettime.
8 The USB backend shouldn't overrule clock_gettime in the first place.
24 -int clock_gettime(clockid_t clk_id, struct timespec *tp)
/OK3568_Linux_fs/kernel/tools/testing/selftests/timers/
H A Dadjtick.c75 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw()
76 clock_gettime(CLOCK_MONOTONIC_RAW, raw); in get_monotonic_and_raw()
82 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
83 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw()
84 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
177 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
H A Dnsleep-lat.c107 if (clock_gettime(clockid, &start)) in nanosleep_lat_test()
115 clock_gettime(clockid, &start); in nanosleep_lat_test()
118 clock_gettime(clockid, &end); in nanosleep_lat_test()
127 clock_gettime(clockid, &start); in nanosleep_lat_test()
130 clock_gettime(clockid, &end); in nanosleep_lat_test()
H A Dnanosleep.c106 if (clock_gettime(clockid, &now)) in nanosleep_test()
112 clock_gettime(clockid, &now); in nanosleep_test()
118 clock_gettime(clockid, &now); in nanosleep_test()
124 clock_gettime(clockid, &now); in nanosleep_test()
H A Draw_skew.c78 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
79 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw()
80 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
100 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
H A Dfreq-step.c55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample()
56 clock_gettime(CLOCK_MONOTONIC, &ts2); in get_sample()
57 clock_gettime(CLOCK_MONOTONIC_RAW, &ts3); in get_sample()
208 if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts)) { in init_test()
215 if (clock_gettime(CLOCK_MONOTONIC, &ts)) { in init_test()
H A Dmqueue-lat.c75 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test()
80 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test()
90 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
H A Dleap-a-day.c164 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
167 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
215 if (clock_gettime(CLOCK_TAI, &ts)) { in main()
243 clock_gettime(CLOCK_REALTIME, &ts); in main()
338 clock_gettime(CLOCK_TAI, &tai); in main()
H A Dinconsistency-check.c102 clock_gettime(clock_type, &list[0]); in consistency_test()
114 clock_gettime(clock_type, &list[i]); in consistency_test()
186 if (!clock_gettime(clockid, &ts)) { in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c53 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/yocto/poky/meta/recipes-extended/ltp/ltp/
H A D0001-clock_gettime04-set-threshold-based-on-the-clock-res.patch39 .../syscalls/clock_gettime/clock_gettime04.c | 18 ++++++++++++++++--
42 diff --git a/testcases/kernel/syscalls/clock_gettime/clock_gettime04.c b/testcases/kernel/syscalls/
44 --- a/testcases/kernel/syscalls/clock_gettime/clock_gettime04.c
45 +++ b/testcases/kernel/syscalls/clock_gettime/clock_gettime04.c
/OK3568_Linux_fs/kernel/tools/testing/selftests/timens/
H A Dfutex.c29 clock_gettime(clockid, &timeout); in run_test()
48 clock_gettime(clockid, &end); in run_test()
73 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main()
H A Dtimerfd.c22 return clock_gettime(clockid, now); in tclock_gettime()
91 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main()
92 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
H A Dtimens.h26 if (clock_gettime(CLOCK_BOOTTIME_ALARM, &ts) == -1 && errno == EINVAL) in check_supported_timers()
91 if (clock_gettime(clk_id, res)) { in _gettime()
/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_throughput.c55 clock_gettime(CLOCK_REALTIME, &start); in test_otp_key_item_tp()
78 clock_gettime(CLOCK_REALTIME, &end); in test_otp_key_item_tp()
252 clock_gettime(CLOCK_REALTIME, &start); in test_cipher_item_tp()
286 clock_gettime(CLOCK_REALTIME, &end); in test_cipher_item_tp()
499 clock_gettime(CLOCK_REALTIME, &start); in test_ae_item_tp()
546 clock_gettime(CLOCK_REALTIME, &end); in test_ae_item_tp()
567 clock_gettime(CLOCK_REALTIME, &start); in test_ae_item_tp()
614 clock_gettime(CLOCK_REALTIME, &end); in test_ae_item_tp()
844 clock_gettime(CLOCK_REALTIME, &start); in test_hash_item_tp()
875 clock_gettime(CLOCK_REALTIME, &end); in test_hash_item_tp()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-interface-remove-C-reserved-keyword.patch42 - int ret1=clock_gettime(d->private->clock,&tv1);
43 + int ret1=clock_gettime(d->priv->clock,&tv1);
45 - int ret3=clock_gettime(d->private->clock,&tv2);
46 + int ret3=clock_gettime(d->priv->clock,&tv2);
95 - d->private->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
96 + d->priv->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
109 - d->private->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
110 + d->priv->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
160 - int ret1=clock_gettime(d->private->clock,&tv1);
161 + int ret1=clock_gettime(d->priv->clock,&tv1);
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c30 assert(clock_gettime(clk_id, &start) == 0); in timing()
35 assert(clock_gettime(clk_id, &finish) == 0); in timing()
60 assert(clock_gettime(CLOCK_MONOTONIC, &start) == 0); in calibrate()
66 assert(clock_gettime(CLOCK_MONOTONIC, &finish) == 0); in calibrate()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/benchmarks/
H A Dfutex_bench.c25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex()
32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
H A Dmmap_bench.c39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap()
53 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/idle_monitor/
H A Damd_fam14h_idle.c231 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start()
237 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_start()
250 clock_gettime(CLOCK_REALTIME, &end_time); in amd_fam14h_stop()
257 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_stop()
/OK3568_Linux_fs/kernel/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c351 clock_gettime(clock, &start); \
354 clock_gettime(clock, &middle); \
357 clock_gettime(clock, &end); \
485 clock_gettime(clock, &start); in perf_test_thread()
490 clock_gettime(clock, &end); in perf_test_thread()
514 clock_gettime(clock, &start); in perf_test_thread()
516 clock_gettime(clock, &end); in perf_test_thread()
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dtime.c35 clock_gettime(CLOCK_REALTIME, &realtime_tp); in os_persistent_clock_emulation()
97 clock_gettime(CLOCK_MONOTONIC,&ts); in os_nsecs()
/OK3568_Linux_fs/kernel/arch/x86/entry/vdso/
H A Dvclock_gettime.c46 int clock_gettime(clockid_t, struct __kernel_timespec *)
67 int clock_gettime(clockid_t, struct old_timespec32 *)

123456789