pub struct BatchingMetrics {
pub avg_batch_size: f32,
pub batch_utilization: f32,
pub batches_created: u64,
pub batches_completed: u64,
pub avg_batch_time_ms: f64,
pub tokens_per_second: f64,
}Expand description
Batch processing metrics
Fields§
§avg_batch_size: f32Average batch size
batch_utilization: f32Batch utilization rate
batches_created: u64Number of batches created
batches_completed: u64Number of batches completed
avg_batch_time_ms: f64Average batch processing time
tokens_per_second: f64Tokens per second across all batches
Trait Implementations§
Source§impl Clone for BatchingMetrics
impl Clone for BatchingMetrics
Source§fn clone(&self) -> BatchingMetrics
fn clone(&self) -> BatchingMetrics
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 BatchingMetrics
impl Debug for BatchingMetrics
Source§impl<'de> Deserialize<'de> for BatchingMetrics
impl<'de> Deserialize<'de> for BatchingMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BatchingMetrics
impl RefUnwindSafe for BatchingMetrics
impl Send for BatchingMetrics
impl Sync for BatchingMetrics
impl Unpin for BatchingMetrics
impl UnsafeUnpin for BatchingMetrics
impl UnwindSafe for BatchingMetrics
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