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.c231 unsigned long time_start; in pdsc_adminq_post() local
251 time_start = jiffies; in pdsc_adminq_post()
252 time_limit = time_start + HZ * pdsc->devcmd_timeout; in pdsc_adminq_post()
283 __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.c284 struct timespec time_start, time_run1, time_reset, time_run2, time_ro, time_rw; in main() local
380 rendezvous_with_vcpus(&time_start, "spawning"); in main()
397 time_run1 = timespec_sub(time_run1, time_start); in main()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_main.c418 unsigned long time_start; in ionic_adminq_wait() local
433 time_start = jiffies; in ionic_adminq_wait()
434 time_limit = time_start + HZ * (ulong)DEVCMD_TIMEOUT; in ionic_adminq_wait()
459 __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.c834 ktime_t time_start; in _genpd_power_on() local
858 time_start = ktime_get(); in _genpd_power_on()
863 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
885 ktime_t time_start; in _genpd_power_off() local
909 time_start = ktime_get(); in _genpd_power_off()
914 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
1221 ktime_t time_start = 0; in genpd_runtime_suspend() local
1243 time_start = ktime_get(); in genpd_runtime_suspend()
1257 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend()
1296 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
639 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events()
647 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
/linux/fs/nfs/
H A Dinode.c536 nfsi->read_cache_jiffies = fattr->time_start; in nfs_fhget()
1732 nfsi->read_cache_jiffies = fattr->time_start; in nfs_check_inode_attributes()
1752 fattr->time_start = jiffies; in nfs_fattr_init()
2308 nfsi->read_cache_jiffies = fattr->time_start; in nfs_update_inode()
H A Dnfs4proc.c2739 o_res->f_attr->time_start, in _nfs4_proc_open()
4996 res->dir_attr->time_start, in nfs4_proc_unlink_done()
5048 res->old_fattr->time_start, in nfs4_proc_rename_done()
5052 res->new_fattr->time_start, in nfs4_proc_rename_done()
5057 res->old_fattr->time_start, in nfs4_proc_rename_done()
5093 nfs4_update_changeattr(dir, &res.cinfo, res.fattr->time_start, in _nfs4_proc_link()
5169 data->res.fattr->time_start, in nfs4_do_create()
5192 data->res.fattr->time_start, in nfs4_do_mkdir()
H A Ddir.c632 entry->fattr->time_start = desc->timestamp; in xdr_decode()
/linux/kernel/trace/
H A Dtrace_functions_graph.c718 usecs = iter->ts - iter->array_buffer->time_start; in print_graph_rel_time()
H A Dtrace_output.c598 unsigned long long abs_ts = iter->ts - iter->array_buffer->time_start; in lat_print_timestamp()
H A Dtrace.h221 u64 time_start; member
H A Dtrace.c1563 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()
2026 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_online_cpus()
2045 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_all_cpus()
3209 if (ts >= iter->array_buffer->time_start) in tracing_iter_reset()