pub struct PerformanceMetrics {
pub current_throughput: f64,
pub current_latency: Duration,
pub resource_utilization: ResourceUtilizationMetrics,
pub energy_metrics: EnergyMetrics,
pub cache_metrics: CacheMetrics,
pub network_metrics: NetworkPerformanceMetrics,
pub pipeline_metrics: PipelineMetrics,
pub quality_metrics: QualityMetrics,
pub timestamp: SystemTime,
}Expand description
Performance metrics collector
Fields§
§current_throughput: f64Current throughput
current_latency: DurationCurrent latency
resource_utilization: ResourceUtilizationMetricsResource utilization breakdown
energy_metrics: EnergyMetricsEnergy consumption metrics
cache_metrics: CacheMetricsCache performance metrics
network_metrics: NetworkPerformanceMetricsNetwork performance metrics
pipeline_metrics: PipelineMetricsPipeline metrics
quality_metrics: QualityMetricsQuality metrics
timestamp: SystemTimeMeasurement timestamp
Trait Implementations§
Source§impl Clone for PerformanceMetrics
impl Clone for PerformanceMetrics
Source§fn clone(&self) -> PerformanceMetrics
fn clone(&self) -> PerformanceMetrics
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 PerformanceMetrics
impl Debug for PerformanceMetrics
Auto Trait Implementations§
impl Freeze for PerformanceMetrics
impl RefUnwindSafe for PerformanceMetrics
impl Send for PerformanceMetrics
impl Sync for PerformanceMetrics
impl Unpin for PerformanceMetrics
impl UnwindSafe for PerformanceMetrics
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> 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