Instance Methodnmggithub.kass 3.2.4MachCore
get(_:as:)
Gets the value of a clock attribute.
func get<DataType>(_ attribute: Mach.ClockAttribute, as type: DataType.Type = DataType.self) throws -> DataType where DataType : BitwiseCopyable
Gets the value of a clock attribute.
func get<DataType>(_ attribute: Mach.ClockAttribute, as type: DataType.Type = DataType.self) throws -> DataType where DataType : BitwiseCopyable
s8MachCore0A0V21ClockAttributeManagerV3get_2asxAC0cD0V_xmtKs15BitwiseCopyableRzlF
What are these?5K0MS
import MachCore
The core module for interacting with the Mach kernel.
struct ClockAttributeManager
A clock attribute manager.
struct Mach
The Mach kernel.
struct ClockAttribute
A type of clock attribute.
protocol BitwiseCopyable
init(port: Mach.Clock)
Creates a clock attribute manager.
let port: Mach.Clock
The clock port.