pub struct BufferStats {
pub total_prefetches: AtomicU64,
pub successful_prefetches: AtomicU64,
pub wasted_prefetches: AtomicU64,
pub avg_latency_us: AtomicU64,
pub utilization_pct: AtomicU64,
}Expand description
Statistics for adaptive buffer sizing
Fields§
§total_prefetches: AtomicU64Total prefetch operations
successful_prefetches: AtomicU64Successful prefetches (data was used)
wasted_prefetches: AtomicU64Wasted prefetches (data was not used)
avg_latency_us: AtomicU64Average prefetch latency in microseconds
utilization_pct: AtomicU64Current buffer utilization percentage
Implementations§
Source§impl BufferStats
impl BufferStats
Trait Implementations§
Source§impl Debug for BufferStats
impl Debug for BufferStats
Source§impl Default for BufferStats
impl Default for BufferStats
Source§fn default() -> BufferStats
fn default() -> BufferStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for BufferStats
impl RefUnwindSafe for BufferStats
impl Send for BufferStats
impl Sync for BufferStats
impl Unpin for BufferStats
impl UnsafeUnpin for BufferStats
impl UnwindSafe for BufferStats
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