struct DashboardState {}Expand description
Dashboard state — either live from zerneld or simulated demo data.
Fields§
§mode: DashboardMode§tick: u64§gpus: Vec<GpuInfo>§loss: f64§step: u64§total_steps: u64§cuda_p50_us: f64§cuda_p99_us: f64§nccl_p50_ms: f64§nccl_p99_ms: f64§dataloader_ms: f64§pcie_gbps: f64§phase: StringImplementations§
Source§impl DashboardState
impl DashboardState
fn new_demo() -> Self
fn new_live() -> Self
Sourcefn apply_snapshot(&mut self, snap: &TelemetrySnapshot)
fn apply_snapshot(&mut self, snap: &TelemetrySnapshot)
Update from a real zerneld telemetry snapshot.
fn mode_label(&self) -> &str
Auto Trait Implementations§
impl Freeze for DashboardState
impl RefUnwindSafe for DashboardState
impl Send for DashboardState
impl Sync for DashboardState
impl Unpin for DashboardState
impl UnwindSafe for DashboardState
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more