Home
last modified time | relevance | path

Searched refs:sched_clock (Results 1 – 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/kernel/sched/
Dclock.c64 unsigned long long __weak sched_clock(void) in sched_clock() function
69 EXPORT_SYMBOL_GPL(sched_clock);
116 scd->tick_raw = sched_clock(); in __scd_stamp()
271 now = sched_clock(); in sched_clock_local()
371 return sched_clock() + __sched_clock_offset; in sched_clock_cpu()
374 return sched_clock(); in sched_clock_cpu()
466 return sched_clock(); in sched_clock_cpu()
Dsched_avg.c44 u64 curr_time = sched_clock(); in sched_get_nr_running_avg()
57 curr_time = sched_clock(); in sched_get_nr_running_avg()
134 curr_time = sched_clock(); in sched_update_nr_prod()
Dpsi.c190 group->avg_last_update = sched_clock(); in group_init()
426 now = sched_clock(); in psi_avgs_work()
587 now = sched_clock(); in psi_poll_work()
1020 now = sched_clock(); in psi_show()
Dcputime.c654 clock = sched_clock(); in vtime_delta()
803 vtime->starttime = sched_clock(); in vtime_task_switch_generic()
816 vtime->starttime = sched_clock(); in vtime_init_idle()
/kernel/linux/linux-5.10/include/linux/sched/
Dclock.h15 extern unsigned long long notrace sched_clock(void);
45 return sched_clock(); in cpu_clock()
50 return sched_clock(); in local_clock()
/kernel/linux/linux-5.10/Documentation/timers/
Dtimekeeping.rst2 Clock sources, Clock events, sched_clock() and delay timers
12 architecture-specific overrides of the sched_clock() function and some
18 sched_clock() is used for scheduling and timestamping, and delay timers
108 sched_clock()
112 function in the kernel called sched_clock(). This function shall return the
114 may not provide an implementation of sched_clock() on its own. If a local
116 sched_clock().
118 As the name suggests, sched_clock() is used for scheduling the system,
123 Compared to clock sources, sched_clock() has to be very fast: it is called
126 for speed in sched_clock(). It however requires some of the same basic
[all …]
/kernel/linux/linux-5.10/arch/arm/lib/
Duaccess_with_memcpy.c258 t0 = sched_clock();
260 t1 = sched_clock();
262 t2 = sched_clock();
267 t0 = sched_clock();
269 t1 = sched_clock();
271 t2 = sched_clock();
/kernel/linux/linux-5.10/kernel/locking/
Dqspinlock_stat.h110 u64 start = sched_clock(); in __pv_kick()
114 this_cpu_add(EVENT_COUNT(pv_latency_kick), sched_clock() - start); in __pv_kick()
128 sched_clock() - *pkick_time); in __pv_wait()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmshyperv.h63 static __always_inline void hv_setup_sched_clock(void *sched_clock) in hv_setup_sched_clock() argument
66 pv_ops.time.sched_clock = sched_clock; in hv_setup_sched_clock()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dpm-debug.c60 t = sched_clock(); in pm_dbg_update_time()
180 t = sched_clock(); in pwrdms_setup()
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dtime.c42 u64 sched_clock(void) in sched_clock() function
/kernel/linux/linux-5.10/arch/m68k/coldfire/
Ddma_timer.c77 unsigned long long sched_clock(void) in sched_clock() function
/kernel/linux/linux-5.10/kernel/time/
DMakefile17 obj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o
Dsched_clock.c82 unsigned long long notrace sched_clock(void) in sched_clock() function
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_clock.c42 clock = sched_clock(); in trace_clock_local()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtsc.c250 unsigned long long sched_clock(void) in sched_clock() function
257 return pv_ops.time.sched_clock == native_sched_clock; in using_native_sched_clock()
261 sched_clock(void) __attribute__((alias("native_sched_clock")));
925 cyc2ns_suspend = sched_clock(); in tsc_save_sched_clock_state()
956 offset = cyc2ns_suspend - sched_clock(); in tsc_restore_sched_clock_state()
Dnmi.c139 delta = sched_clock(); in nmi_handle()
142 delta = sched_clock() - delta; in nmi_handle()
Dkvmclock.c100 pv_ops.time.sched_clock = kvm_sched_clock_read; in kvm_sched_clock_init()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Dcsrc-octeon.c114 unsigned long long notrace sched_clock(void) in sched_clock() function
/kernel/linux/linux-5.10/kernel/bpf/
Dtrampoline.c507 start = sched_clock(); in __bpf_prog_enter()
526 stats->nsecs += sched_clock() - start; in __bpf_prog_exit()
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dtimer.c212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
/kernel/linux/linux-5.10/mm/
Dreclaimacct_show.c80 ra_show->max_delay_time = sched_clock(); in __reclaimacct_collect_data()
/kernel/linux/linux-5.10/sound/soc/mediatek/common/
Dmtk-btcvsd.c649 t1 = sched_clock(); in wait_for_bt_irq()
660 t2 = sched_clock(); in wait_for_bt_irq()
767 bt->rx->time_stamp = sched_clock(); in mtk_btcvsd_snd_read()
792 bt->tx->time_stamp = sched_clock(); in mtk_btcvsd_snd_write()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dtime.c110 unsigned long long notrace sched_clock(void) in sched_clock() function
114 NOKPROBE_SYMBOL(sched_clock);
/kernel/linux/linux-5.10/kernel/
Dsmp.c161 ts2 = sched_clock(); in csd_lock_wait_toolong()
212 ts1 = ts0 = sched_clock(); in csd_lock_wait()

123