pub struct BottleneckAnalysis {
pub primary_bottleneck: OperationType,
pub time_distribution: HashMap<OperationType, f64>,
pub high_variance_operations: Vec<(OperationType, f64)>,
pub total_runtime: Duration,
}
Expand description
Bottleneck analysis results
Fields§
§primary_bottleneck: OperationType
§time_distribution: HashMap<OperationType, f64>
§high_variance_operations: Vec<(OperationType, f64)>
§total_runtime: Duration
Implementations§
Source§impl BottleneckAnalysis
impl BottleneckAnalysis
pub fn print_analysis(&self)
Trait Implementations§
Source§impl Clone for BottleneckAnalysis
impl Clone for BottleneckAnalysis
Source§fn clone(&self) -> BottleneckAnalysis
fn clone(&self) -> BottleneckAnalysis
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 BottleneckAnalysis
impl RefUnwindSafe for BottleneckAnalysis
impl Send for BottleneckAnalysis
impl Sync for BottleneckAnalysis
impl Unpin for BottleneckAnalysis
impl UnwindSafe for BottleneckAnalysis
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