pub struct SchedulerSnapshot {
pub active_seqs: u32,
pub prefilling_seqs: u32,
pub swapped_seqs: u32,
pub pending_len: u32,
pub kv_blocks_free: u32,
pub kv_blocks_total: u32,
pub ssm_slots_used: u32,
pub ssm_slots_total: u32,
pub mtp_mode: MtpModeSnap,
pub delivered_tps: f32,
pub steps_total: u64,
pub published_at: Instant,
}Fields§
§active_seqs: u32§prefilling_seqs: u32§swapped_seqs: u32§pending_len: u32§kv_blocks_free: u32§kv_blocks_total: u32§ssm_slots_used: u32§ssm_slots_total: u32§mtp_mode: MtpModeSnap§delivered_tps: f322026-09-25: The MTP gate’s delivered-throughput EWMA for the current mode (tok/s); 0.0 when unmeasured or without a gate.
steps_total: u64§published_at: Instant2026-09-25: When the scheduler published this snapshot, on its clock.
Trait Implementations§
Source§impl Clone for SchedulerSnapshot
impl Clone for SchedulerSnapshot
Source§fn clone(&self) -> SchedulerSnapshot
fn clone(&self) -> SchedulerSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchedulerSnapshot
impl Debug for SchedulerSnapshot
impl Copy for SchedulerSnapshot
Auto Trait Implementations§
impl Freeze for SchedulerSnapshot
impl RefUnwindSafe for SchedulerSnapshot
impl Send for SchedulerSnapshot
impl Sync for SchedulerSnapshot
impl Unpin for SchedulerSnapshot
impl UnwindSafe for SchedulerSnapshot
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