pub struct KPerf { /* private fields */ }Available on macOS only.
Expand description
Handle to Apple’s private kperf.framework.
Owns the dynamically loaded library and its resolved
VTable, which has the KPC function
pointers for counter configuration, sampling, and tick/nanosecond
conversion.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KPerf
impl RefUnwindSafe for KPerf
impl Send for KPerf
impl Sync for KPerf
impl Unpin for KPerf
impl UnsafeUnpin for KPerf
impl UnwindSafe for KPerf
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