pub struct AggregateRateSnapshot {
pub completed_requests: u64,
pub mean_tokens_per_second: f64,
pub tbt_p50_seconds: f64,
pub tbt_p95_seconds: f64,
pub mean_queue_wait_seconds: f64,
}Expand description
Workload-level rollup of recent request rate snapshots.
Fields§
§completed_requests: u64Number of completed requests in the window.
mean_tokens_per_second: f64Mean tokens-per-second across the window.
tbt_p50_seconds: f64p50 inter-token latency across the window.
tbt_p95_seconds: f64p95 inter-token latency across the window.
mean_queue_wait_seconds: f64Mean queue wait time across the window.
Trait Implementations§
Source§impl Clone for AggregateRateSnapshot
impl Clone for AggregateRateSnapshot
Source§fn clone(&self) -> AggregateRateSnapshot
fn clone(&self) -> AggregateRateSnapshot
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 moreSource§impl Debug for AggregateRateSnapshot
impl Debug for AggregateRateSnapshot
Source§impl PartialEq for AggregateRateSnapshot
impl PartialEq for AggregateRateSnapshot
Source§fn eq(&self, other: &AggregateRateSnapshot) -> bool
fn eq(&self, other: &AggregateRateSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AggregateRateSnapshot
impl StructuralPartialEq for AggregateRateSnapshot
Auto Trait Implementations§
impl Freeze for AggregateRateSnapshot
impl RefUnwindSafe for AggregateRateSnapshot
impl Send for AggregateRateSnapshot
impl Sync for AggregateRateSnapshot
impl Unpin for AggregateRateSnapshot
impl UnsafeUnpin for AggregateRateSnapshot
impl UnwindSafe for AggregateRateSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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