Initializernmggithub.kass 3.2.4MachCore
init(processor:)
Creates a processor info manager.
init(processor: Mach.Processor)
Creates a processor info manager.
init(processor: Mach.Processor)
s8MachCore0A0V20ProcessorInfoManagerV9processorAeC0C0C_tcfc
What are these?73NFE
import MachCore
The core module for interacting with the Mach kernel.
struct ProcessorInfoManager
A processor info manager.
struct Mach
The Mach kernel.
class Processor
A processor in a host.
let port: Mach.Processor
The processor port.
var basic: Mach.ProcessorBasicInfo { get throws }
The processor’s basic information.
var cpuLoad: processor_cpu_load_info { get throws }
The processor’s CPU load information.
func get<DataType>(_ flavor: Mach.ProcessorInfoFlavor, as type: DataType.Type = DataType.self) throws -> DataType where DataType : BitwiseCopyable
Gets the processor’s info.