FirebasePerformance Framework Reference

Trace

FIRTrace objects contain information about a Trace, which is a sequence of steps. Traces can be
used to measure the time taken for a sequence of steps.
Traces also include Counters. Counters are used to track information which is cumulative in
nature (e.g., Bytes downloaded). Counters are scoped to an FIRTrace object.

Declaration

Declaration

Atomically increments the metric for the provided metric name with the provided value. If it is a
new metric name, the metric value will be initialized to the value. Does nothing if the trace
has not been started or has already been stopped.