Home
last modified time | relevance | path

Searched refs:cpu_load_info (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/osfmk/kern/
H A Dhost.c506 host_cpu_load_info_t cpu_load_info; in host_statistics() local
513 MACRO_BEGIN cpu_load_info->cpu_ticks[(state)] += (uint32_t)(ticks / hz_tick_interval); \ in host_statistics()
519 cpu_load_info = (host_cpu_load_info_t)info; in host_statistics()
520 cpu_load_info->cpu_ticks[CPU_STATE_USER] = 0; in host_statistics()
521 cpu_load_info->cpu_ticks[CPU_STATE_SYSTEM] = 0; in host_statistics()
522 cpu_load_info->cpu_ticks[CPU_STATE_IDLE] = 0; in host_statistics()
523 cpu_load_info->cpu_ticks[CPU_STATE_NICE] = 0; in host_statistics()
532 processor_cpu_load_info(processor, cpu_load_info->cpu_ticks); in host_statistics()
H A Dprocessor.c871 processor_cpu_load_info_t cpu_load_info; in processor_info() local
877 cpu_load_info = (processor_cpu_load_info_t) info; in processor_info()
879 cpu_load_info->cpu_ticks[CPU_STATE_SYSTEM] = 0; in processor_info()
880 cpu_load_info->cpu_ticks[CPU_STATE_USER] = 0; in processor_info()
881 cpu_load_info->cpu_ticks[CPU_STATE_IDLE] = 0; in processor_info()
882 processor_cpu_load_info(processor, cpu_load_info->cpu_ticks); in processor_info()
883 cpu_load_info->cpu_ticks[CPU_STATE_NICE] = 0; in processor_info()