pub struct ScanStats {
pub dims_touched: u64,
pub bytes_read: u64,
pub threads_used: usize,
pub worker_thread_ids: Vec<ThreadId>,
}Expand description
Deterministic companion counters for one completed scan.
Fields§
§dims_touched: u64Logical row-coordinate multiply-accumulates scored by the scan. Packed Bit4 batches score every row in a four-row window before applying masks, so their masked lanes are included.
bytes_read: u64Row-major payload bytes read by scoring. Row-factor records are excluded. This counter is a pure function of the request and scan options.
threads_used: usizePersistent workers actually used after CPU and work-unit caps.
worker_thread_ids: Vec<ThreadId>Actual worker thread ids that scored the partitions.
Trait Implementations§
impl Eq for ScanStats
impl StructuralPartialEq for ScanStats
Auto Trait Implementations§
impl Freeze for ScanStats
impl RefUnwindSafe for ScanStats
impl Send for ScanStats
impl Sync for ScanStats
impl Unpin for ScanStats
impl UnsafeUnpin for ScanStats
impl UnwindSafe for ScanStats
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