pub struct MemoryProfile {
pub overall_stats: MemoryStats,
pub component_stats: HashMap<String, MemoryStats>,
pub allocation_patterns: Vec<AllocationPattern>,
pub usage_history: VecDeque<(SystemTime, usize)>,
pub optimization_opportunities: Vec<OptimizationOpportunity>,
pub efficiency_analysis: EfficiencyAnalysis,
}Expand description
Memory usage profiling data for different advanced components
Fields§
§overall_stats: MemoryStatsOverall memory statistics
component_stats: HashMap<String, MemoryStats>Memory usage by component
allocation_patterns: Vec<AllocationPattern>Allocation patterns over time
usage_history: VecDeque<(SystemTime, usize)>Memory usage history (timestamp, usage_bytes)
optimization_opportunities: Vec<OptimizationOpportunity>Optimization opportunities identified
efficiency_analysis: EfficiencyAnalysisMemory efficiency analysis
Trait Implementations§
Auto 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more