Struct bustle::Measurement
source · pub struct Measurement {
pub seed: [u8; 32],
pub total_ops: u64,
pub spent: Duration,
pub throughput: f64,
pub latency: Duration,
}
Expand description
Information about a measurement.
Fields§
§seed: [u8; 32]
A seed used for the run.
total_ops: u64
A total number of operations.
spent: Duration
Spent time.
throughput: f64
A number of operations per second.
latency: Duration
An average value of latency.
Trait Implementations§
source§impl Clone for Measurement
impl Clone for Measurement
source§fn clone(&self) -> Measurement
fn clone(&self) -> Measurement
Returns a copy 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 more