Home
last modified time | relevance | path

Searched refs:sched_clock (Results 1 - 25 of 246) sorted by relevance

12345678910

/kernel/linux/linux-6.6/include/linux/sched/
H A Dclock.h10 * 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 Dclock.c3 * 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 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()
/kernel/linux/linux-5.10/include/linux/sched/
H A Dclock.h10 * 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 Duaccess_with_memcpy.c229 * 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 Duaccess_with_memcpy.c222 * 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 Dclock.c3 * 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 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()
/kernel/linux/linux-5.10/kernel/locking/
H A 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-6.6/kernel/locking/
H A 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-6.6/drivers/clocksource/
H A Dhyperv_timer.c18 #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 Dtimer-versatile.c11 #include <linux/sched_clock.h>
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A 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/
H A Dpm-debug.c60 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 Dpm-debug.c60 t = sched_clock(); in pm_dbg_update_time()
180 t = sched_clock(); in pwrdms_setup()
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dtimer-versatile.c11 #include <linux/sched_clock.h>
/kernel/linux/linux-5.10/arch/c6x/kernel/
H A Dtime.c42 u64 sched_clock(void) in sched_clock() function
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dcsrc-ioasic.c8 #include <linux/sched_clock.h>
H A Dcsrc-bcm1480.c6 #include <linux/sched_clock.h>
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dcsrc-ioasic.c8 #include <linux/sched_clock.h>
H A Dcsrc-bcm1480.c6 #include <linux/sched_clock.h>
/kernel/linux/linux-5.10/arch/microblaze/kernel/
H A Dtimer.c16 #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 Dtimer.c16 #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 Dsched_clock.c3 * 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 Dsched_clock.c3 * 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...]

Completed in 9 milliseconds

12345678910