pub enum ThroughputDenomination {
Wall,
CpuSec,
}Expand description
Which time base denominates this sidecar’s workload-THROUGHPUT rate
metrics (taobench_*_ops_per_cpu_sec /
schbench_*loops_per_cpu_sec / iteration_rate, and any future
throughput rate). Some rate key names predate the denomination change, so
a number from a wall-era sidecar is NOT comparable to a CPU-era sidecar —
the compare
pipeline keys its row pairing and its group-averaging on this marker so
cross-denomination values are never silently folded or diffed (see
PairingKey::from_row and the denomination_mismatches counter in
CompareReport).
Event-frequency metrics (IRQ/sec, per-second RPS samples) and latency metrics are wall-based in BOTH eras — a frequency’s meaning is real time — so they are outside this marker’s scope.
#[serde(default)] on the carrying field + Default = Wall: a sidecar
written before the marker existed is by definition wall-era.
Variants§
Wall
Throughput rates are work / wall-second (pre-marker sidecars).
CpuSec
Throughput rates are work / CPU-second received
(CLOCK_THREAD_CPUTIME_ID) — the current denomination.
Implementations§
Trait Implementations§
Source§impl Clone for ThroughputDenomination
impl Clone for ThroughputDenomination
Source§fn clone(&self) -> ThroughputDenomination
fn clone(&self) -> ThroughputDenomination
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ThroughputDenomination
impl Debug for ThroughputDenomination
Source§impl Default for ThroughputDenomination
impl Default for ThroughputDenomination
Source§fn default() -> ThroughputDenomination
fn default() -> ThroughputDenomination
Source§impl<'de> Deserialize<'de> for ThroughputDenomination
impl<'de> Deserialize<'de> for ThroughputDenomination
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>,
Source§impl PartialEq for ThroughputDenomination
impl PartialEq for ThroughputDenomination
Source§impl Serialize for ThroughputDenomination
impl Serialize for ThroughputDenomination
impl Copy for ThroughputDenomination
impl Eq for ThroughputDenomination
impl StructuralPartialEq for ThroughputDenomination
Auto Trait Implementations§
impl Freeze for ThroughputDenomination
impl RefUnwindSafe for ThroughputDenomination
impl Send for ThroughputDenomination
impl Sync for ThroughputDenomination
impl Unpin for ThroughputDenomination
impl UnwindSafe for ThroughputDenomination
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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