pub enum DhatMetric {
Show 13 variants
TotalUnits,
TotalEvents,
TotalBytes,
TotalBlocks,
AtTGmaxBytes,
AtTGmaxBlocks,
AtTEndBytes,
AtTEndBlocks,
ReadsBytes,
WritesBytes,
TotalLifetimes,
MaximumBytes,
MaximumBlocks,
}api only.Expand description
The metrics collected by DHAT
Variants§
TotalUnits
In ad-hoc mode, Total units measured over the entire execution
TotalEvents
Total ad-hoc events over the entire execution
TotalBytes
Total bytes allocated over the entire execution
TotalBlocks
Total heap blocks allocated over the entire execution
AtTGmaxBytes
The bytes alive at t-gmax, the time when the heap size reached its global maximum
AtTGmaxBlocks
The blocks alive at t-gmax
AtTEndBytes
The amount of bytes at the end of the execution.
This is the amount of bytes which were not explicitly freed.
AtTEndBlocks
The amount of blocks at the end of the execution.
This is the amount of heap blocks which were not explicitly freed.
ReadsBytes
The amount of bytes read during the entire execution
WritesBytes
The amount of bytes written during the entire execution
TotalLifetimes
The total lifetimes of all heap blocks allocated
MaximumBytes
The maximum amount of bytes
MaximumBlocks
The maximum amount of heap blocks
Trait Implementations§
Source§impl Clone for DhatMetric
impl Clone for DhatMetric
Source§fn clone(&self) -> DhatMetric
fn clone(&self) -> DhatMetric
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DhatMetric
impl Debug for DhatMetric
Source§impl<'de> Deserialize<'de> for DhatMetric
impl<'de> Deserialize<'de> for DhatMetric
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 Display for DhatMetric
impl Display for DhatMetric
Source§impl From<DhatMetric> for DhatMetrics
impl From<DhatMetric> for DhatMetrics
Source§fn from(value: DhatMetric) -> Self
fn from(value: DhatMetric) -> Self
Source§impl FromStr for DhatMetric
Available on crate feature runner only.
impl FromStr for DhatMetric
runner only.Source§impl Hash for DhatMetric
impl Hash for DhatMetric
Source§impl IntoEnumIterator for DhatMetric
impl IntoEnumIterator for DhatMetric
type Iterator = DhatMetricIter
fn iter() -> DhatMetricIter ⓘ
Source§impl JsonSchema for DhatMetric
impl JsonSchema for DhatMetric
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for DhatMetric
impl PartialEq for DhatMetric
Source§impl RegressionConfig<DhatMetric> for DhatRegressionConfig
Available on crate feature runner only.
impl RegressionConfig<DhatMetric> for DhatRegressionConfig
runner only.Source§fn check(
&self,
metrics_summary: &MetricsSummary<DhatMetric>,
) -> Vec<ToolRegression>
fn check( &self, metrics_summary: &MetricsSummary<DhatMetric>, ) -> Vec<ToolRegression>
MetricsSummary for regressions. Read moreSource§fn get_soft_limits(&self) -> &[(DhatMetric, f64)]
fn get_soft_limits(&self) -> &[(DhatMetric, f64)]
Source§fn get_hard_limits(&self) -> &[(DhatMetric, Metric)]
fn get_hard_limits(&self) -> &[(DhatMetric, Metric)]
Source§fn check_and_print(
&self,
metrics_summary: &MetricsSummary<T>,
) -> Vec<ToolRegression>
fn check_and_print( &self, metrics_summary: &MetricsSummary<T>, ) -> Vec<ToolRegression>
Source§fn check_regressions(
&self,
metrics_summary: &MetricsSummary<T>,
) -> Vec<RegressionMetrics<T>>
fn check_regressions( &self, metrics_summary: &MetricsSummary<T>, ) -> Vec<RegressionMetrics<T>>
RegressionMetricsSource§impl Serialize for DhatMetric
impl Serialize for DhatMetric
Source§impl Summarize for DhatMetric
Available on crate feature runner only.
impl Summarize for DhatMetric
runner only.Source§impl TypeChecker for DhatMetric
Available on crate feature runner only.
impl TypeChecker for DhatMetric
runner only.Source§fn is_int(&self) -> bool
fn is_int(&self) -> bool
Metric::IntSource§fn is_float(&self) -> bool
fn is_float(&self) -> bool
Metric::FloatSource§fn verify_metric(&self, metric: Metric) -> bool
fn verify_metric(&self, metric: Metric) -> bool
Metric has the expected metric typeimpl Copy for DhatMetric
impl Eq for DhatMetric
impl StructuralPartialEq for DhatMetric
Auto Trait Implementations§
impl Freeze for DhatMetric
impl RefUnwindSafe for DhatMetric
impl Send for DhatMetric
impl Sync for DhatMetric
impl Unpin for DhatMetric
impl UnwindSafe for DhatMetric
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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