Searched refs:switchtime (Results 1 – 11 of 11) sorted by relevance
| /src/sys/kern/ |
| H A D | kern_synch.c | 511 runtime = new_switchtime - PCPU_GET(switchtime); in mi_switch() 514 PCPU_SET(switchtime, new_switchtime); in mi_switch()
|
| H A D | kern_time.c | 255 uint64_t runtime, curtime, switchtime; in kern_thread_cputime() local 259 switchtime = PCPU_GET(switchtime); in kern_thread_cputime() 263 runtime += curtime - switchtime; in kern_thread_cputime() 284 runtime += cpu_ticks() - PCPU_GET(switchtime); in kern_process_cputime()
|
| H A D | kern_clock.c | 755 runtime = new_switchtime - PCPU_GET(switchtime); in statclock() 758 PCPU_SET(switchtime, new_switchtime); in statclock()
|
| H A D | kern_resource.c | 959 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 D | kern_thread.c | 1021 runtime = new_switchtime - PCPU_GET(switchtime); in thread_exit() 1024 PCPU_SET(switchtime, new_switchtime); in thread_exit()
|
| H A D | init_main.c | 688 PCPU_SET(switchtime, cpu_ticks()); in proc0_post()
|
| H A D | sched_4bsd.c | 1694 PCPU_SET(switchtime, cpu_ticks()); in sched_4bsd_ap_entry()
|
| H A D | sched_ule.c | 3219 PCPU_SET(switchtime, cpu_ticks()); in sched_ule_ap_entry()
|
| /src/sys/i386/acpica/ |
| H A D | acpi_wakeup.c | 286 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
|
| /src/sys/amd64/acpica/ |
| H A D | acpi_wakeup.c | 274 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
|
| /src/sys/x86/x86/ |
| H A D | mp_x86.c | 1669 PCPU_SET(switchtime, 0); in cpususpend_handler()
|