diff options
| author | Len Brown <len.brown@intel.com> | 2026-05-06 10:00:00 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-10-03 14:53:23 -0400 |
| commit | 4016040dc94d5a4621f7d56fbf0d40da6b7172c4 (patch) | |
| tree | ee4dadba76763a256651d609d2526331b0cab08a /tools/perf/scripts/python/bin | |
| parent | 8a7f120e5288b9ebd87850350d2d7bdf74a54f08 (diff) | |
| download | linux-next-4016040dc94d5a4621f7d56fbf0d40da6b7172c4.tar.gz linux-next-4016040dc94d5a4621f7d56fbf0d40da6b7172c4.zip | |
x86_energy_perf_policy: Cleanup: Define HWP window max
Replace all occurrences of the hardcoded magic number 1270000000
with a named symbolic constant HWP_WINDOW_MAX_USEC to improve code
readability and maintainability.
The value 1270000000 represents the maximum HWP activity window duration in
microseconds. Using a symbolic constant documents its meaning and makes it
easier to locate all uses of this limit.
Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
