Skip to main content

Module counter_descriptor

Module counter_descriptor 

Source
Expand description

Nested message and enum types in CounterDescriptor.

Enumsยง

Scope
The scope of a counter instance: which stream of values the per-sample weights belong to. Counter instances accumulate independently, so values from different instances must never be merged into one stream. Trace processor keeps sampling streams separate and materializes one counter track per instance within each stream: SCOPE_GLOBAL yields one track per sampling stream and SCOPE_CPU one track per (sampling stream, cpu).
UnitField
The unit weights are expressed in. Set the well-known unit when one fits, otherwise set unit_str to a custom label.