Home
last modified time | relevance | path

Searched refs:switchtime (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/kern/
H A Dkern_synch.c527 runtime = new_switchtime - PCPU_GET(switchtime); in mi_switch()
530 PCPU_SET(switchtime, new_switchtime); in mi_switch()
H A Dkern_clock.c710 runtime = new_switchtime - PCPU_GET(switchtime); in statclock()
713 PCPU_SET(switchtime, new_switchtime); in statclock()
H A Dkern_time.c253 uint64_t runtime, curtime, switchtime; in kern_thread_cputime() local
257 switchtime = PCPU_GET(switchtime); in kern_thread_cputime()
261 runtime += curtime - switchtime; in kern_thread_cputime()
282 runtime += cpu_ticks() - PCPU_GET(switchtime); in kern_process_cputime()
H A Dkern_resource.c835 runtime = u - PCPU_GET(switchtime); in calcru()
838 PCPU_SET(switchtime, u); in calcru()
867 runtime = u - PCPU_GET(switchtime); in rufetchtd()
870 PCPU_SET(switchtime, u); in rufetchtd()
H A Dkern_thread.c934 runtime = new_switchtime - PCPU_GET(switchtime); in thread_exit()
937 PCPU_SET(switchtime, new_switchtime); in thread_exit()
H A Dinit_main.c661 PCPU_SET(switchtime, cpu_ticks()); in proc0_post()
H A Dsched_4bsd.c1676 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
H A Dsched_ule.c2906 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
/f-stack/freebsd/x86/acpica/
H A Dacpi_wakeup.c332 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
/f-stack/freebsd/x86/x86/
H A Dmp_x86.c1586 PCPU_SET(switchtime, 0); in cpususpend_handler()