diff options
author | 2018-10-01 11:56:21 +0200 | |
---|---|---|
committer | 2018-10-03 12:02:44 +0200 | |
commit | 03dba278043358bbbf4f029be169e1e73d2fbe2b (patch) | |
tree | b381cb30e44849fe3cf4c8457fc81fbfb4f14903 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpuidle: enter_state: Don't needlessly calculate diff time (diff) | |
download | linux-dev-03dba278043358bbbf4f029be169e1e73d2fbe2b.tar.xz linux-dev-03dba278043358bbbf4f029be169e1e73d2fbe2b.zip |
cpuidle: menu: Replace data->predicted_us with local variable
The predicted_us field in struct menu_device is only accessed in
menu_select(), so replace it with a local variable in that function.
With that, stop using expected_interval instead of predicted_us to
store the new predicted idle duration value if it is set to the
selected state's target residency which is quite confusing.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions