#[non_exhaustive]pub struct BenchmarkCaseIdentity {
pub group: String,
pub name: String,
pub kind: BenchmarkKind,
pub throughput: Throughput,
pub measurement_domain: MeasurementDomain,
pub pmu_scope: PmuScope,
pub pmu_counter_profile: PmuCounterProfile,
pub energy_scope: EnergyScope,
pub memory_bandwidth_scope: MemoryBandwidthScope,
pub metadata: BTreeMap<String, String>,
}Expand description
Stable semantic identity for one native benchmark case.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group: String§name: String§kind: BenchmarkKind§throughput: Throughput§measurement_domain: MeasurementDomain§pmu_scope: PmuScopePMU thread scope. This prevents calling-thread and process-thread evidence from being treated as the same benchmark case.
pmu_counter_profile: PmuCounterProfileCPU event profile. Full and compact counter evidence is collected under different multiplexing conditions and is not comparison-compatible.
energy_scope: EnergyScopeSystem energy scope. Package-wide RAPL evidence is not equivalent to a run that did not collect system energy.
memory_bandwidth_scope: MemoryBandwidthScopeSystem-wide IMC coverage. Missing, partial, and complete memory bandwidth evidence are intentionally different identities.
metadata: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for BenchmarkCaseIdentity
impl Clone for BenchmarkCaseIdentity
Source§fn clone(&self) -> BenchmarkCaseIdentity
fn clone(&self) -> BenchmarkCaseIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BenchmarkCaseIdentity
impl Debug for BenchmarkCaseIdentity
Source§impl<'de> Deserialize<'de> for BenchmarkCaseIdentity
impl<'de> Deserialize<'de> for BenchmarkCaseIdentity
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
impl Eq for BenchmarkCaseIdentity
Source§impl PartialEq for BenchmarkCaseIdentity
impl PartialEq for BenchmarkCaseIdentity
Source§impl Serialize for BenchmarkCaseIdentity
impl Serialize for BenchmarkCaseIdentity
impl StructuralPartialEq for BenchmarkCaseIdentity
Auto Trait Implementations§
impl Freeze for BenchmarkCaseIdentity
impl RefUnwindSafe for BenchmarkCaseIdentity
impl Send for BenchmarkCaseIdentity
impl Sync for BenchmarkCaseIdentity
impl Unpin for BenchmarkCaseIdentity
impl UnsafeUnpin for BenchmarkCaseIdentity
impl UnwindSafe for BenchmarkCaseIdentity
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