diff options
author | 2025-01-13 19:50:23 +0100 | |
---|---|---|
committer | 2025-01-20 17:17:56 +0100 | |
commit | ddcfa7964677b1298712edb931a98ac25ffd2fb6 (patch) | |
tree | abf0c7e725e8b5c640ef1e9025c3fb405fa45234 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpuidle: teo: Skip getting the sleep length if wakeups are very frequent (diff) | |
download | linux-rng-ddcfa7964677b1298712edb931a98ac25ffd2fb6.tar.xz linux-rng-ddcfa7964677b1298712edb931a98ac25ffd2fb6.zip |
cpuidle: teo: Simplify handling of total events count
Instead of computing the total events count from scratch every time,
decay it and add a PULSE value to it in teo_update().
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Tested-by: Aboorva Devarajan <aboorvad@linux.ibm.com>
Tested-by: Christian Loehle <christian.loehle@arm.com>
Link: https://patch.msgid.link/9388883.CDJkKcVGEf@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions