pub struct ParallelMergeStats {
pub edges_read: AtomicU64,
pub edges_written: AtomicU64,
pub tombstones_filtered: AtomicU64,
pub duplicates_merged: AtomicU64,
}Expand description
Statistics for parallel merge operations
Fields§
§edges_read: AtomicU64Total edges read from inputs
edges_written: AtomicU64Total edges written to output
tombstones_filtered: AtomicU64Tombstones filtered out
duplicates_merged: AtomicU64Duplicate edges merged
Implementations§
Source§impl ParallelMergeStats
impl ParallelMergeStats
Sourcepub fn record_read(&self, count: u64)
pub fn record_read(&self, count: u64)
Record edges read
Sourcepub fn record_written(&self, count: u64)
pub fn record_written(&self, count: u64)
Record edges written
Sourcepub fn record_tombstone(&self)
pub fn record_tombstone(&self)
Record filtered tombstones
Sourcepub fn record_duplicate(&self)
pub fn record_duplicate(&self)
Record merged duplicates
Sourcepub fn snapshot(&self) -> ParallelMergeStatsSnapshot
pub fn snapshot(&self) -> ParallelMergeStatsSnapshot
Get snapshot of stats
Trait Implementations§
Source§impl Debug for ParallelMergeStats
impl Debug for ParallelMergeStats
Source§impl Default for ParallelMergeStats
impl Default for ParallelMergeStats
Source§fn default() -> ParallelMergeStats
fn default() -> ParallelMergeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ParallelMergeStats
impl RefUnwindSafe for ParallelMergeStats
impl Send for ParallelMergeStats
impl Sync for ParallelMergeStats
impl Unpin for ParallelMergeStats
impl UnsafeUnpin for ParallelMergeStats
impl UnwindSafe for ParallelMergeStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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