Home
last modified time | relevance | path

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

/freebsd-14.2/sys/kern/
H A Dkern_synch.c533 runtime = new_switchtime - PCPU_GET(switchtime); in mi_switch()
536 PCPU_SET(switchtime, new_switchtime); in mi_switch()
H A Dkern_clock.c755 runtime = new_switchtime - PCPU_GET(switchtime); in statclock()
758 PCPU_SET(switchtime, new_switchtime); in statclock()
H A Dkern_time.c256 uint64_t runtime, curtime, switchtime; in kern_thread_cputime() local
260 switchtime = PCPU_GET(switchtime); in kern_thread_cputime()
264 runtime += curtime - switchtime; in kern_thread_cputime()
285 runtime += cpu_ticks() - PCPU_GET(switchtime); in kern_process_cputime()
H A Dkern_resource.c959 runtime = u - PCPU_GET(switchtime); in calcru()
962 PCPU_SET(switchtime, u); in calcru()
991 runtime = u - PCPU_GET(switchtime); in rufetchtd()
994 PCPU_SET(switchtime, u); in rufetchtd()
H A Dkern_thread.c1012 runtime = new_switchtime - PCPU_GET(switchtime); in thread_exit()
1015 PCPU_SET(switchtime, new_switchtime); in thread_exit()
H A Dinit_main.c683 PCPU_SET(switchtime, cpu_ticks()); in proc0_post()
H A Dsched_4bsd.c1722 PCPU_SET(switchtime, cpu_ticks()); in sched_ap_entry()
H A Dsched_ule.c3112 PCPU_SET(switchtime, cpu_ticks()); in sched_ap_entry()
/freebsd-14.2/sys/i386/acpica/
H A Dacpi_wakeup.c286 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
/freebsd-14.2/sys/amd64/acpica/
H A Dacpi_wakeup.c276 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
/freebsd-14.2/sys/x86/x86/
H A Dmp_x86.c1638 PCPU_SET(switchtime, 0); in cpususpend_handler()