class ConfigurationRecord

Defined at line 166 of file ../../src/camera/bin/device/metrics_reporter.h

An object of the ConfigurationRecord class monitors the device configuration associated with

a given configuration index and collects metrics to report via the Cobalt logger or share via

the Inspect API.

Public Methods

void ~ConfigurationRecord ()

Defined at line 169 of file ../../src/camera/bin/device/metrics_reporter.h

StreamRecord & GetStreamRecord (uint32_t index)

Gets a reference to a StreamRecord object associated with a given stream index.

|index| The index of the stream the caller is interested in.

Defined at line 174 of file ../../src/camera/bin/device/metrics_reporter.h

void SetActive (bool active)

Marks the configuration is active or not.

|active| This boolean value tells whether this configuration is active or not.

Defined at line 179 of file ../../src/camera/bin/device/metrics_reporter.h

void ConfigurationRecord (MetricsReporter::Impl & impl, uint32_t index, size_t num_streams)

Defined at line 185 of file ../../src/camera/bin/device/metrics_reporter.cc