pub struct MemoryProfile {
pub operation_name: String,
pub peak_estimated_usage_mb: f64,
pub average_usage_mb: f64,
pub allocation_hotspots: Vec<String>,
}Expand description
Memory usage pattern analysis
Fields§
§operation_name: StringName of the operation profiled
peak_estimated_usage_mb: f64Peak estimated memory usage in megabytes
average_usage_mb: f64Average memory usage in megabytes
allocation_hotspots: Vec<String>Identified allocation hotspots
Implementations§
Trait Implementations§
Source§impl Clone for MemoryProfile
impl Clone for MemoryProfile
Source§fn clone(&self) -> MemoryProfile
fn clone(&self) -> MemoryProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemoryProfile
impl RefUnwindSafe for MemoryProfile
impl Send for MemoryProfile
impl Sync for MemoryProfile
impl Unpin for MemoryProfile
impl UnwindSafe for MemoryProfile
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