Home
last modified time | relevance | path

Searched refs:time_start (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/drivers/cpuidle/
Dpoll_state.c16 u64 time_start = local_clock(); in poll_idle() local
33 if (local_clock() - time_start > limit) { in poll_idle()
Dcpuidle.c142 ktime_t time_start, time_end; in enter_s2idle_proper() local
145 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper()
166 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper()
209 ktime_t time_start, time_end; in cpuidle_enter_state() local
234 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state()
270 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
/Linux-v6.1/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c36 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()
230 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start()
/Linux-v6.1/tools/testing/selftests/kvm/
Dmax_guest_memory_test.c169 struct timespec time_start, time_run1, time_reset, time_run2; in main() local
265 rendezvous_with_vcpus(&time_start, "spawning"); in main()
272 time_run1 = timespec_sub(time_run1, time_start); in main()
/Linux-v6.1/tools/perf/util/bpf_skel/
Dkwork_trace.bpf.c117 __u64 time_start, __u64 time_end) in do_update_time() argument
120 __s64 delta = time_end - time_start; in do_update_time()
137 data->max_time_start = time_start; in do_update_time()
/Linux-v6.1/drivers/net/ethernet/pensando/ionic/
Dionic_main.c336 unsigned long time_start; in ionic_adminq_wait() local
351 time_start = jiffies; in ionic_adminq_wait()
352 time_limit = time_start + HZ * (ulong)DEVCMD_TIMEOUT; in ionic_adminq_wait()
377 __func__, jiffies_to_msecs(time_done - time_start)); in ionic_adminq_wait()
/Linux-v6.1/drivers/base/power/
Ddomain.c500 ktime_t time_start; in _genpd_power_on() local
524 time_start = ktime_get(); in _genpd_power_on()
529 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
550 ktime_t time_start; in _genpd_power_off() local
574 time_start = ktime_get(); in _genpd_power_off()
579 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
888 ktime_t time_start = 0; in genpd_runtime_suspend() local
910 time_start = ktime_get(); in genpd_runtime_suspend()
924 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend()
963 ktime_t time_start = 0; in genpd_runtime_resume() local
[all …]
/Linux-v6.1/net/bpf/
Dtest_run.c30 u64 time_start, time_spent; member
42 t->time_start = ktime_get_ns(); in bpf_test_timer_enter()
48 t->time_start = 0; in bpf_test_timer_leave()
64 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
79 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
/Linux-v6.1/tools/perf/
Dbuiltin-stat.c636 static void compute_tts(struct timespec *time_start, struct timespec *time_stop, in compute_tts() argument
642 diff_timespec(&time_diff, time_stop, time_start); in compute_tts()
657 struct timespec time_start, time_stop; in dispatch_events() local
677 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events()
685 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
/Linux-v6.1/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh4 time_start=$(date +%s)
795 time_run=$((time_end-time_start))
/Linux-v6.1/fs/nfs/
Dinode.c526 nfsi->read_cache_jiffies = fattr->time_start; in nfs_fhget()
1535 nfsi->read_cache_jiffies = fattr->time_start; in nfs_check_inode_attributes()
1555 fattr->time_start = jiffies; in nfs_fattr_init()
2044 nfsi->read_cache_jiffies = fattr->time_start; in nfs_update_inode()
Dnfs4proc.c2695 o_res->f_attr->time_start, in _nfs4_proc_open()
4819 res->dir_attr->time_start, in nfs4_proc_unlink_done()
4866 res->old_fattr->time_start, in nfs4_proc_rename_done()
4870 res->new_fattr->time_start, in nfs4_proc_rename_done()
4875 res->old_fattr->time_start, in nfs4_proc_rename_done()
4910 nfs4_update_changeattr(dir, &res.cinfo, res.fattr->time_start, in _nfs4_proc_link()
4989 data->res.fattr->time_start, in nfs4_do_create()
Ddir.c633 entry->fattr->time_start = desc->timestamp; in xdr_decode()
/Linux-v6.1/kernel/trace/
Dtrace_functions_graph.c504 usecs = iter->ts - iter->array_buffer->time_start; in print_graph_rel_time()
Dtrace.h187 u64 time_start; member
Dtrace_output.c551 unsigned long long abs_ts = iter->ts - iter->array_buffer->time_start; in lat_print_timestamp()
Dtrace.c1777 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()
2175 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_online_cpus()
4093 if (ts >= iter->array_buffer->time_start) in tracing_iter_reset()
/Linux-v6.1/include/linux/
Dnfs_xdr.h75 unsigned long time_start; member