pub struct EfficiencyMetrics {
pub overall_throughput_eps: f64,
pub memory_efficiency_ratio: f64,
pub processing_efficiency_ratio: f64,
pub avg_latency_microseconds: f64,
pub buffer_utilization_ratio: f64,
}Expand description
System efficiency metrics
Fields§
§overall_throughput_eps: f64Overall system throughput measured in events per second
Calculated as total events processed divided by system uptime, providing a key performance indicator for the collection manager.
memory_efficiency_ratio: f64Memory efficiency ratio from buffer pool hit rate
Ratio of buffer pool hits to total buffer requests, indicating how effectively the system is reusing memory resources.
processing_efficiency_ratio: f64Processing efficiency ratio for zero-copy operations
Proportion of operations that used zero-copy techniques versus traditional copying, measuring optimization effectiveness.
avg_latency_microseconds: f64Average processing latency in microseconds
Mean latency for processing market data events, converted from nanoseconds to microseconds for easier interpretation.
buffer_utilization_ratio: f64Buffer utilization ratio across all buffer types
Proportion of buffers currently in use versus total available, indicating resource utilization and potential bottlenecks.
Trait Implementations§
Source§impl Clone for EfficiencyMetrics
impl Clone for EfficiencyMetrics
Source§fn clone(&self) -> EfficiencyMetrics
fn clone(&self) -> EfficiencyMetrics
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read more