Instance Propertynmggithub.kass 3.2.4MachCore
owningHost
The host that the processor is in.
let owningHost: Mach.Host
The host that the processor is in.
let owningHost: Mach.Host
import MachCore
The core module for interacting with the Mach kernel.
class ProcessorSet
A set of processors in a host.
struct Mach
The Mach kernel.
class Host
A host.
init(named name: processor_set_t, inHost host: Mach.Host)
Represents an processor set existing in a host.
static func `default`(inHost host: Mach.Host = .current) throws -> ProcessorSet
Gets the default processor set for a host.
var controlPort: ProcessorSetControl { get throws }
The processor set’s control port.
var info: Mach.ProcessorSetInfoManager { get }
The info of the processor set.
var statistics: Mach.ProcessorSetStatisticsManager { get }
The statistics of the processor set.