Home
last modified time | relevance | path

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

/linux/drivers/cpuidle/
H A Dpoll_state.c16 u64 time_start; in poll_idle() local
18 time_start = local_clock_noinstr(); in poll_idle()
35 if (local_clock_noinstr() - time_start > limit) { in poll_idle()
H A Dcpuidle.c144 ktime_t time_start, time_end; in enter_s2idle_proper() local
148 time_start = 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
246 time_start = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state()
300 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
/linux/tools/power/cpupower/utils/idle_monitor/
H A 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()
229 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start()
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c241 unsigned long time_start; in pdsc_adminq_post() local
260 time_start = jiffies; in pdsc_adminq_post()
261 time_limit = time_start + HZ * pdsc->devcmd_timeout; in pdsc_adminq_post()
293 __func__, jiffies_to_msecs(time_done - time_start)); in pdsc_adminq_post()
/linux/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c164 struct timespec time_start, time_run1, time_reset, time_run2; in main() local
257 rendezvous_with_vcpus(&time_start, "spawning"); in main()
264 time_run1 = timespec_sub(time_run1, time_start); in main()
/linux/tools/perf/util/bpf_skel/
H A 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/drivers/vfio/pci/pds/
H A Dcmds.c101 unsigned long time_start; in pds_vfio_suspend_wait_device_cmd() local
105 time_start = jiffies; in pds_vfio_suspend_wait_device_cmd()
106 time_limit = time_start + HZ * SUSPEND_TIMEOUT_S; in pds_vfio_suspend_wait_device_cmd()
117 pds_vfio->vf_id, jiffies_to_msecs(time_done - time_start)); in pds_vfio_suspend_wait_device_cmd()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_main.c416 unsigned long time_start; in ionic_adminq_wait() local
431 time_start = jiffies; in ionic_adminq_wait()
432 time_limit = time_start + HZ * (ulong)DEVCMD_TIMEOUT; in ionic_adminq_wait()
457 __func__, jiffies_to_msecs(time_done - time_start)); in ionic_adminq_wait()
/linux/drivers/pmdomain/
H A Dcore.c594 ktime_t time_start; in _genpd_power_on() local
618 time_start = ktime_get(); in _genpd_power_on()
623 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
645 ktime_t time_start; in _genpd_power_off() local
669 time_start = ktime_get(); in _genpd_power_off()
674 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
983 ktime_t time_start = 0; in genpd_runtime_suspend() local
1005 time_start = ktime_get(); in genpd_runtime_suspend()
1019 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend()
1058 ktime_t time_start = 0; in genpd_runtime_resume() local
[all …]
/linux/net/bpf/
H A Dtest_run.c34 u64 time_start, time_spent; member
46 t->time_start = ktime_get_ns(); in bpf_test_timer_enter()
52 t->time_start = 0; in bpf_test_timer_leave()
68 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
83 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
/linux/tools/perf/
H A Dbuiltin-stat.c551 static void compute_tts(struct timespec *time_start, struct timespec *time_stop, in compute_tts() argument
557 diff_timespec(&time_diff, time_stop, time_start); in compute_tts()
572 struct timespec time_start, time_stop; in dispatch_events() local
592 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events()
600 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh11 time_start=$(date +%s)
820 time_run=$((time_end-time_start))
/linux/fs/nfs/
H A Dinode.c527 nfsi->read_cache_jiffies = fattr->time_start; in nfs_fhget()
1544 nfsi->read_cache_jiffies = fattr->time_start; in nfs_check_inode_attributes()
1564 fattr->time_start = jiffies; in nfs_fattr_init()
2119 nfsi->read_cache_jiffies = fattr->time_start; in nfs_update_inode()
H A Dnfs4proc.c2722 o_res->f_attr->time_start, in _nfs4_proc_open()
4851 res->dir_attr->time_start, in nfs4_proc_unlink_done()
4898 res->old_fattr->time_start, in nfs4_proc_rename_done()
4902 res->new_fattr->time_start, in nfs4_proc_rename_done()
4907 res->old_fattr->time_start, in nfs4_proc_rename_done()
4942 nfs4_update_changeattr(dir, &res.cinfo, res.fattr->time_start, in _nfs4_proc_link()
5021 data->res.fattr->time_start, in nfs4_do_create()
H A Ddir.c632 entry->fattr->time_start = desc->timestamp; in xdr_decode()
/linux/kernel/trace/
H A Dtrace_functions_graph.c510 usecs = iter->ts - iter->array_buffer->time_start; in print_graph_rel_time()
H A Dtrace.h214 u64 time_start; member
H A Dtrace_output.c554 unsigned long long abs_ts = iter->ts - iter->array_buffer->time_start; in lat_print_timestamp()
H A Dtrace.c1904 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()
2359 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_online_cpus()
3957 if (ts >= iter->array_buffer->time_start) in tracing_iter_reset()
/linux/include/linux/
H A Dnfs_xdr.h75 unsigned long time_start; member