Initializernmggithub.kass 3.2.4MachCore
init(named:inHost:)
Represents an processor set existing in a host.
init(named name: processor_set_t, inHost host: Mach.Host)
Represents an processor set existing in a host.
init(named name: processor_set_t, inHost host: Mach.Host)
s8MachCore0A0V12ProcessorSetC5named6inHostAEs6UInt32V_AC0G0Ctcfc
What are these?209Z3
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.
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.
let owningHost: Mach.Host
The host that the processor is in.
var statistics: Mach.ProcessorSetStatisticsManager { get }
The statistics of the processor set.