| /linux/include/linux/sched/ |
| H A D | clock.h | 10 * sched_clock() has no promise of monotonicity or bounded drift between 15 extern u64 sched_clock(void); 22 return sched_clock(); in sched_clock_noinstr() 59 return sched_clock(); in local_clock_noinstr() 69 return sched_clock(); 77 * between local_clock() and sched_clock(). 108 * An i/f to runtime opt-in for irq time accounting based off of sched_clock.
|
| /linux/Documentation/timers/ |
| H 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() 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 …]
|
| /linux/kernel/locking/ |
| H 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/arch/arm/mach-omap2/ |
| H A D | pm-debug.c | 60 t = sched_clock(); in pm_dbg_update_time() 180 t = sched_clock(); in pwrdms_setup()
|
| /linux/arch/powerpc/lib/ |
| H A D | qspinlock.c | 67 u64 delta = sched_clock() - seen; in recently_sleepy() 240 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_owner() 249 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_lock() 256 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_node()
|
| /linux/arch/m68k/coldfire/ |
| H A D | dma_timer.c | 77 unsigned long long sched_clock(void) in sched_clock() function
|
| /linux/kernel/trace/ |
| H A D | trace_clock.c | 42 clock = sched_clock(); in trace_clock_local()
|
| /linux/arch/x86/kernel/ |
| H A D | nmi.c | 162 delta = sched_clock(); in nmi_handle() 165 delta = sched_clock() - delta; in nmi_handle()
|
| /linux/kernel/sched/ |
| H A D | psi.c | 208 group->avg_last_update = sched_clock(); in group_init() 590 now = sched_clock(); in psi_avgs_work() 661 now = sched_clock(); in psi_rtpoll_work() 1261 now = sched_clock(); in psi_show() 1351 window_reset(&t->win, sched_clock(), in psi_trigger_create()
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | csrc-octeon.c | 114 unsigned long long notrace sched_clock(void) in sched_clock() function
|
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-btcvsd.c | 645 t1 = sched_clock(); in wait_for_bt_irq() 656 t2 = sched_clock(); in wait_for_bt_irq() 758 bt->rx->time_stamp = sched_clock(); in mtk_btcvsd_snd_read() 781 bt->tx->time_stamp = sched_clock(); in mtk_btcvsd_snd_write()
|
| /linux/arch/microblaze/kernel/ |
| H A D | timer.c | 212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
|
| /linux/drivers/perf/ |
| H A D | arm_pmu.c | 448 start_clock = sched_clock(); in armpmu_dispatch_irq() 450 finish_clock = sched_clock(); in armpmu_dispatch_irq()
|
| H A D | riscv_pmu_sbi.c | 1053 u64 start_clock = sched_clock(); in pmu_sbi_ovf_handler() 1143 perf_sample_event_took(sched_clock() - start_clock); in pmu_sbi_ovf_handler()
|
| /linux/arch/arm/probes/kprobes/ |
| H A D | test-core.c | 508 t0 = sched_clock(); in benchmark() 511 t = sched_clock() - t0; in benchmark()
|
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 1221 start = sched_clock(); in __bpf_prog_enter_sleepable_recur() 1270 duration = sched_clock() - start; in __bpf_prog_exit_sleepable()
|
| /linux/arch/um/kernel/ |
| H A D | time.c | 54 notrace unsigned long long sched_clock(void) in sched_clock() function
|
| /linux/arch/powerpc/kernel/ |
| H A D | time.c | 680 notrace unsigned long long sched_clock(void) 1008 * Compute scale factor for sched_clock. in time_init() 1015 * sched_clock(). in time_init() 639 notrace unsigned long long sched_clock(void) sched_clock() function
|
| /linux/arch/sparc/kernel/ |
| H A D | perf_event.c | 1635 start_clock = sched_clock(); in perf_event_nmi_handler() 1674 finish_clock = sched_clock(); in perf_event_nmi_handler()
|
| H A D | viohs.c | 52 vio->_local_sid = (u32) sched_clock(); in send_version()
|
| H A D | ds.c | 904 new_count = sched_clock() & 0xffffffff; in register_services()
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3xxx.dtsi | 84 /* The clock source and the sched_clock provided by the arm_global_timer
|
| /linux/arch/arm/mm/ |
| H A D | proc-xsc3.S | 466 mov r0, #1 << 6 @ cp6 access for early sched_clock
|
| /linux/include/linux/ |
| H A D | filter.h | 709 u64 duration, start = sched_clock(); in __bpf_prog_run() 714 duration = sched_clock() - start; in __bpf_prog_run()
|
| /linux/arch/powerpc/perf/ |
| H A D | core-book3s.c | 2506 u64 start_clock = sched_clock(); in perf_event_interrupt() 2509 perf_sample_event_took(sched_clock() - start_clock); in perf_event_interrupt()
|