| /linux-6.15/drivers/cpuidle/ |
| H A D | poll_state.c | 16 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 D | cpuidle.c | 148 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() 223 ktime_t time_start, time_end; in cpuidle_enter_state() local 247 time_start = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state() 301 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
|
| /linux-6.15/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[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-6.15/drivers/net/ethernet/amd/pds_core/ |
| H A D | adminq.c | 231 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-6.15/tools/perf/util/bpf_skel/ |
| H A D | kwork_trace.bpf.c | 118 __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-6.15/drivers/vfio/pci/pds/ |
| H A D | cmds.c | 101 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-6.15/tools/testing/selftests/kvm/ |
| H A D | mmu_stress_test.c | 282 struct timespec time_start, time_run1, time_reset, time_run2, time_ro, time_rw; in main() local 381 rendezvous_with_vcpus(&time_start, "spawning"); in main() 398 time_run1 = timespec_sub(time_run1, time_start); in main()
|
| /linux-6.15/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_main.c | 417 unsigned long time_start; in ionic_adminq_wait() local 432 time_start = jiffies; in ionic_adminq_wait() 433 time_limit = time_start + HZ * (ulong)DEVCMD_TIMEOUT; in ionic_adminq_wait() 458 __func__, jiffies_to_msecs(time_done - time_start)); in ionic_adminq_wait()
|
| /linux-6.15/drivers/pmdomain/ |
| H A D | core.c | 734 ktime_t time_start; in _genpd_power_on() local 758 time_start = ktime_get(); in _genpd_power_on() 763 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on() 785 ktime_t time_start; in _genpd_power_off() local 809 time_start = ktime_get(); in _genpd_power_off() 814 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off() 1127 ktime_t time_start = 0; in genpd_runtime_suspend() local 1149 time_start = ktime_get(); in genpd_runtime_suspend() 1163 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend() 1202 ktime_t time_start = 0; in genpd_runtime_resume() local [all …]
|
| /linux-6.15/net/bpf/ |
| H A D | test_run.c | 34 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-6.15/tools/perf/ |
| H A D | builtin-stat.c | 556 static void compute_tts(struct timespec *time_start, struct timespec *time_stop, in compute_tts() argument 562 diff_timespec(&time_diff, time_stop, time_start); in compute_tts() 577 struct timespec time_start, time_stop; in dispatch_events() local 597 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events() 605 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.sh | 11 time_start=$(date +%s) 825 time_run=$((time_end-time_start))
|
| /linux-6.15/fs/nfs/ |
| H A D | inode.c | 534 nfsi->read_cache_jiffies = fattr->time_start; in nfs_fhget() 1640 nfsi->read_cache_jiffies = fattr->time_start; in nfs_check_inode_attributes() 1660 fattr->time_start = jiffies; in nfs_fattr_init() 2216 nfsi->read_cache_jiffies = fattr->time_start; in nfs_update_inode()
|
| H A D | nfs4proc.c | 2800 o_res->f_attr->time_start, in _nfs4_proc_open() 4990 res->dir_attr->time_start, in nfs4_proc_unlink_done() 5037 res->old_fattr->time_start, in nfs4_proc_rename_done() 5041 res->new_fattr->time_start, in nfs4_proc_rename_done() 5046 res->old_fattr->time_start, in nfs4_proc_rename_done() 5082 nfs4_update_changeattr(dir, &res.cinfo, res.fattr->time_start, in _nfs4_proc_link() 5158 data->res.fattr->time_start, in nfs4_do_create() 5179 data->res.fattr->time_start, in nfs4_do_mkdir()
|
| H A D | dir.c | 632 entry->fattr->time_start = desc->timestamp; in xdr_decode()
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_functions_graph.c | 690 usecs = iter->ts - iter->array_buffer->time_start; in print_graph_rel_time()
|
| H A D | trace_output.c | 574 unsigned long long abs_ts = iter->ts - iter->array_buffer->time_start; in lat_print_timestamp()
|
| H A D | trace.h | 216 u64 time_start; member
|
| H A D | trace.c | 1917 max_buf->time_start = data->preempt_timestamp; in __update_max_tr() 2365 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_online_cpus() 2384 buf->time_start = buffer_ftrace_now(buf, buf->cpu); in tracing_reset_all_cpus() 3891 if (ts >= iter->array_buffer->time_start) in tracing_iter_reset()
|
| /linux-6.15/include/linux/ |
| H A D | nfs_xdr.h | 75 unsigned long time_start; member
|