Searched refs:switchtime (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/sys/kern/ |
| H A D | kern_synch.c | 437 runtime = new_switchtime - PCPU_GET(switchtime); in mi_switch() 440 PCPU_SET(switchtime, new_switchtime); in mi_switch()
|
| H A D | kern_time.c | 257 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 D | kern_resource.c | 824 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 D | kern_clock.c | 696 runtime = new_switchtime - PCPU_GET(switchtime); in statclock() 699 PCPU_SET(switchtime, new_switchtime); in statclock()
|
| H A D | kern_thread.c | 599 runtime = new_switchtime - PCPU_GET(switchtime); in thread_exit() 602 PCPU_SET(switchtime, new_switchtime); in thread_exit()
|
| H A D | init_main.c | 652 PCPU_SET(switchtime, cpu_ticks()); in proc0_post()
|
| H A D | sched_4bsd.c | 1647 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
|
| H A D | sched_ule.c | 2858 PCPU_SET(switchtime, cpu_ticks()); in sched_throw()
|
| /freebsd-12.1/sys/x86/acpica/ |
| H A D | acpi_wakeup.c | 331 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
|
| /freebsd-12.1/sys/x86/x86/ |
| H A D | mp_x86.c | 1483 PCPU_SET(switchtime, 0); in cpususpend_handler()
|