euv_performance/suite/
struct.rs1use super::*;
2
3#[derive(Clone, Debug, Deserialize, Getter, New, PartialEq, Serialize)]
5pub struct BenchMetric {
6 pub(crate) name: String,
8 #[get(type(copy))]
10 pub(crate) iterations: usize,
11 #[get(type(copy))]
13 pub(crate) total_micros: u64,
14 #[get(type(copy))]
16 pub(crate) ns_per_op: f64,
17 #[get(type(copy))]
19 pub(crate) ops_per_sec: f64,
20 pub(crate) detail: String,
22}
23
24#[derive(Clone, Debug, Deserialize, Getter, New, PartialEq, Serialize)]
26pub struct BenchReport {
27 pub(crate) metrics: Vec<BenchMetric>,
29}