Commit ed625c6
tools/power turbostat: Add idle governor statistics reporting
The idle governor provides the following per-idle state sysfs files:
* above - Indicates overshoots, where a more shallow state should have
been requested (if avaliale and enabled).
* below - Indicates undershoots, where a deeper state should have been
requested (if available and enabled).
These files offer valuable insights into how effectively the Linux kernel
idle governor selects idle states for a given workload. This commit adds
support for these files in turbostat.
Expose the contents of these files with the following naming convention:
* C1: The number of times the C1 state was requested (existing counter).
* C1+: The number of times the idle governor selected C1, but a deeper
idle state should have been selected instead.
* C1-: The number of times the idle governor selected C1, but a shallower
idle state should have been selected instead.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>1 parent 5132681 commit ed625c6
2 files changed
+44
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
163 | 167 | | |
164 | 168 | | |
165 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10265 | 10265 | | |
10266 | 10266 | | |
10267 | 10267 | | |
| 10268 | + | |
10268 | 10269 | | |
10269 | 10270 | | |
10270 | 10271 | | |
| |||
10296 | 10297 | | |
10297 | 10298 | | |
10298 | 10299 | | |
| 10300 | + | |
| 10301 | + | |
| 10302 | + | |
| 10303 | + | |
| 10304 | + | |
10299 | 10305 | | |
10300 | 10306 | | |
10301 | 10307 | | |
| |||
10306 | 10312 | | |
10307 | 10313 | | |
10308 | 10314 | | |
10309 | | - | |
10310 | | - | |
10311 | | - | |
10312 | | - | |
10313 | | - | |
10314 | 10315 | | |
10315 | 10316 | | |
10316 | 10317 | | |
10317 | 10318 | | |
10318 | | - | |
10319 | | - | |
10320 | 10319 | | |
10321 | 10320 | | |
10322 | 10321 | | |
10323 | 10322 | | |
10324 | 10323 | | |
10325 | 10324 | | |
| 10325 | + | |
| 10326 | + | |
| 10327 | + | |
| 10328 | + | |
| 10329 | + | |
| 10330 | + | |
| 10331 | + | |
| 10332 | + | |
| 10333 | + | |
| 10334 | + | |
| 10335 | + | |
| 10336 | + | |
| 10337 | + | |
| 10338 | + | |
| 10339 | + | |
| 10340 | + | |
| 10341 | + | |
| 10342 | + | |
| 10343 | + | |
| 10344 | + | |
| 10345 | + | |
| 10346 | + | |
| 10347 | + | |
10326 | 10348 | | |
10327 | | - | |
10328 | 10349 | | |
| 10350 | + | |
| 10351 | + | |
| 10352 | + | |
| 10353 | + | |
| 10354 | + | |
| 10355 | + | |
| 10356 | + | |
| 10357 | + | |
| 10358 | + | |
| 10359 | + | |
| 10360 | + | |
10329 | 10361 | | |
10330 | 10362 | | |
10331 | 10363 | | |
| |||
0 commit comments