diff options
| author | 2022-11-30 15:07:24 -0800 | |
|---|---|---|
| committer | 2022-11-30 16:17:44 -0800 | |
| commit | eb98a357c39c17f591075c2bed6f3c2791a6cccf (patch) | |
| tree | dde2c4e7c3ad1c3a60aa495cfcfde9be425cff70 /libs/androidfw/StringPool.cpp | |
| parent | f2fd2ca10f81d5d5ba7a69ab3d8eb91f803d803b (diff) | |
Read cpusets and max CPU frequencies from devfs and sysfs.
Cpuset information and max CPU frequencies don't change after system bootup.
So, read them only once during init.
If these information are not available, the reader cannot generate CPU info.
So, disable the collector when these cannot be read.
Unit tests are added in one of the following changes.
Test: m
Bug: 217422127
Bug: 242722241
Change-Id: Icc201b65fdfe054da5258e8136750d518182d207
(cherry picked from commit 6a9c8e6063dc8503be23f6f9d94b5a04fafe0c09)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions