pub struct TraceSimulationReport {
pub request_counts: TraceRequestCounts,
pub throughput: TraceThroughputStats,
pub prefix_cache_reused_ratio: f64,
pub first_admission_prefix_cache_reused_ratio: f64,
pub latency: TraceLatencyStats,
pub trajectories: Option<TraceTrajectoryStats>,
pub agentic_graph: Option<AgenticGraphIdentity>,
pub goodput: Option<TraceGoodputStats>,
pub per_request: Vec<PerRequestRecord>,
pub runtime_evidence: OfflineRuntimeEvidence,
}Expand description
Backward-compatible Dynamo Mocker name for aisimulate_core::ReplayReport.
Canonical replay result returned by crate::replay::Replayer.
Fields§
§request_counts: TraceRequestCounts§throughput: TraceThroughputStats§prefix_cache_reused_ratio: f64§first_admission_prefix_cache_reused_ratio: f64§latency: TraceLatencyStats§trajectories: Option<TraceTrajectoryStats>§agentic_graph: Option<AgenticGraphIdentity>§goodput: Option<TraceGoodputStats>SLA-goodput stats. Some only when an SLA was supplied to the collector
(via set_sla_thresholds); None otherwise — goodput is undefined
without an SLA, so the goodput_* keys are omitted from the report.
per_request: Vec<PerRequestRecord>Per-request records, one per admitted request. Populated by
TraceCollector::finish. Intentionally NOT serialized into the summary
JSON (see custom Serialize impl below) — consumers that want per-
request granularity should access this field directly and serialize it
themselves.
runtime_evidence: OfflineRuntimeEvidenceExecution-owned planner/lifecycle/pressure evidence. This is excluded from the compact summary serializer and consumed explicitly by canonical-report and planner adapters.
Implementations§
Source§impl ReplayReport
impl ReplayReport
pub fn with_wall_time_ms(self, wall_time_ms: f64) -> ReplayReport
pub fn processed_tokens(&self) -> usize
pub fn processed_tokens_per_s(&self) -> f64
pub fn processed_output_tokens_per_s(&self) -> f64
Trait Implementations§
Source§impl Clone for ReplayReport
impl Clone for ReplayReport
Source§fn clone(&self) -> ReplayReport
fn clone(&self) -> ReplayReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more