#[repr(align(64))]pub struct ExecutionStats {
pub orders_placed: u64,
pub orders_cancelled: u64,
pub orders_modified: u64,
pub orders_filled: u64,
pub orders_rejected: u64,
pub avg_order_latency_ns: u64,
pub max_order_latency_ns: u64,
pub min_order_latency_ns: u64,
pub latency_samples: u64,
pub last_order_timestamp: u64,
}Expand description
Cache-line aligned statistics for execution performance monitoring
Fields§
§orders_placed: u64Total number of orders placed
orders_cancelled: u64Total number of orders cancelled
orders_modified: u64Total number of orders modified
orders_filled: u64Total number of orders filled
orders_rejected: u64Total number of orders rejected
avg_order_latency_ns: u64Average order latency in nanoseconds (from request to acknowledgement)
max_order_latency_ns: u64Maximum order latency in nanoseconds
min_order_latency_ns: u64Minimum order latency in nanoseconds
latency_samples: u64Number of latency samples collected
last_order_timestamp: u64Last order timestamp in nanoseconds
Trait Implementations§
Source§impl Clone for ExecutionStats
impl Clone for ExecutionStats
Source§fn clone(&self) -> ExecutionStats
fn clone(&self) -> ExecutionStats
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 ExecutionStats
impl Debug for ExecutionStats
Source§impl Default for ExecutionStats
impl Default for ExecutionStats
Source§fn default() -> ExecutionStats
fn default() -> ExecutionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecutionStats
impl RefUnwindSafe for ExecutionStats
impl Send for ExecutionStats
impl Sync for ExecutionStats
impl Unpin for ExecutionStats
impl UnwindSafe for ExecutionStats
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