pub struct ZerocopyPipelineStats {
pub events_processed: u64,
pub trades_processed: u64,
pub orderbooks_processed: u64,
pub bytes_serialized: u64,
pub compression_ratio: f64,
pub avg_latency_nanos: u64,
pub simd_batches_processed: u64,
pub buffer_reuse_count: u64,
pub zero_copy_operations: u64,
}Expand description
Zero-copy optimized pipeline statistics
Fields§
§events_processed: u64Total number of market data events processed through the pipeline
trades_processed: u64Total number of trade events processed
orderbooks_processed: u64Total number of orderbook updates processed
bytes_serialized: u64Total bytes serialized by the pipeline
compression_ratio: f64Average compression ratio achieved (compressed_size / original_size)
avg_latency_nanos: u64Average processing latency in nanoseconds
simd_batches_processed: u64Number of SIMD-optimized batch operations performed
buffer_reuse_count: u64Number of times buffers were reused from the pool
zero_copy_operations: u64Total number of zero-copy operations performed
Trait Implementations§
Source§impl Clone for ZerocopyPipelineStats
impl Clone for ZerocopyPipelineStats
Source§fn clone(&self) -> ZerocopyPipelineStats
fn clone(&self) -> ZerocopyPipelineStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZerocopyPipelineStats
impl Debug for ZerocopyPipelineStats
Source§impl Default for ZerocopyPipelineStats
impl Default for ZerocopyPipelineStats
Source§fn default() -> ZerocopyPipelineStats
fn default() -> ZerocopyPipelineStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ZerocopyPipelineStats
impl RefUnwindSafe for ZerocopyPipelineStats
impl Send for ZerocopyPipelineStats
impl Sync for ZerocopyPipelineStats
impl Unpin for ZerocopyPipelineStats
impl UnwindSafe for ZerocopyPipelineStats
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