pub struct CombinerStats {
pub combine_passes: u64,
pub total_ops: u64,
pub max_batch_size: usize,
pub contention_events: u64,
}Expand description
Statistics for monitoring flat combining performance.
Fields§
§combine_passes: u64Number of combine passes executed.
total_ops: u64Total operations processed across all passes.
max_batch_size: usizeMaximum batch size seen in a single pass.
contention_events: u64Number of times a submitter found the queue locked (contention signal).
Implementations§
Source§impl CombinerStats
impl CombinerStats
Sourcepub fn avg_batch_size(&self) -> f64
pub fn avg_batch_size(&self) -> f64
Average batch size across all combine passes.
Trait Implementations§
Source§impl Clone for CombinerStats
impl Clone for CombinerStats
Source§fn clone(&self) -> CombinerStats
fn clone(&self) -> CombinerStats
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 CombinerStats
impl Debug for CombinerStats
Source§impl Default for CombinerStats
impl Default for CombinerStats
Source§fn default() -> CombinerStats
fn default() -> CombinerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CombinerStats
impl RefUnwindSafe for CombinerStats
impl Send for CombinerStats
impl Sync for CombinerStats
impl Unpin for CombinerStats
impl UnsafeUnpin for CombinerStats
impl UnwindSafe for CombinerStats
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