pub struct SimulationMetrics {
pub memory_bytes: u64,
pub peak_memory_bytes: u64,
pub active_devices: u64,
pub total_operations: u64,
pub ops_per_second: f64,
pub error_count: u64,
pub avg_latency_us: u64,
pub p99_latency_us: u64,
}Expand description
Real-time simulation metrics.
Fields§
§memory_bytes: u64Current memory usage in bytes.
peak_memory_bytes: u64Peak memory usage in bytes.
active_devices: u64Current number of active devices.
total_operations: u64Total operations performed.
ops_per_second: f64Operations per second (current rate).
error_count: u64Error count.
avg_latency_us: u64Average latency in microseconds.
p99_latency_us: u64P99 latency in microseconds.
Trait Implementations§
Source§impl Clone for SimulationMetrics
impl Clone for SimulationMetrics
Source§fn clone(&self) -> SimulationMetrics
fn clone(&self) -> SimulationMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimulationMetrics
impl Debug for SimulationMetrics
Source§impl Default for SimulationMetrics
impl Default for SimulationMetrics
Source§fn default() -> SimulationMetrics
fn default() -> SimulationMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimulationMetrics
impl<'de> Deserialize<'de> for SimulationMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimulationMetrics
impl RefUnwindSafe for SimulationMetrics
impl Send for SimulationMetrics
impl Sync for SimulationMetrics
impl Unpin for SimulationMetrics
impl UnsafeUnpin for SimulationMetrics
impl UnwindSafe for SimulationMetrics
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