ProcessorSetInfoManager
A processor set info manager.
struct ProcessorSetInfoManager
Creating a Processor Set Info Manager
init(processorSet: Mach.ProcessorSet
) Creates a processor set info manager.
let port: Mach.ProcessorSet
The processor set port.
General Operations
func get<DataType>(Mach.ProcessorSetInfoFlavor, as: DataType.Type
) throws -> DataType Gets the processor set’s info.
Getting Specific Info
var basic: processor_set_basic_info
The processor set’s basic information.
var enabledPolicies: policy_t
The enabled policies for the processor set.
var defaultTimesharePolicy: policy_timeshare_base
The default timeshare policy for the processor set.
var timesharePolicyLimits: policy_timeshare_limit
The limits for the timeshare policy in the processor set.
var defaultRoundRobinPolicy: policy_rr_base
The default round robin policy for the processor set.
var roundRobinPolicyLimits: policy_rr_limit
The limits for the round robin policy in the processor set.
var defaultFIFOPolicy: policy_fifo_base
The default FIFO policy for the processor set.
var fifoPolicyLimits: policy_fifo_limit
The limits for the FIFO policy in the processor set.