/linux/kernel/sched/ |
A D | clock.c | 64 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()
|
A D | psi.c | 194 group->avg_last_update = sched_clock(); in group_init() 435 now = sched_clock(); in psi_avgs_work() 596 now = sched_clock(); in psi_poll_work() 1047 now = sched_clock(); in psi_show()
|
A D | cputime.c | 638 clock = sched_clock(); in vtime_delta() 787 vtime->starttime = sched_clock(); in vtime_task_switch_generic() 800 vtime->starttime = sched_clock(); in vtime_init_idle()
|
/linux/Documentation/timers/ |
A D | timekeeping.rst | 2 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() 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, 126 for speed in sched_clock(). It however requires some of the same basic 138 The clock driving sched_clock() may stop or reset to zero during system 143 The sched_clock() function should be callable in any context, IRQ- and [all …]
|
/linux/arch/arm/lib/ |
A D | uaccess_with_memcpy.c | 258 t0 = sched_clock(); 260 t1 = sched_clock(); 262 t2 = sched_clock(); 267 t0 = sched_clock(); 269 t1 = sched_clock(); 271 t2 = sched_clock();
|
/linux/include/linux/sched/ |
A D | clock.h | 15 extern unsigned long long notrace sched_clock(void); 45 return sched_clock(); in cpu_clock() 50 return sched_clock(); in local_clock()
|
/linux/kernel/locking/ |
A D | qspinlock_stat.h | 110 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()
|
/linux/drivers/clocksource/ |
A D | hyperv_timer.c | 477 static __always_inline void hv_setup_sched_clock(void *sched_clock) in hv_setup_sched_clock() argument 484 sched_clock_register(sched_clock, 64, NSEC_PER_SEC); in hv_setup_sched_clock() 487 static __always_inline void hv_setup_sched_clock(void *sched_clock) in hv_setup_sched_clock() argument 490 paravirt_set_sched_clock(sched_clock); in hv_setup_sched_clock() 493 static __always_inline void hv_setup_sched_clock(void *sched_clock) {} in hv_setup_sched_clock() argument
|
/linux/arch/arm/mach-omap2/ |
A D | pm-debug.c | 60 t = sched_clock(); in pm_dbg_update_time() 180 t = sched_clock(); in pwrdms_setup()
|
/linux/kernel/time/ |
A D | .sched_clock.o.cmd | 1 …sched_clock.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/… 3 source_kernel/time/sched_clock.o := kernel/time/sched_clock.c 5 deps_kernel/time/sched_clock.o := \ 805 include/linux/sched_clock.h \ 809 kernel/time/sched_clock.o: $(deps_kernel/time/sched_clock.o) 811 $(deps_kernel/time/sched_clock.o):
|
A D | built-in.a | 22 sched_clock.o/
|
A D | Makefile | 17 obj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o
|
A D | .built-in.a.cmd | 1 …time/tick-broadcast.o kernel/time/tick-broadcast-hrtimer.o kernel/time/sched_clock.o kernel/time/t…
|
A D | sched_clock.c | 82 unsigned long long notrace sched_clock(void) in sched_clock() function
|
/linux/arch/m68k/coldfire/ |
A D | dma_timer.c | 77 unsigned long long sched_clock(void) in sched_clock() function
|
/linux/kernel/trace/ |
A D | trace_clock.c | 42 clock = sched_clock(); in trace_clock_local()
|
/linux/arch/x86/kernel/ |
A D | nmi.c | 139 delta = sched_clock(); in nmi_handle() 142 delta = sched_clock() - delta; in nmi_handle()
|
A D | tsc.c | 251 unsigned long long sched_clock(void) in sched_clock() function 262 sched_clock(void) __attribute__((alias("native_sched_clock"))); 926 cyc2ns_suspend = sched_clock(); in tsc_save_sched_clock_state() 957 offset = cyc2ns_suspend - sched_clock(); in tsc_restore_sched_clock_state()
|
/linux/arch/mips/cavium-octeon/ |
A D | csrc-octeon.c | 114 unsigned long long notrace sched_clock(void) in sched_clock() function
|
/linux/sound/soc/mediatek/common/ |
A D | mtk-btcvsd.c | 649 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()
|
/linux/arch/microblaze/kernel/ |
A D | timer.c | 212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
|
/linux/kernel/bpf/ |
A D | trampoline.c | 535 start = sched_clock(); in bpf_prog_start_time() 594 u64_stats_add(&stats->nsecs, sched_clock() - start); in update_prog_stats()
|
/linux/arch/s390/kernel/ |
A D | time.c | 108 unsigned long long notrace sched_clock(void) in sched_clock() function 112 NOKPROBE_SYMBOL(sched_clock);
|
/linux/arch/x86/events/amd/ |
A D | ibs.c | 716 u64 stamp = sched_clock(); in perf_ibs_nmi_handler() 725 perf_sample_event_took(sched_clock() - stamp); in perf_ibs_nmi_handler()
|
/linux/drivers/perf/ |
A D | arm_pmu.c | 428 start_clock = sched_clock(); in armpmu_dispatch_irq() 430 finish_clock = sched_clock(); in armpmu_dispatch_irq()
|