Instance Propertynmggithub.kass 3.2.4MachCore
basic
The basic info of the host.
var basic: host_basic_info { get throws }
The basic info of the host.
var basic: host_basic_info { get throws }
s8MachCore0A0V15HostInfoManagerV5basicSo05host_F5_infoVvp
What are these?TSDX
import MachCore
The core module for interacting with the Mach kernel.
struct HostInfoManager
A host info manager.
struct Mach
The Mach kernel.
var scheduling: host_sched_info { get throws }
The scheduling info of the host.
var resourceSizes: kernel_resource_sizes { get throws }
The resource sizes for the host.
var priority: host_priority_info { get throws }
The priority info of the host.
var supportsSemaphoreTraps: () { get throws }
Whether the host supports semaphore traps.
var supportsMachMsgTraps: () { get throws }
Whether the host supports Mach message traps.
var vmPurgeable: vm_purgeable_info_t { get throws }
Information about purgeable virtual memory on the host.
var canHasDebugger: host_can_has_debugger_info { get throws }
Whether the host can has debugger.
var preferredUserSpaceArchitecture: host_preferred_user_arch { get throws }
The preferred user space architecture of the host.
init(host: Mach.Host)
Creates a host info manager.
var debugInfo: Mach.HostDebugInfoInternal { get throws }
The debug info of the host.
let port: Mach.Host
The host port.
func get<DataType>(_ flavor: HostInfoFlavor, as type: DataType.Type = DataType.self) throws -> DataType where DataType : BitwiseCopyable
Gets the host’s information.