pub struct Trajectory {
pub embedding: Vec<f32>,
pub operator_type: u8,
pub attention_type: u8,
pub execution_ms: f32,
pub baseline_ms: f32,
pub improvement: f32,
pub timestamp: u64,
}Expand description
A single trajectory recording
Fields§
§embedding: Vec<f32>Embedding at query start
operator_type: u8Operator type that was executed (0-16)
attention_type: u8Attention mechanism used
execution_ms: f32Execution time in milliseconds
baseline_ms: f32Baseline execution time (for comparison)
improvement: f32Improvement ratio (baseline / actual - 1.0)
timestamp: u64Timestamp (simulation time or wall clock)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trajectory
impl RefUnwindSafe for Trajectory
impl Send for Trajectory
impl Sync for Trajectory
impl Unpin for Trajectory
impl UnsafeUnpin for Trajectory
impl UnwindSafe for Trajectory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more