Home
last modified time | relevance | path

Searched refs:sched_clock (Results 1 – 48 of 48) sorted by relevance

/linux-4.1.27/kernel/sched/
Dclock.c70 unsigned long long __weak sched_clock(void) in sched_clock() function
75 EXPORT_SYMBOL_GPL(sched_clock);
201 now = sched_clock(); in sched_clock_local()
300 return sched_clock(); in sched_clock_cpu()
332 now = sched_clock(); in sched_clock_tick()
376 return sched_clock(); in cpu_clock()
391 return sched_clock(); in local_clock()
406 return sched_clock(); in sched_clock_cpu()
411 return sched_clock(); in cpu_clock()
416 return sched_clock(); in local_clock()
Ddebug.c363 sched_clk = sched_clock(); in sched_debug_header()
Dcore.c4612 idle->se.exec_start = sched_clock(); in init_idle()
/linux-4.1.27/arch/arm/lib/
Duaccess_with_memcpy.c239 t0 = sched_clock();
241 t1 = sched_clock();
243 t2 = sched_clock();
248 t0 = sched_clock();
250 t1 = sched_clock();
252 t2 = sched_clock();
/linux-4.1.27/Documentation/timers/
Dtimekeeping.txt1 Clock sources, Clock events, sched_clock() and delay timers
11 architecture-specific overrides of the sched_clock() function and some
17 sched_clock() is used for scheduling and timestamping, and delay timers
107 sched_clock()
111 function in the kernel called sched_clock(). This function shall return the
113 may not provide an implementation of sched_clock() on its own. If a local
115 sched_clock().
117 As the name suggests, sched_clock() is used for scheduling the system,
122 Compared to clock sources, sched_clock() has to be very fast: it is called
125 for speed in sched_clock(). It however requires some of the same basic
[all …]
D00-INDEX16 - Clock sources, clock events, sched_clock() and delay timer notes
/linux-4.1.27/arch/ia64/include/asm/
Dparavirt.h271 unsigned long long (*sched_clock)(void); member
295 return pv_time_ops.sched_clock(); in paravirt_sched_clock()
/linux-4.1.27/drivers/clocksource/
DKconfig84 Use the Multi Timer Unit as the sched_clock.
94 bool "Clocksource PRCMU Timer sched_clock"
98 Use the always on PRCMU Timer as sched_clock
140 Use ARM global timer clock source as sched_clock
Dmetag_generic.c106 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/c6x/kernel/
Dtime.c45 u64 sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/cris/kernel/
Dtime.c83 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/arm/mach-omap2/
Dpm-debug.c70 t = sched_clock(); in pm_dbg_update_time()
209 t = sched_clock(); in pwrdms_setup()
/linux-4.1.27/arch/mn10300/kernel/
Dtime.c37 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/kernel/trace/
Dtrace_clock.c40 clock = sched_clock(); in trace_clock_local()
/linux-4.1.27/arch/m68k/coldfire/
Ddma_timer.c76 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/x86/kernel/
Dtsc.c303 unsigned long long sched_clock(void) in sched_clock() function
309 sched_clock(void) __attribute__((alias("native_sched_clock")));
838 cyc2ns_suspend = sched_clock(); in tsc_save_sched_clock_state()
869 offset = cyc2ns_suspend - sched_clock(); in tsc_restore_sched_clock_state()
Dnmi.c131 delta = sched_clock(); in nmi_handle()
134 delta = sched_clock() - delta; in nmi_handle()
Dkvmclock.c248 pv_time_ops.sched_clock = kvm_clock_read; in kvmclock_init()
Dkvm.c630 return sched_clock(); in spin_time_start()
650 delta = sched_clock() - start; in spin_time_accum_blocked()
Dparavirt.c327 .sched_clock = native_sched_clock,
/linux-4.1.27/arch/frv/kernel/
Dtime.c119 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/kernel/time/
DMakefile10 obj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o
Dsched_clock.c96 unsigned long long notrace sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/mips/cavium-octeon/
Dcsrc-octeon.c108 unsigned long long notrace sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/unicore32/kernel/
Dpuv3-core.c36 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/arm/kernel/
Dperf_event.c332 start_clock = sched_clock(); in armpmu_dispatch_irq()
337 finish_clock = sched_clock(); in armpmu_dispatch_irq()
/linux-4.1.27/arch/tile/kernel/
Dtime.c217 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/microblaze/kernel/
Dtimer.c225 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
/linux-4.1.27/drivers/acpi/apei/
Dghes.c543 now = sched_clock(); in ghes_estatus_cached()
578 cache->time_in = sched_clock(); in ghes_estatus_cache_alloc()
612 now = sched_clock(); in ghes_estatus_cache_add()
/linux-4.1.27/arch/blackfin/kernel/
Dtime-ts.c117 notrace unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/ia64/kernel/
Dtime.c53 unsigned long long sched_clock(void) in sched_clock() function
Dparavirt.c648 .sched_clock = ia64_native_sched_clock,
Dhead.S1069 .global sched_clock
1070 sched_clock = ia64_native_sched_clock define
/linux-4.1.27/arch/s390/kernel/
Dtime.c64 unsigned long long notrace sched_clock(void) in sched_clock() function
68 NOKPROBE_SYMBOL(sched_clock);
75 return sched_clock(); in monotonic_clock()
/linux-4.1.27/arch/x86/xen/
Dtime.c474 .sched_clock = xen_clocksource_read,
/linux-4.1.27/arch/arm/probes/kprobes/
Dtest-core.c567 t0 = sched_clock(); in benchmark()
570 t = sched_clock() - t0; in benchmark()
/linux-4.1.27/block/
Dcfq-iosched.c495 now = sched_clock(); in CFQG_FLAG_FNS()
512 stats->start_group_wait_time = sched_clock(); in cfqg_stats_set_start_group_wait_time()
524 now = sched_clock(); in cfqg_stats_end_empty_time()
551 stats->start_empty_time = sched_clock(); in cfqg_stats_set_start_empty_time()
560 unsigned long long now = sched_clock(); in cfqg_stats_update_idle_time()
575 stats->start_idle_time = sched_clock(); in cfqg_stats_set_start_idle_time()
683 unsigned long long now = sched_clock(); in cfqg_stats_update_completion()
/linux-4.1.27/arch/sparc/kernel/
Dtime_64.c835 unsigned long long sched_clock(void) in sched_clock() function
Dviohs.c50 vio->_local_sid = (u32) sched_clock(); in send_version()
Dds.c899 new_count = sched_clock() & 0xffffffff; in register_services()
/linux-4.1.27/arch/x86/include/asm/
Dparavirt_types.h98 unsigned long long (*sched_clock)(void); member
Dparavirt.h192 return PVOP_CALL0(unsigned long long, pv_time_ops.sched_clock); in paravirt_sched_clock()
/linux-4.1.27/include/linux/
Dblkdev.h1418 req->start_time_ns = sched_clock(); in set_start_time_ns()
1425 req->io_start_time_ns = sched_clock(); in set_io_start_time_ns()
Dsched.h2167 extern unsigned long long notrace sched_clock(void);
/linux-4.1.27/arch/powerpc/kernel/
Dtime.c624 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.1.27/arch/arm/mm/
Dproc-xsc3.S460 mov r0, #1 << 6 @ cp6 access for early sched_clock
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event.c1435 start_clock = sched_clock(); in perf_event_nmi_handler()
1437 finish_clock = sched_clock(); in perf_event_nmi_handler()
/linux-4.1.27/init/
DKconfig891 # Architectures with an unreliable sched_clock() should select this: