Instance Methodnmggithub.kass 3.2.4MachCore
get(_:as:)
Gets the task’s inspect info.
func get<DataType>(_ flavor: task_inspect_flavor, as type: DataType.Type = DataType.self) throws -> DataType where DataType : BitwiseCopyable
Gets the task’s inspect info.
func get<DataType>(_ flavor: task_inspect_flavor, as type: DataType.Type = DataType.self) throws -> DataType where DataType : BitwiseCopyable
s8MachCore0A0V22TaskInspectInfoManagerV3get_2asxSo19task_inspect_flavorV_xmtKs15BitwiseCopyableRzlF
What are these?5FHFF
import MachCore
The core module for interacting with the Mach kernel.
struct TaskInspectInfoManager
A task inspect info manager.
struct Mach
The Mach kernel.
protocol BitwiseCopyable
init(task: Task)
Creates a task inspect info manager.
var basicCounts: task_inspect_basic_counts { get throws }
Basic CPU instruction and cycle counts.
let port: Task
The task port.