/linux/kernel/ |
H A D | delayacct.c | 100 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 D | cpufreq_stats.c | 33 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 D | clock.h | 62 static __always_inline u64 local_clock(void) in local_clock() function 97 extern u64 local_clock(void);
|
/linux/lib/ |
H A D | test_lockup.c | 174 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 D | plist.c | 233 unsigned int r = local_clock(); in plist_test()
|
/linux/fs/bcachefs/ |
H A D | time_stats.h | 118 __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 D | btree_locking.h | 92 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 D | util.c | 498 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 D | io_read.h | 135 rbio->start_time = local_clock(); in bch2_read()
|
H A D | nocow_locking.c | 85 u64 start_time = local_clock(); in __bch2_bucket_nocow_lock()
|
H A D | journal.c | 326 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 D | clock.c | 311 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 D | i915_utils.h | 288 base = local_clock(); \ 290 u64 now = local_clock(); \ 309 base = local_clock(); \
|
/linux/arch/arm/mach-bcm/ |
H A D | platsmp.c | 199 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 D | util.c | 169 now = local_clock(); in bch_time_stats_update() 203 uint64_t now = local_clock(); in bch_next_delay()
|
H A D | util.h | 300 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 D | v3d_sysfs.c | 17 u64 timestamp = local_clock(); in gpu_stats_show()
|
/linux/kernel/trace/ |
H A D | trace_clock.c | 59 return local_clock(); in trace_clock()
|
/linux/drivers/cpuidle/governors/ |
H A D | teo.c | 299 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 D | tcp_recv.c | 185 local_clock(); in rds_tcp_data_recv() 212 local_clock(); in rds_tcp_data_recv()
|
/linux/drivers/spi/ |
H A D | spi-slave-time.c | 69 ts = local_clock(); in spi_slave_time_submit()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_engine_pm.c | 119 *dt = local_clock(); in __measure_timestamps() 121 *dt = local_clock() - *dt; in __measure_timestamps()
|
/linux/mm/ |
H A D | page_owner.c | 288 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 D | report.c | 112 u64 interval_nsec = local_clock() - track->ts_nsec; in kfence_print_stack()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_irq.c | 225 timeout_ts = (local_clock() >> 10) + 100; in gt_engine_identity() 229 !time_after32(local_clock() >> 10, timeout_ts)); in gt_engine_identity()
|