package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev

# Functions

Get returns timings for which filter predicate is true and filters out nested timings whose level is greater than maxLevel.
New creates a Timings object.
Run creates, starts and then stops a nested Span under parent Measurer.

# Variables

Duration threshold - timings below the threshold will not be saved in the state.
Maximum number of timings to keep in state.

# Structs

Span represents a single performance measurement with optional nested measurements.
TimingJSON and rootTimingsJSON aid in marshalling of flattened timings into state.
Timings represents a tree of Span time measurements for a single execution of measured activity.
TimingsInfo holds a set of related nested timings and the tags set when they were captured.

# Interfaces

A GetSaver helps storing Timings (ignoring their details).
No description provided by the author