pub struct TelemetrySnapshot {
pub prefill_tps: u32,
pub decode_tps: u32,
pub ttft_ms: u32,
pub peak_bytes: u64,
pub tokens_generated: u32,
pub compressions: u32,
pub safety_violations: u32,
}Expand description
A content-free sample of session performance.
Fields§
§prefill_tps: u32§decode_tps: u32§ttft_ms: u32§peak_bytes: u64§tokens_generated: u32§compressions: u32§safety_violations: u32Trait Implementations§
Source§impl Clone for TelemetrySnapshot
impl Clone for TelemetrySnapshot
Source§fn clone(&self) -> TelemetrySnapshot
fn clone(&self) -> TelemetrySnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TelemetrySnapshot
Source§impl Debug for TelemetrySnapshot
impl Debug for TelemetrySnapshot
Source§impl Default for TelemetrySnapshot
impl Default for TelemetrySnapshot
Source§fn default() -> TelemetrySnapshot
fn default() -> TelemetrySnapshot
Returns the “default value” for a type. Read more
impl Eq for TelemetrySnapshot
Source§impl PartialEq for TelemetrySnapshot
impl PartialEq for TelemetrySnapshot
Source§fn eq(&self, other: &TelemetrySnapshot) -> bool
fn eq(&self, other: &TelemetrySnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TelemetrySnapshot
Auto Trait Implementations§
impl Freeze for TelemetrySnapshot
impl RefUnwindSafe for TelemetrySnapshot
impl Send for TelemetrySnapshot
impl Sync for TelemetrySnapshot
impl Unpin for TelemetrySnapshot
impl UnsafeUnpin for TelemetrySnapshot
impl UnwindSafe for TelemetrySnapshot
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