TraceSectionMetric.Mode


public sealed class TraceSectionMetric.Mode

Known direct subclasses
TraceSectionMetric.Mode.Average

Average duration of trace sections matching sectionName in the trace.

TraceSectionMetric.Mode.Count

Counts the number of observed instances of a trace section matching sectionName in the trace.

TraceSectionMetric.Mode.First

Captures the duration of the first instance of sectionName in the trace.

TraceSectionMetric.Mode.Max

Reports the maximum observed duration for a trace section matching sectionName in the trace.

TraceSectionMetric.Mode.Min

Reports the maximum observed duration for a trace section matching sectionName in the trace.

TraceSectionMetric.Mode.Sum

Captures the sum of all instances of sectionName in the trace.


Summary

Nested types

Average duration of trace sections matching sectionName in the trace.

Counts the number of observed instances of a trace section matching sectionName in the trace.

Captures the duration of the first instance of sectionName in the trace.

Reports the maximum observed duration for a trace section matching sectionName in the trace.

Reports the maximum observed duration for a trace section matching sectionName in the trace.

Captures the sum of all instances of sectionName in the trace.

Protected constructors

Protected constructors

Mode

protected Mode(@NonNull String name)