Struct Prediction Metrics
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct PredictionMetrics {
pub sample_count: u32,
pub mean: f64,
pub p50: f64,
pub p90: f64,
pub p95: f64,
}
Aggregated statistics for a single metric from profiler data.
Fields
sample_count: u32
Number of samples.
mean: f64
Mean value.
p50: f64
50th percentile (median).
p90: f64
90th percentile.
p95: f64
95th percentile.
Trait Implementations
impl Clone for PredictionMetrics
impl Clone for PredictionMetrics
clone
fn clone(&self) -> PredictionMetrics
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for PredictionMetrics
impl Debug for PredictionMetrics
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for PredictionMetrics
impl Default for PredictionMetrics
default
fn default() -> PredictionMetrics
impl<'de> Deserialize<'de> for PredictionMetrics
impl<'de> Deserialize<'de> for PredictionMetrics
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for PredictionMetrics
impl PartialEq for PredictionMetrics
eq
fn eq(&self, other: &PredictionMetrics) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for PredictionMetrics
impl Serialize for PredictionMetrics
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for PredictionMetrics
impl StructuralPartialEq for PredictionMetrics