//! TLOB performance monitoring and benchmarks

use serde::{Deserialize, Serialize};

/// `TLOB` benchmark results
#[derive(Debug, Clone, Serialize, Deserialize)]
/// `TLOBBenchmark` component.
pub struct TLOBBenchmark {
    pub inference_latency_us: u64,
    pub throughput_pps: u64,
    pub accuracy: f64,
}

/// Latency metrics for `TLOB` operations
#[derive(Debug, Clone, Serialize, Deserialize)]
/// `LatencyMetrics` component.
pub struct LatencyMetrics {
    pub feature_extraction_us: u64,
    pub model_inference_us: u64,
    pub total_latency_us: u64,
}
