The IStats service provides an interface for reporting metrics from vendor processes through the IStats::reportVendorAtom interface. The type and ordering of the data in a VendorAtom are determined by a proto definition which is typically OEM-specific. The code to construct the VendorAtom is generated from the proto definition. Add a soong config variable in the DRMHWC config namespace to enable the atom reporting. Currently there is only one such implementation. atom_reporter: Set this to configure OEM-specific atom reporting. With the config variable omitted, reporting will be disabled and a stub implementation is used, ensuring no build or runtime dependency or usage of the IStats service. Change-Id: I832adbd42412db1ab4c9403c1da60fa075443caa Signed-off-by: Drew Davenport <ddavenport@google.com> |
||
|---|---|---|
| .. | ||
| CompositionStats.cpp | ||
| CompositionStats.h | ||
| CompositionStatsAtomReporter.cpp | ||
| CompositionStatsAtomReporter.h | ||
| CompositionStatsAtomReporterDesktop.cpp | ||
| CompositionStatsPoller.cpp | ||
| CompositionStatsPoller.h | ||
| CompositionStatsTest.cpp | ||