diff options
| author | Viresh Kumar <[email protected]> | 2013-10-02 14:13:15 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2013-10-16 00:50:22 +0200 |
| commit | 77db50c4eb1991d6e88254390ec368e1d23a8fa5 (patch) | |
| tree | eb0b2c9a8436be57c25422dcb65609702210a3f0 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 27a862e98341226a50835f29aa26ffa528215ecc (diff) | |
cpufreq: Optimize cpufreq_frequency_table_verify()
cpufreq_frequency_table_verify() is rewritten here to make it more logical
and efficient.
- merge multiple lines for variable declarations together.
- quit early if any frequency between min/max is found.
- don't call cpufreq_verify_within_limits() in case any valid freq is
found as it is of no use.
- rename the count variable as found and change its type to boolean.
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions