pub struct ReportSummary {
pub avg_throughput: u64,
pub avg_latency: u64,
pub avg_memory_usage: u64,
pub avg_lock_wait_time: u64,
pub total_samples: usize,
}Expand description
Summary statistics for the performance report
Fields§
§avg_throughput: u64Average throughput (bytes/sec)
avg_latency: u64Average latency (ms)
avg_memory_usage: u64Average memory usage (bytes)
avg_lock_wait_time: u64Average lock wait time (ms)
total_samples: usizeTotal number of samples
Trait Implementations§
Source§impl Clone for ReportSummary
impl Clone for ReportSummary
Source§fn clone(&self) -> ReportSummary
fn clone(&self) -> ReportSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReportSummary
impl Debug for ReportSummary
Source§impl<'de> Deserialize<'de> for ReportSummary
impl<'de> Deserialize<'de> for ReportSummary
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 ReportSummary
impl RefUnwindSafe for ReportSummary
impl Send for ReportSummary
impl Sync for ReportSummary
impl Unpin for ReportSummary
impl UnsafeUnpin for ReportSummary
impl UnwindSafe for ReportSummary
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