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