Skip to main content

Module metrics

Module metrics 

Source
Expand description

Runtime metrics for DFIR.

Structs§

AtomicCount
An atomic usize counter metric. See MetricCell.
AtomicDuration
An atomic Duration metric, stored as whole nanoseconds in a u64 (saturating at ~584 years). See MetricCell.
DfirMetrics
Metrics for a Dfir graph instance.
DfirMetricsIntervals
A handle into a DFIR instance’s metrics, where each call to Self::take_interval ends the current interval and returns its metrics. Obtained via Dfir::metrics_intervals.
HandoffMetrics
Per-handoff metrics.
SubgraphMetrics
Per-subgraph metrics.

Traits§

MetricCell
An atomic cell holding a single metric value: AtomicCount or AtomicDuration.
MetricsState
Typestate marker for whether a Context tracks runtime metrics.