class ReadLockContext

Defined at line 164 of file ../../src/media/audio/audio_core/stream.h

ReadLockContext provides a container for state that can be carried through a

sequence of ReadLock calls.

Public Methods

void AddStageMetrics (const StageMetrics & new_stage)

Adds the given metrics. Internally we maintain one StageMetrics object per stage.

If this method is called multiple times with the same stage name, the metrics are

accumulated.

Defined at line 173 of file ../../src/media/audio/audio_core/stream.h

const StageMetricsVector & per_stage_metrics ()

Defined at line 188 of file ../../src/media/audio/audio_core/stream.h