Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/kern/
Dkern_synch.c457 runtime = new_switchtime - PCPU_GET(switchtime); in mi_switch()
460 PCPU_SET(switchtime, new_switchtime); in mi_switch()
Dkern_resource.c860 runtime = u - PCPU_GET(switchtime); in calcru()
863 PCPU_SET(switchtime, u); in calcru()
892 runtime = u - PCPU_GET(switchtime); in rufetchtd()
895 PCPU_SET(switchtime, u); in rufetchtd()
Dkern_time.c258 uint64_t runtime, curtime, switchtime; in get_thread_cputime() local
262 switchtime = PCPU_GET(switchtime); in get_thread_cputime()
266 runtime += curtime - switchtime; in get_thread_cputime()
Dkern_thread.c482 runtime = new_switchtime - PCPU_GET(switchtime); in thread_exit()
485 PCPU_SET(switchtime, new_switchtime); in thread_exit()
Dinit_main.c633 PCPU_SET(switchtime, cpu_ticks()); in proc0_post()
Dsched_4bsd.c1649 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
Dsched_ule.c2708 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
/freebsd-10-stable/sys/x86/acpica/
Dacpi_wakeup.c271 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
/freebsd-10-stable/sys/i386/i386/
Dmp_machdep.c1554 PCPU_SET(switchtime, 0); in cpususpend_handler()
/freebsd-10-stable/sys/amd64/amd64/
Dmp_machdep.c1514 PCPU_SET(switchtime, 0); in cpususpend_handler()