pub struct FusionStats {
pub total_candidates: usize,
pub total_memory_savings: usize,
pub avg_benefit_score: f64,
pub pattern_distribution: HashMap<FusionPattern, usize>,
}Expand description
Fusion statistics.
Fields§
§total_candidates: usizeTotal number of fusion candidates found
total_memory_savings: usizeTotal estimated memory savings (bytes)
avg_benefit_score: f64Average benefit score
pattern_distribution: HashMap<FusionPattern, usize>Distribution of fusion patterns
Trait Implementations§
Source§impl Clone for FusionStats
impl Clone for FusionStats
Source§fn clone(&self) -> FusionStats
fn clone(&self) -> FusionStats
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 moreSource§impl Debug for FusionStats
impl Debug for FusionStats
Source§impl<'de> Deserialize<'de> for FusionStats
impl<'de> Deserialize<'de> for FusionStats
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
Auto Trait Implementations§
impl Freeze for FusionStats
impl RefUnwindSafe for FusionStats
impl Send for FusionStats
impl Sync for FusionStats
impl Unpin for FusionStats
impl UnwindSafe for FusionStats
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