Merge "Add CPU Idle Histogram Stats to dumpstate board file." into main
This commit is contained in:
commit
20baf04a64
1 changed files with 12 additions and 0 deletions
|
@ -1080,9 +1080,21 @@ void dumpEvtCounter() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void dumpCpuIdleHistogramStats() {
|
||||||
|
const char* cpuIdleHistogramTitle = "CPU Idle Histogram";
|
||||||
|
const char* cpuIdleHistogramFile = "/sys/kernel/metrics/cpuidle_histogram/"
|
||||||
|
"cpuidle_histogram";
|
||||||
|
const char* cpuClusterHistogramTitle = "CPU Cluster Histogram";
|
||||||
|
const char* cpuClusterHistogramFile = "/sys/kernel/metrics/"
|
||||||
|
"cpuidle_histogram/cpucluster_histogram";
|
||||||
|
dumpFileContent(cpuIdleHistogramTitle, cpuIdleHistogramFile);
|
||||||
|
dumpFileContent(cpuClusterHistogramTitle, cpuClusterHistogramFile);
|
||||||
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
dumpPowerStatsTimes();
|
dumpPowerStatsTimes();
|
||||||
dumpAcpmStats();
|
dumpAcpmStats();
|
||||||
|
dumpCpuIdleHistogramStats();
|
||||||
dumpPowerSupplyStats();
|
dumpPowerSupplyStats();
|
||||||
dumpSecondCharge();
|
dumpSecondCharge();
|
||||||
dumpMaxFg();
|
dumpMaxFg();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue