Enum gbench::BenchData [−][src]
pub enum BenchData { Log { log: String, ts: f32, tid: usize, }, Bench { name: String, ts: f32, dur: f32, tid: usize, }, Count { name: String, ts: f32, tid: usize, data: Vec<(String, f32)>, }, }
Expand description
Enum that represents different benchmarking data
Data that is passed to the writers is in form of these enums.
Fields
- ts - timestamp
- dur - duration
- tid - thread id
Variants
Log contains logging data produced by the log! macro
Bench contains benchmarking data produced by the scope! macro
Count contains counting data produced by the count! macro
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BenchData
impl UnwindSafe for BenchData
Blanket Implementations
Mutably borrows from an owned value. Read more