Home
last modified time | relevance | path

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

/freebsd-12.1/sys/kern/
H A Dkern_synch.c437 runtime = new_switchtime - PCPU_GET(switchtime); in mi_switch()
440 PCPU_SET(switchtime, new_switchtime); in mi_switch()
H A Dkern_time.c257 uint64_t runtime, curtime, switchtime; in get_thread_cputime() local
261 switchtime = PCPU_GET(switchtime); in get_thread_cputime()
265 runtime += curtime - switchtime; in get_thread_cputime()
284 runtime += cpu_ticks() - PCPU_GET(switchtime); in get_process_cputime()
H A Dkern_resource.c824 runtime = u - PCPU_GET(switchtime); in calcru()
827 PCPU_SET(switchtime, u); in calcru()
856 runtime = u - PCPU_GET(switchtime); in rufetchtd()
859 PCPU_SET(switchtime, u); in rufetchtd()
H A Dkern_clock.c696 runtime = new_switchtime - PCPU_GET(switchtime); in statclock()
699 PCPU_SET(switchtime, new_switchtime); in statclock()
H A Dkern_thread.c599 runtime = new_switchtime - PCPU_GET(switchtime); in thread_exit()
602 PCPU_SET(switchtime, new_switchtime); in thread_exit()
H A Dinit_main.c652 PCPU_SET(switchtime, cpu_ticks()); in proc0_post()
H A Dsched_4bsd.c1647 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
H A Dsched_ule.c2858 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
/freebsd-12.1/sys/x86/acpica/
H A Dacpi_wakeup.c331 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
/freebsd-12.1/sys/x86/x86/
H A Dmp_x86.c1483 PCPU_SET(switchtime, 0); in cpususpend_handler()