pub struct ExecutorMetrics {
pub total_operations: u64,
pub prefill_operations: u64,
pub decode_operations: u64,
pub avg_prefill_latency: f64,
pub avg_decode_latency: f64,
pub p95_prefill_latency: f64,
pub p95_decode_latency: f64,
pub throughput_tps: f64,
pub memory_efficiency: f32,
pub batch_utilization: f32,
}Expand description
Executor performance metrics
Fields§
§total_operations: u64Total operations executed
prefill_operations: u64Prefill operations
decode_operations: u64Decode operations
avg_prefill_latency: f64Average prefill latency (ms)
avg_decode_latency: f64Average decode latency (ms)
p95_prefill_latency: f64P95 prefill latency (ms)
p95_decode_latency: f64P95 decode latency (ms)
throughput_tps: f64Throughput (tokens per second)
memory_efficiency: f32Memory efficiency (used/allocated)
batch_utilization: f32Batch utilization
Trait Implementations§
Source§impl Clone for ExecutorMetrics
impl Clone for ExecutorMetrics
Source§fn clone(&self) -> ExecutorMetrics
fn clone(&self) -> ExecutorMetrics
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 ExecutorMetrics
impl Debug for ExecutorMetrics
Source§impl<'de> Deserialize<'de> for ExecutorMetrics
impl<'de> Deserialize<'de> for ExecutorMetrics
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 ExecutorMetrics
impl RefUnwindSafe for ExecutorMetrics
impl Send for ExecutorMetrics
impl Sync for ExecutorMetrics
impl Unpin for ExecutorMetrics
impl UnsafeUnpin for ExecutorMetrics
impl UnwindSafe for ExecutorMetrics
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