pub struct NativeHeapLifecycleProbe { /* private fields */ }Expand description
Multi-cycle native heap lifecycle probe capturing baseline, post-drain live bytes, and per-cycle slope.
Implementations§
Source§impl NativeHeapLifecycleProbe
impl NativeHeapLifecycleProbe
pub fn get_cycles(&self) -> u64
pub fn get_baseline_live_bytes(&self) -> u64
pub fn get_after_drain_live_bytes(&self) -> u64
pub fn get_live_bytes_slope_per_cycle(&self) -> f64
pub fn get_baseline_live_allocations(&self) -> u64
pub fn get_after_drain_live_allocations(&self) -> u64
pub fn get_live_allocations_slope_per_cycle(&self) -> f64
pub fn get_peak_live_bytes(&self) -> u64
pub fn get_total_alloc_count(&self) -> u64
pub fn get_total_free_count(&self) -> u64
pub fn get_total_bytes_allocated(&self) -> u64
Trait Implementations§
Source§impl Clone for NativeHeapLifecycleProbe
impl Clone for NativeHeapLifecycleProbe
impl Copy for NativeHeapLifecycleProbe
Source§impl Debug for NativeHeapLifecycleProbe
impl Debug for NativeHeapLifecycleProbe
Source§impl Default for NativeHeapLifecycleProbe
impl Default for NativeHeapLifecycleProbe
Source§impl<'de> Deserialize<'de> for NativeHeapLifecycleProbe
impl<'de> Deserialize<'de> for NativeHeapLifecycleProbe
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NativeHeapLifecycleProbe
impl PartialEq for NativeHeapLifecycleProbe
Source§impl Serialize for NativeHeapLifecycleProbe
impl Serialize for NativeHeapLifecycleProbe
impl StructuralPartialEq for NativeHeapLifecycleProbe
Auto Trait Implementations§
impl Forget for NativeHeapLifecycleProbe
impl Freeze for NativeHeapLifecycleProbe
impl Move for NativeHeapLifecycleProbe
impl RefUnwindSafe for NativeHeapLifecycleProbe
impl Send for NativeHeapLifecycleProbe
impl Sync for NativeHeapLifecycleProbe
impl Unpin for NativeHeapLifecycleProbe
impl UnsafeUnpin for NativeHeapLifecycleProbe
impl UnwindSafe for NativeHeapLifecycleProbe
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