/kernel/linux/linux-6.6/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() 54 return sched_clock(); in cpu_clock() 64 return sched_clock(); in local_clock() 72 * between local_clock() and sched_clock(). 103 * An i/f to runtime opt-in for irq time accounting based off of sched_clock.
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | clock.c | 3 * sched_clock() for unstable CPU clocks 36 * The implementation either uses sched_clock() when 38 * sched_clock() is assumed to provide these properties (mostly it means 45 * - sched_clock() 48 * We use GTOD as base and use sched_clock() deltas to improve resolution. The 57 #include <linux/sched_clock.h> 64 unsigned long long __weak sched_clock(void) in sched_clock() function 69 EXPORT_SYMBOL_GPL(sched_clock); variable 85 * We want: ktime_get_ns() + __gtod_offset == sched_clock() + __sched_clock_offset 116 scd->tick_raw = sched_clock(); in __scd_stamp() [all...] |
H A D | sched_avg.c | 44 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()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | clock.h | 10 * sched_clock() has no promise of monotonicity or bounded drift between 15 extern unsigned long long notrace sched_clock(void); 45 return sched_clock(); in cpu_clock() 50 return sched_clock(); in local_clock() 58 * between local_clock() and sched_clock(). 90 * An i/f to runtime opt-in for irq time accounting based off of sched_clock.
|
/kernel/linux/linux-5.10/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 229 * Note that a fairly precise sched_clock() implementation is needed 258 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-6.6/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 222 * Note that a fairly precise sched_clock() implementation is needed 251 t0 = sched_clock(); 253 t1 = sched_clock(); 255 t2 = sched_clock(); 260 t0 = sched_clock(); 262 t1 = sched_clock(); 264 t2 = sched_clock();
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | clock.c | 3 * sched_clock() for unstable CPU clocks 36 * The implementation either uses sched_clock() when 38 * sched_clock() is assumed to provide these properties (mostly it means 45 * - sched_clock() 48 * We use GTOD as base and use sched_clock() deltas to improve resolution. The 62 notrace unsigned long long __weak sched_clock(void) in sched_clock() function 67 EXPORT_SYMBOL_GPL(sched_clock); variable 83 * We want: ktime_get_ns() + __gtod_offset == sched_clock() + __sched_clock_offset 114 scd->tick_raw = sched_clock(); in __scd_stamp() 133 printk(KERN_INFO "sched_clock in __set_sched_clock_stable() [all...] |
H A D | sched_avg.c | 44 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | hyperv_timer.c | 18 #include <linux/sched_clock.h> 501 static __always_inline void hv_setup_sched_clock(void *sched_clock) in hv_setup_sched_clock() argument 508 sched_clock_register(sched_clock, 64, NSEC_PER_SEC); in hv_setup_sched_clock() 511 static __always_inline void hv_setup_sched_clock(void *sched_clock) in hv_setup_sched_clock() argument 514 paravirt_set_sched_clock(sched_clock); in hv_setup_sched_clock() 517 static __always_inline void hv_setup_sched_clock(void *sched_clock) {} in hv_setup_sched_clock() argument
|
H A D | timer-versatile.c | 11 #include <linux/sched_clock.h>
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | mshyperv.h | 63 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/ |
H A D | pm-debug.c | 60 t = sched_clock(); in pm_dbg_update_time() 180 t = sched_clock(); in pwrdms_setup()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | timer-versatile.c | 11 #include <linux/sched_clock.h>
|
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
H A D | time.c | 42 u64 sched_clock(void) in sched_clock() function
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | csrc-ioasic.c | 8 #include <linux/sched_clock.h>
|
H A D | csrc-bcm1480.c | 6 #include <linux/sched_clock.h>
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | csrc-ioasic.c | 8 #include <linux/sched_clock.h>
|
H A D | csrc-bcm1480.c | 6 #include <linux/sched_clock.h>
|
/kernel/linux/linux-5.10/arch/microblaze/kernel/ |
H A D | timer.c | 16 #include <linux/sched_clock.h> 212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
|
/kernel/linux/linux-6.6/arch/microblaze/kernel/ |
H A D | timer.c | 16 #include <linux/sched_clock.h> 212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | sched_clock.c | 3 * Generic sched_clock() support, to extend low level hardware time 16 #include <linux/sched_clock.h> 23 * struct clock_data - all data needed for sched_clock() (including 28 * @read_data: Data required to read from sched_clock. 82 unsigned long long notrace sched_clock(void) in sched_clock() function 102 * sched_clock() will never observe mis-matched data even if called from 104 * steering sched_clock() to one or the other using a sequence counter. 105 * In order to preserve the data cache profile of sched_clock() as much 125 * Atomically update the sched_clock() epoch. 164 /* Cannot register a sched_clock wit in sched_clock_register() [all...] |
/kernel/linux/linux-6.6/kernel/time/ |
H A D | sched_clock.c | 3 * Generic sched_clock() support, to extend low level hardware time 17 #include <linux/sched_clock.h> 24 * struct clock_data - all data needed for sched_clock() (including 29 * @read_data: Data required to read from sched_clock. 101 unsigned long long notrace sched_clock(void) in sched_clock() function 113 * sched_clock() will never observe mis-matched data even if called from 115 * steering sched_clock() to one or the other using a sequence counter. 116 * In order to preserve the data cache profile of sched_clock() as much 136 * Atomically update the sched_clock() epoch. 175 /* Cannot register a sched_clock wit in sched_clock_register() [all...] |