diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-28 00:20:13 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-28 23:12:16 +0200 |
commit | 8ca6ce37014e5a9b127fc076448eb95e2b366d05 (patch) | |
tree | 5e4c5992213ef14d8c1178ac17a095be1b08bbdf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2f49afc2a6f6ec4bacb2e50d5482ecc111b41ab5 (diff) |
cpufreq: intel_pstate: Introduce pid_in_use()
Add a new function pid_in_use() to return the information on whether
or not the PID-based P-state selection algorithm is in use.
That allows a couple of complicated conditions in the code to be
reduced to simple checks against the new function's return value.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions