pub struct TokioReport {
pub workload_results: Vec<(String, SimulationResult<SimulationMetrics>)>,
pub total_wall_time: Duration,
pub successful: usize,
pub failed: usize,
}Expand description
Report generated after running workloads with TokioRunner.
Fields§
§workload_results: Vec<(String, SimulationResult<SimulationMetrics>)>Results from each workload
total_wall_time: DurationTotal wall-clock time for execution
successful: usizeNumber of successful workloads
failed: usizeNumber of failed workloads
Implementations§
Source§impl TokioReport
impl TokioReport
Sourcepub fn success_rate(&self) -> f64
pub fn success_rate(&self) -> f64
Calculate the success rate as a percentage.
Trait Implementations§
Source§impl Clone for TokioReport
impl Clone for TokioReport
Source§fn clone(&self) -> TokioReport
fn clone(&self) -> TokioReport
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TokioReport
impl Debug for TokioReport
Auto Trait Implementations§
impl Freeze for TokioReport
impl RefUnwindSafe for TokioReport
impl Send for TokioReport
impl Sync for TokioReport
impl Unpin for TokioReport
impl UnwindSafe for TokioReport
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)