#include <mach/arm/processor_info.h> also included by <mach/mach.h>

mach/arm/processor_info.h

includes: stdint.h
4 macros · 4 typedefs · 2 structs

macroPROCESSOR_CPU_STAT

#define PROCESSOR_CPU_STAT 0x10000003
Low-level CPU statistics

macroPROCESSOR_CPU_STAT64

#define PROCESSOR_CPU_STAT64 0x10000004
Low-level CPU statistics, in full 64-bit

structprocessor_cpu_stat

size 36, align 4
uint32_tirq_ex_cnt
uint32_tipi_cnt
uint32_ttimer_cnt
uint32_tundef_ex_cnt
uint32_tunaligned_cnt
uint32_tvfp_cnt
uint32_tvfp_shortv_cnt
uint32_tdata_ex_cnt
uint32_tinstr_ex_cnt

typedefprocessor_cpu_stat_data_t

typedef struct processor_cpu_stat processor_cpu_stat_data_t

typedefprocessor_cpu_stat_t

typedef struct processor_cpu_stat *processor_cpu_stat_t

macroPROCESSOR_CPU_STAT_COUNT

#define PROCESSOR_CPU_STAT_COUNT ((mach_msg_type_number_t)
	        (sizeof(processor_cpu_stat_data_t) / sizeof(natural_t)))

structprocessor_cpu_stat64

size 80, align 4 · packed
uint64_tirq_ex_cnt
uint64_tipi_cnt
uint64_ttimer_cnt
uint64_tundef_ex_cnt
uint64_tunaligned_cnt
uint64_tvfp_cnt
uint64_tvfp_shortv_cnt
uint64_tdata_ex_cnt
uint64_tinstr_ex_cnt
uint64_tpmi_cnt

typedefprocessor_cpu_stat64_data_t

typedef struct processor_cpu_stat64 processor_cpu_stat64_data_t

typedefprocessor_cpu_stat64_t

typedef struct processor_cpu_stat64 *processor_cpu_stat64_t

macroPROCESSOR_CPU_STAT64_COUNT

#define PROCESSOR_CPU_STAT64_COUNT ((mach_msg_type_number_t)
	        (sizeof(processor_cpu_stat64_data_t) / sizeof(integer_t)))