Commit f00593a4 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

cpufreq: intel_pstate: Clarify comment in get_target_pstate_use_performance()

Make the comment explaining the meaning of the perf_scaled variable
in get_target_pstate_use_performance() more straightforward.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent f9f4872d
...@@ -1251,10 +1251,11 @@ static inline int32_t get_target_pstate_use_performance(struct cpudata *cpu) ...@@ -1251,10 +1251,11 @@ static inline int32_t get_target_pstate_use_performance(struct cpudata *cpu)
u64 duration_ns; u64 duration_ns;
/* /*
* perf_scaled is the average performance during the last sampling * perf_scaled is the ratio of the average P-state during the last
* period scaled by the ratio of the maximum P-state to the P-state * sampling period to the P-state requested last time (in percent).
* requested last time (in percent). That measures the system's *
* response to the previous P-state selection. * That measures the system's response to the previous P-state
* selection.
*/ */
max_pstate = cpu->pstate.max_pstate_physical; max_pstate = cpu->pstate.max_pstate_physical;
current_pstate = cpu->pstate.current_pstate; current_pstate = cpu->pstate.current_pstate;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment