pub enum ToolMetrics {
None,
DhatMetrics(Metrics<DhatMetricKind>),
ErrorMetrics(Metrics<ErrorMetricKind>),
CallgrindMetrics(Metrics<EventKind>),
}
Available on crate feature
runner
only.Expand description
The metrics distinguished per tool class
The tool classes are: dhat, error metrics from memcheck, drd, helgrind and callgrind
Variants§
None
If there were no metrics extracted from a tool (currently massif, bbv)
DhatMetrics(Metrics<DhatMetricKind>)
The metrics of a dhat benchmark
ErrorMetrics(Metrics<ErrorMetricKind>)
The metrics of a tool run which reports errors (memcheck, helgrind, drd)
CallgrindMetrics(Metrics<EventKind>)
The metrics of a callgrind benchmark
Trait Implementations§
source§impl Clone for ToolMetrics
impl Clone for ToolMetrics
source§fn clone(&self) -> ToolMetrics
fn clone(&self) -> ToolMetrics
Returns a copy 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 ToolMetrics
impl Debug for ToolMetrics
source§impl Default for ToolMetrics
impl Default for ToolMetrics
source§fn default() -> ToolMetrics
fn default() -> ToolMetrics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ToolMetrics
impl<'de> Deserialize<'de> for ToolMetrics
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
source§impl JsonSchema for ToolMetrics
impl JsonSchema for ToolMetrics
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for ToolMetrics
impl PartialEq for ToolMetrics
source§impl Serialize for ToolMetrics
impl Serialize for ToolMetrics
impl StructuralPartialEq for ToolMetrics
Auto Trait Implementations§
impl Freeze for ToolMetrics
impl RefUnwindSafe for ToolMetrics
impl Send for ToolMetrics
impl Sync for ToolMetrics
impl Unpin for ToolMetrics
impl UnwindSafe for ToolMetrics
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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