diff options
| author | Srinivas Pandruvada <[email protected]> | 2013-04-09 22:38:18 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2013-04-10 13:42:45 +0200 |
| commit | d1b6848590af407c5d2354929ac683052d631830 (patch) | |
| tree | 482ffe294513d0c6856a419f1f7cba786ea79c34 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | 49ded525d4486dc97fc965858bf3ddf245463670 (diff) | |
cpufreq / intel_pstate: Optimize intel_pstate_set_policy
This function is called quite often from other subsystems.
Removed unused call to intel_pstate_get_min_max().
Also when "policy->policy == CPUFREQ_POLICY_PERFORMANCE", then
no need to do calculations as the limits will be forced anyway.
Also corrected filename in the header.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions