Home
last modified time | relevance | path

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

/linux-4.4.14/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.c354 sched_clk = sched_clock(); in sched_debug_header()
Dcore.c4996 idle->se.exec_start = sched_clock(); in init_idle()
/linux-4.4.14/arch/arm/lib/
Duaccess_with_memcpy.c256 t0 = sched_clock();
258 t1 = sched_clock();
260 t2 = sched_clock();
265 t0 = sched_clock();
267 t1 = sched_clock();
269 t2 = sched_clock();
/linux-4.4.14/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.4.14/arch/cris/kernel/
Dtime.c58 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/c6x/kernel/
Dtime.c45 u64 sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/arm/mach-omap2/
Dpm-debug.c70 t = sched_clock(); in pm_dbg_update_time()
209 t = sched_clock(); in pwrdms_setup()
/linux-4.4.14/arch/mn10300/kernel/
Dtime.c37 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/x86/kernel/
Dkvmclock.c104 pv_time_ops.sched_clock = kvm_clock_read; in kvm_sched_clock_init()
109 pv_time_ops.sched_clock = kvm_sched_clock_read; in kvm_sched_clock_init()
Dtsc.c318 unsigned long long sched_clock(void) in sched_clock() function
324 sched_clock(void) __attribute__((alias("native_sched_clock")));
856 cyc2ns_suspend = sched_clock(); in tsc_save_sched_clock_state()
887 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()
Dkvm.c663 return sched_clock(); in spin_time_start()
683 delta = sched_clock() - start; in spin_time_accum_blocked()
Dparavirt.c329 .sched_clock = native_sched_clock,
/linux-4.4.14/arch/m68k/coldfire/
Ddma_timer.c76 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/kernel/trace/
Dtrace_clock.c40 clock = sched_clock(); in trace_clock_local()
/linux-4.4.14/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.4.14/drivers/clocksource/
DKconfig93 Use the Multi Timer Unit as the sched_clock.
103 bool "Clocksource PRCMU Timer sched_clock"
107 Use the always on PRCMU Timer as sched_clock
178 Use ARM global timer clock source as sched_clock
Dmetag_generic.c87 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/frv/kernel/
Dtime.c119 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/drivers/net/irda/
Dpxaficp_ir.c361 si->last_clk = sched_clock(); in pxa_irda_sir_irq()
373 si->last_clk = sched_clock(); in pxa_irda_sir_irq()
390 si->last_clk = sched_clock(); in pxa_irda_sir_irq()
443 si->last_clk = sched_clock(); in pxa_irda_fir_dma_tx_irq()
546 si->last_clk = sched_clock(); in pxa_irda_fir_irq()
623 while ((sched_clock() - si->last_clk) * 1000 < mtt) in pxa_irda_hard_xmit()
/linux-4.4.14/arch/mips/cavium-octeon/
Dcsrc-octeon.c108 unsigned long long notrace sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/unicore32/kernel/
Dpuv3-core.c36 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/tile/kernel/
Dtime.c219 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/microblaze/kernel/
Dtimer.c217 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
/linux-4.4.14/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.4.14/arch/blackfin/kernel/
Dtime-ts.c117 notrace unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/drivers/perf/
Darm_pmu.c342 start_clock = sched_clock(); in armpmu_dispatch_irq()
347 finish_clock = sched_clock(); in armpmu_dispatch_irq()
/linux-4.4.14/arch/x86/xen/
Dtime.c456 .sched_clock = xen_clocksource_read,
/linux-4.4.14/arch/s390/kernel/
Dtime.c67 unsigned long long notrace sched_clock(void) in sched_clock() function
71 NOKPROBE_SYMBOL(sched_clock);
78 return sched_clock(); in monotonic_clock()
/linux-4.4.14/arch/sparc/kernel/
Dtime_64.c808 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.4.14/arch/arm/probes/kprobes/
Dtest-core.c567 t0 = sched_clock(); in benchmark()
570 t = sched_clock() - t0; in benchmark()
/linux-4.4.14/block/
Dcfq-iosched.c492 now = sched_clock(); in CFQG_FLAG_FNS()
509 stats->start_group_wait_time = sched_clock(); in cfqg_stats_set_start_group_wait_time()
521 now = sched_clock(); in cfqg_stats_end_empty_time()
548 stats->start_empty_time = sched_clock(); in cfqg_stats_set_start_empty_time()
557 unsigned long long now = sched_clock(); in cfqg_stats_update_idle_time()
572 stats->start_idle_time = sched_clock(); in cfqg_stats_set_start_idle_time()
693 unsigned long long now = sched_clock(); in cfqg_stats_update_completion()
/linux-4.4.14/arch/x86/include/asm/
Dparavirt_types.h103 unsigned long long (*sched_clock)(void); member
Dparavirt.h189 return PVOP_CALL0(unsigned long long, pv_time_ops.sched_clock); in paravirt_sched_clock()
/linux-4.4.14/include/linux/
Dblkdev.h1428 req->start_time_ns = sched_clock(); in set_start_time_ns()
1435 req->io_start_time_ns = sched_clock(); in set_io_start_time_ns()
Dsched.h2265 extern unsigned long long notrace sched_clock(void);
/linux-4.4.14/arch/arm/mm/
Dproc-xsc3.S460 mov r0, #1 << 6 @ cp6 access for early sched_clock
/linux-4.4.14/arch/powerpc/kernel/
Dtime.c625 unsigned long long sched_clock(void) in sched_clock() function
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event.c1457 start_clock = sched_clock(); in perf_event_nmi_handler()
1459 finish_clock = sched_clock(); in perf_event_nmi_handler()
/linux-4.4.14/init/
DKconfig870 # Architectures with an unreliable sched_clock() should select this: