Home
last modified time | relevance | path

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

/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[cpu], time_end[cpu]); in mperf_get_count_percent()
210 time_diff = timespec_diff_us(time_start[cpu], time_end[cpu]); in mperf_get_count_freq()
230 clock_gettime(CLOCK_REALTIME, &time_start[cpu]); in mperf_start()
351 time_start = calloc(cpu_count, sizeof(struct timespec)); in mperf_register()
365 free(time_start); in mperf_unregister()
/linux/drivers/cpuidle/
H A Dcpuidle.c148 ktime_t time_start, time_end; in enter_s2idle_proper() local
152 time_start = ns_to_ktime(local_clock_noinstr()); in enter_s2idle_proper()
178 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper()
225 ktime_t time_start, time_end; in cpuidle_enter_state() local
249 time_start = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state()
303 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c241 unsigned long time_start; in pdsc_adminq_post() local
261 time_start = jiffies; in pdsc_adminq_post()
262 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/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/tools/perf/util/bpf_skel/
H A Dkwork_trace.bpf.c118 __u64 time_start, __u64 time_end) in do_update_time() argument
121 __s64 delta = time_end - time_start; in do_update_time()
138 data->max_time_start = time_start; in do_update_time()
/linux/tools/testing/selftests/kvm/
H A Dmmu_stress_test.c278 struct timespec time_start, time_run1, time_reset, time_run2, time_ro, time_rw; in main()
374 rendezvous_with_vcpus(&time_start, "spawning"); in main()
390 time_run1 = timespec_sub(time_run1, time_start); in main()
284 struct timespec time_start, time_run1, time_reset, time_run2, time_ro, time_rw; main() local
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_main.c422 unsigned long time_start; in ionic_adminq_wait() local
437 time_start = jiffies; in ionic_adminq_wait()
438 time_limit = time_start + HZ * (ulong)DEVCMD_TIMEOUT; in ionic_adminq_wait()
463 __func__, jiffies_to_msecs(time_done - time_start)); in ionic_adminq_wait()
/linux/tools/testing/selftests/net/bench/page_pool/
H A Dtime_bench.c153 rec->time_start = rec->ts_start.tv_nsec + in time_bench_calc_stats()
157 rec->time_interval = rec->time_stop - rec->time_start; in time_bench_calc_stats()
H A Dtime_bench.h42 uint64_t time_start, time_stop, time_interval; /* in nanosec */ member
/linux/drivers/pmdomain/
H A Dcore.c829 ktime_t time_start; in _genpd_power_on() local
853 time_start = ktime_get(); in _genpd_power_on()
858 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
880 ktime_t time_start; in _genpd_power_off() local
904 time_start = ktime_get(); in _genpd_power_off()
909 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
1216 ktime_t time_start = 0; in genpd_runtime_suspend() local
1238 time_start = ktime_get(); in genpd_runtime_suspend()
1252 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend()
1291 ktime_t time_start = 0; in genpd_runtime_resume() local
[all …]
/linux/net/bpf/
H A Dtest_run.c33 u64 time_start, time_spent; member
40 t->time_start = ktime_get_ns(); in bpf_test_timer_enter()
46 t->time_start = 0; in bpf_test_timer_leave()
57 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
72 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh11 time_start=$(date +%s)
821 time_run=$((time_end-time_start))
/linux/tools/perf/
H A Dbuiltin-stat.c598 static void compute_tts(struct timespec *time_start, struct timespec *time_stop, in compute_tts() argument
604 diff_timespec(&time_diff, time_stop, time_start); in compute_tts()
619 struct timespec time_start, time_stop; in dispatch_events() local
640 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events()
648 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
/linux/fs/nfs/
H A Dinode.c512 nfsi->read_cache_jiffies = fattr->time_start; in nfs_fhget()
1720 nfsi->read_cache_jiffies = fattr->time_start; in nfs_check_inode_attributes()
1740 fattr->time_start = jiffies; in nfs_fattr_init()
2297 nfsi->read_cache_jiffies = fattr->time_start; in nfs_update_inode()
H A Dnfs4proc.c2753 o_res->f_attr->time_start, in _nfs4_proc_open()
5046 res->dir_attr->time_start, in nfs4_proc_unlink_done()
5098 res->old_fattr->time_start, in nfs4_proc_rename_done()
5102 res->new_fattr->time_start, in nfs4_proc_rename_done()
5108 res->old_fattr->time_start, in nfs4_proc_rename_done()
5144 nfs4_update_changeattr(dir, &res.cinfo, res.fattr->time_start, in _nfs4_proc_link()
5228 data->res.fattr->time_start, in nfs4_do_create()
5251 data->res.fattr->time_start, in nfs4_do_mkdir()
H A Ddir.c631 entry->fattr->time_start = desc->timestamp; in xdr_decode()
/linux/include/linux/
H A Dnfs_xdr.h80 unsigned long time_start; member
/linux/kernel/trace/
H A Dtrace_functions_graph.c726 usecs = iter->ts - iter->array_buffer->time_start; in print_graph_rel_time()
H A Dtrace.h221 u64 time_start; member
H A Dtrace.c1558 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_online_cpus()
1577 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_all_cpus()
2738 if (ts >= iter->array_buffer->time_start) in tracing_iter_reset()