pub struct KPerfData { /* private fields */ }Available on macOS only.
Expand description
Handle to Apple’s private kperfdata.framework.
Owns the dynamically loaded library and its resolved
VTable. The vtable contains the
KPEP functions for opening the PMC event database for the current CPU,
looking up events by name or alias, and building the register configuration
that gets pushed to the kernel via KPerf.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KPerfData
impl RefUnwindSafe for KPerfData
impl Send for KPerfData
impl Sync for KPerfData
impl Unpin for KPerfData
impl UnsafeUnpin for KPerfData
impl UnwindSafe for KPerfData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more