pub struct OptimizationStats {
pub operators_before: usize,
pub operators_after: usize,
pub channels_before: usize,
pub channels_after: usize,
pub streams_created: usize,
pub operators_eliminated: usize,
}Expand description
Statistics from optimization passes
Fields§
§operators_before: usizeNumber of operators before optimization
operators_after: usizeNumber of operators after optimization
channels_before: usizeNumber of channels before
channels_after: usizeNumber of channels after
streams_created: usizeStreams created by fusion
operators_eliminated: usizeOperators eliminated
Implementations§
Source§impl OptimizationStats
impl OptimizationStats
Sourcepub fn operator_reduction_percent(&self) -> f64
pub fn operator_reduction_percent(&self) -> f64
Calculate percentage reduction in operators
Trait Implementations§
Source§impl Clone for OptimizationStats
impl Clone for OptimizationStats
Source§fn clone(&self) -> OptimizationStats
fn clone(&self) -> OptimizationStats
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 OptimizationStats
impl Debug for OptimizationStats
Source§impl Default for OptimizationStats
impl Default for OptimizationStats
Source§fn default() -> OptimizationStats
fn default() -> OptimizationStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OptimizationStats
impl RefUnwindSafe for OptimizationStats
impl Send for OptimizationStats
impl Sync for OptimizationStats
impl Unpin for OptimizationStats
impl UnwindSafe for OptimizationStats
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