use super::*;
#[derive(Clone, Data, Debug, Default, Deserialize, PartialEq, Serialize)]
pub struct ParallelAbCaseResult {
pub(crate) name: String,
pub(crate) arm_a_label: String,
pub(crate) arm_b_label: String,
#[get(type(copy))]
pub(crate) arm_a_us: f64,
#[get(type(copy))]
pub(crate) arm_b_us: f64,
#[get(type(copy))]
pub(crate) speedup_ratio: f64,
#[get(type(copy))]
pub(crate) gpu_exec_ns: u64,
#[get(type(copy))]
pub(crate) draw_calls: usize,
#[get(type(copy))]
pub(crate) max_error_px: f32,
#[get(type(copy))]
pub(crate) upload_savings_ratio: f32,
#[get(type(copy))]
pub(crate) steady_state_allocs: usize,
pub(crate) router_selected_lane: String,
#[get(type(copy))]
pub(crate) passed: bool,
}
#[derive(Clone, Data, Debug, Default, Deserialize, New, PartialEq, Serialize)]
pub struct ParallelAbReport {
pub(crate) gpu_backend: String,
#[get(type(copy))]
pub(crate) hardware_gpu_verified: bool,
#[get(type(copy))]
pub(crate) allocation_tracking: bool,
#[get(type(copy))]
pub(crate) worker_threads: usize,
pub(crate) cases: Vec<ParallelAbCaseResult>,
#[get(type(copy))]
pub(crate) all_passed: bool,
}