/third_party/ltp/testcases/kernel/syscalls/fsync/ |
H A D | fsync02.c | 65 time_t time_start, time_end; in run() local 83 time_end = time(0); in run() 85 if (time_end == -1) { in run() 92 } else if (time_end < time_start) { in run() 95 time_end, time_start); in run() 97 difftime(time_end, time_start)) > time_limit) { in run()
|
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/ |
H A D | mperf_monitor.c | 36 static struct timespec time_start, time_end; variable 177 timediff = max_frequency * timespec_diff_us(time_start, time_end); in mperf_get_count_percent() 210 time_diff = timespec_diff_us(time_start, time_end); in mperf_get_count_freq() 248 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
|
/kernel/linux/linux-6.6/tools/power/cpupower/utils/idle_monitor/ |
H A D | mperf_monitor.c | 36 static struct timespec time_start, time_end; variable 177 timediff = max_frequency * timespec_diff_us(time_start, time_end); in mperf_get_count_percent() 210 time_diff = timespec_diff_us(time_start, time_end); in mperf_get_count_freq() 248 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
H A D | cpuidle.c | 140 ktime_t time_start, time_end; in enter_s2idle_proper() local 162 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper() 164 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper() 207 ktime_t time_start, time_end; in cpuidle_enter_state() local 243 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state() 268 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
|
/kernel/linux/linux-6.6/drivers/cpuidle/ |
H A D | cpuidle.c | 144 ktime_t time_start, time_end; in enter_s2idle_proper() local 172 time_end = ns_to_ktime(local_clock_noinstr()); in enter_s2idle_proper() 174 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper() 219 ktime_t time_start, time_end; in cpuidle_enter_state() local 279 time_end = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state() 300 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
|
/third_party/ffmpeg/libavfilter/ |
H A D | opencl.c | 341 cl_ulong time_end; in ff_opencl_get_event_time() local 344 clGetEventProfilingInfo(event, CL_PROFILING_COMMAND_END, sizeof(time_end), &time_end, NULL); in ff_opencl_get_event_time() 346 return time_end - time_start; in ff_opencl_get_event_time()
|
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
H A D | kwork_trace.bpf.c | 117 __u64 time_start, __u64 time_end) in do_update_time() 120 __s64 delta = time_end - time_start; in do_update_time() 138 data->max_time_end = time_end; in do_update_time() 116 do_update_time(void *map, struct work_key *key, __u64 time_start, __u64 time_end) do_update_time() argument
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_init.c | 667 int64_t time_end = os_time_get(); in gallivm_compile_module() local 668 int time_msec = (int)((time_end - time_begin) / 1000); in gallivm_compile_module() 754 int64_t time_end = os_time_get(); in gallivm_jit_function() local 755 int time_msec = (int)(time_end - time_begin) / 1000; in gallivm_jit_function()
|
/third_party/node/test/common/ |
H A D | wpt.js | 89 this.time_end = Date.now(); 103 this.time_end = Math.max(this.time_end, prev.time_end);
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | event.hpp | 127 const lazy<cl_ulong> &time_end() const;
|
H A D | event.cpp | 203 hard_event::time_end() const { in time_end() function in hard_event
|
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
H A D | event.cpp | 276 buf.as_scalar<cl_ulong>() = hev.time_end(); in clGetEventProfilingInfo()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.sh | 692 time_end=$(date +%s) 693 time_run=$((time_end-time_start))
|
/third_party/musl/ldso/linux/ |
H A D | dynlink.c | 3568 struct timespec time_start, time_end, total_start, total_end; in dlopen_impl() local 3721 clock_gettime(CLOCK_MONOTONIC, &time_end); in dlopen_impl() 3722 dlopen_cost.entry_header_time = (time_end.tv_sec - time_start.tv_sec) * CLOCK_SECOND_TO_MILLI in dlopen_impl() 3723 + (time_end.tv_nsec - time_start.tv_nsec) / CLOCK_NANO_TO_MILLI; in dlopen_impl() 3729 clock_gettime(CLOCK_MONOTONIC, &time_end); in dlopen_impl() 3730 dlopen_cost.deps_header_time = (time_end.tv_sec - time_start.tv_sec) * CLOCK_SECOND_TO_MILLI in dlopen_impl() 3731 + (time_end.tv_nsec - time_start.tv_nsec) / CLOCK_NANO_TO_MILLI; in dlopen_impl() 3738 clock_gettime(CLOCK_MONOTONIC, &time_end); in dlopen_impl() 3739 dlopen_cost.map_so_time = (time_end.tv_sec - time_start.tv_sec) * CLOCK_SECOND_TO_MILLI in dlopen_impl() 3740 + (time_end in dlopen_impl() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.sh | 840 time_end=$(date +%s) 841 time_run=$((time_end-time_start))
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 14787 const unsigned long time_end = jiffies + 10 * HZ; in i40e_pf_loop_reset() local 14793 while (ret != I40E_SUCCESS && time_before(jiffies, time_end)) { in i40e_pf_loop_reset()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 15482 const unsigned long time_end = jiffies + 10 * HZ; in i40e_pf_loop_reset() local 15487 while (ret != 0 && time_before(jiffies, time_end)) { in i40e_pf_loop_reset()
|