Home
last modified time | relevance | path

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

123

/linux/kernel/
H A Ddelayacct.c100 s64 ns = local_clock() - *start; in delayacct_end()
113 current->delays->blkio_start = local_clock(); in __delayacct_blkio_start()
208 current->delays->freepages_start = local_clock(); in __delayacct_freepages_start()
226 current->delays->thrashing_start = local_clock(); in __delayacct_thrashing_start()
243 current->delays->swapin_start = local_clock(); in __delayacct_swapin_start()
256 current->delays->compact_start = local_clock(); in __delayacct_compact_start()
269 current->delays->wpcopy_start = local_clock(); in __delayacct_wpcopy_start()
/linux/drivers/cpufreq/
H A 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/include/linux/sched/
H A Dclock.h62 static __always_inline u64 local_clock(void) in local_clock() function
97 extern u64 local_clock(void);
/linux/lib/
H A 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()
H A Dplist.c233 unsigned int r = local_clock(); in plist_test()
/linux/fs/bcachefs/
H A Dtime_stats.h118 __bch2_time_stats_update(stats, start, local_clock()); in bch2_time_stats_update()
137 stats->last_event_start = local_clock() ?: 1; in track_event_change()
H A Dbtree_locking.h92 path->l[level].lock_taken_time = local_clock(); in mark_btree_node_locked()
121 local_clock()); in btree_trans_lock_hold_time_update()
291 path->l[b->level].lock_taken_time = local_clock(); in btree_node_lock()
H A Dutil.c498 u64 now = local_clock(); in bch2_ratelimit_delay()
512 u64 now = local_clock(); in bch2_ratelimit_increment()
561 time_after64(local_clock(), in bch2_pd_controller_update()
616 prt_printf(out, "next io:\t%llims\n", div64_s64(pd->rate.next - local_clock(), NSEC_PER_MSEC)); in bch2_pd_controller_debug_to_text()
H A Dio_read.h135 rbio->start_time = local_clock(); in bch2_read()
H A Dnocow_locking.c85 u64 start_time = local_clock(); in __bch2_bucket_nocow_lock()
H A Djournal.c326 buf->flush_time = local_clock() ?: 1; in journal_entry_want_write()
726 buf->flush_time = local_clock() ?: 1; in bch2_journal_flush_seq_async()
763 u64 start_time = local_clock(); in bch2_journal_flush_seq()
850 buf->flush_time = local_clock() ?: 1; in bch2_journal_meta()
/linux/kernel/sched/
H A Dclock.c311 u64 local_clock(void) in local_clock() function
319 EXPORT_SYMBOL_GPL(local_clock);
504 return local_clock(); in running_clock()
/linux/drivers/gpu/drm/i915/
H A Di915_utils.h288 base = local_clock(); \
290 u64 now = local_clock(); \
309 base = local_clock(); \
/linux/arch/arm/mach-bcm/
H A Dplatsmp.c199 start_clock = local_clock(); in kona_boot_secondary()
201 timeout = local_clock() - start_clock > SECONDARY_TIMEOUT_NS; in kona_boot_secondary()
/linux/drivers/md/bcache/
H A Dutil.c169 now = local_clock(); in bch_time_stats_update()
203 uint64_t now = local_clock(); in bch_next_delay()
H A Dutil.h300 return local_clock() >> 10; in local_clock_us()
325 ? div_s64(local_clock() - (stats)->last, \
367 d->next = local_clock(); in bch_ratelimit_reset()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_sysfs.c17 u64 timestamp = local_clock(); in gpu_stats_show()
/linux/kernel/trace/
H A Dtrace_clock.c59 return local_clock(); in trace_clock()
/linux/drivers/cpuidle/governors/
H A Dteo.c299 cpu_data->time_span_ns = local_clock(); in teo_select()
519 cpu_data->time_span_ns = local_clock() - cpu_data->time_span_ns; in teo_reflect()
/linux/net/rds/
H A Dtcp_recv.c185 local_clock(); in rds_tcp_data_recv()
212 local_clock(); in rds_tcp_data_recv()
/linux/drivers/spi/
H A Dspi-slave-time.c69 ts = local_clock(); in spi_slave_time_submit()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_engine_pm.c119 *dt = local_clock(); in __measure_timestamps()
121 *dt = local_clock() - *dt; in __measure_timestamps()
/linux/mm/
H A Dpage_owner.c288 u64 free_ts_nsec = local_clock(); in __reset_page_owner()
317 u64 ts_nsec = local_clock();
817 -1, local_clock(), current->pid, in init_pages_in_zone()
/linux/mm/kfence/
H A Dreport.c112 u64 interval_nsec = local_clock() - track->ts_nsec; in kfence_print_stack()
/linux/drivers/gpu/drm/xe/
H A Dxe_irq.c225 timeout_ts = (local_clock() >> 10) + 100; in gt_engine_identity()
229 !time_after32(local_clock() >> 10, timeout_ts)); in gt_engine_identity()

123