Home
last modified time | relevance | path

Searched refs:local_clock (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v6.6/kernel/
Ddelayacct.c101 s64 ns = local_clock() - *start; in delayacct_end()
114 current->delays->blkio_start = local_clock(); in __delayacct_blkio_start()
209 current->delays->freepages_start = local_clock(); in __delayacct_freepages_start()
227 current->delays->thrashing_start = local_clock(); in __delayacct_thrashing_start()
244 current->delays->swapin_start = local_clock(); in __delayacct_swapin_start()
257 current->delays->compact_start = local_clock(); in __delayacct_compact_start()
270 current->delays->wpcopy_start = local_clock(); in __delayacct_wpcopy_start()
Dtorture.c457 trsp->trs_state += (unsigned long)local_clock() + raw_smp_processor_id(); in torture_random()
/Linux-v6.6/drivers/cpufreq/
Dcpufreq_stats.c33 unsigned long long cur_time = local_clock(); in cpufreq_stats_update()
45 stats->last_time = local_clock(); in cpufreq_stats_reset_table()
85 time = local_clock() - READ_ONCE(stats->reset_time); in show_time_in_state()
92 time += local_clock() - stats->last_time; in show_time_in_state()
112 WRITE_ONCE(stats->reset_time, local_clock()); in store_reset()
251 stats->last_time = local_clock(); in cpufreq_stats_create_table()
/Linux-v6.6/include/linux/sched/
Dclock.h62 static __always_inline u64 local_clock(void) in local_clock() function
97 extern u64 local_clock(void);
/Linux-v6.6/lib/
Dtest_lockup.c174 wait_start = local_clock(); in test_lock()
231 s64 cur_wait = local_clock() - wait_start; in test_lock()
351 u64 lockup_start = local_clock(); in test_lockup()
396 local_clock() - lockup_start); in test_lockup()
456 u64 test_start = local_clock(); in test_lockup_init()
606 pr_notice("FINISH in %llu ns\n", local_clock() - test_start); in test_lockup_init()
Dplist.c223 unsigned int r = local_clock(); in plist_test()
/Linux-v6.6/kernel/sched/
Dclock.c311 u64 local_clock(void) in local_clock() function
319 EXPORT_SYMBOL_GPL(local_clock);
504 return local_clock(); in running_clock()
/Linux-v6.6/arch/arm/mach-bcm/
Dplatsmp.c199 start_clock = local_clock(); in kona_boot_secondary()
201 timeout = local_clock() - start_clock > SECONDARY_TIMEOUT_NS; in kona_boot_secondary()
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_utils.h306 base = local_clock(); \
308 u64 now = local_clock(); \
327 base = local_clock(); \
/Linux-v6.6/drivers/md/bcache/
Dutil.c169 now = local_clock(); in bch_time_stats_update()
203 uint64_t now = local_clock(); in bch_next_delay()
Dutil.h364 return local_clock() >> 10; in local_clock_us()
389 ? div_s64(local_clock() - (stats)->last, \
431 d->next = local_clock(); in bch_ratelimit_reset()
Dbset.c1254 start_time = local_clock(); in __btree_sort()
1325 uint64_t start_time = local_clock(); in bch_btree_sort_into()
/Linux-v6.6/kernel/trace/
Dtrace_clock.c59 return local_clock(); in trace_clock()
/Linux-v6.6/net/rds/
Dtcp_recv.c185 local_clock(); in rds_tcp_data_recv()
212 local_clock(); in rds_tcp_data_recv()
Drecv.c386 inc->i_rx_lat_trace[RDS_MSG_RX_END] = local_clock(); in rds_recv_incoming()
580 inc->i_rx_lat_trace[RDS_MSG_RX_CMSG] = local_clock(); in rds_cmsg_recv()
Dib_recv.c929 local_clock(); in rds_ib_process_recv()
933 local_clock(); in rds_ib_process_recv()
/Linux-v6.6/drivers/spi/
Dspi-slave-time.c69 ts = local_clock(); in spi_slave_time_submit()
/Linux-v6.6/drivers/cpuidle/governors/
Dteo.c398 cpu_data->time_span_ns = local_clock(); in teo_select()
657 cpu_data->time_span_ns = local_clock() - cpu_data->time_span_ns; in teo_reflect()
/Linux-v6.6/include/net/
Dbusy_poll.h67 return (unsigned long)(local_clock() >> 10); in busy_loop_current_time()
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dselftest_engine_pm.c119 *dt = local_clock(); in __measure_timestamps()
121 *dt = local_clock() - *dt; in __measure_timestamps()
Dintel_gt_irq.c46 timeout_ts = (local_clock() >> 10) + 100; in gen11_gt_engine_identity()
50 !time_after32(local_clock() >> 10, timeout_ts)); in gen11_gt_engine_identity()
/Linux-v6.6/drivers/gpu/drm/tiny/
Drepaper.c457 u64 start = local_clock(); in repaper_frame_fixed_repeat()
462 } while (local_clock() < end); in repaper_frame_fixed_repeat()
468 u64 start = local_clock(); in repaper_frame_data_repeat()
473 } while (local_clock() < end); in repaper_frame_data_repeat()
/Linux-v6.6/mm/
Dpage_owner.c143 u64 free_ts_nsec = local_clock(); in __reset_page_owner()
166 u64 ts_nsec = local_clock(); in __set_page_owner_handle()
/Linux-v6.6/drivers/firmware/tegra/
Dbpmp.c166 start = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
172 now = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
/Linux-v6.6/kernel/irq/
Dinternals.h393 irq_timings_push(local_clock(), irq_desc_get_irq(desc)); in record_irq_time()

123