Lines Matching refs:sched_clock
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.
106 unsigned long long notrace sched_clock(void)
125 * sched_clock() will never observe mis-matched data even if called from
127 * steering sched_clock() to one or the other using a sequence counter.
128 * In order to preserve the data cache profile of sched_clock() as much
150 * Atomically update the sched_clock() epoch.
188 /* Cannot register a sched_clock with interrupts on */
238 pr_info("sched_clock: %u bits at %lu%cHz, resolution %lluns, wraps every %lluns\n",
241 /* Enable IRQ time accounting if we have a fast enough sched_clock() */
247 pr_debug("Registered %pS as sched_clock source\n", read);
254 * If no sched_clock() function has been provided at that point,
263 * Start the timer to keep sched_clock() properly updated and
273 * This function makes it appear to sched_clock() as if the clock
277 * section in sched_clock(). It relies on the read_seqcount_retry()