On-Demand CPU Frequency Scaling Policy

The On-Demand policy evaluates the current CPU load using the CPU Load subsystem, and compares it to the trigger threshold defined by the SoC P-state definition.

The On-Demand policy will iterate through the defined P-states and select the first P-state of which the CPU load exceeds the defined threshold.

For an example of the on-demand policy refer to the On-demand CPU frequency scaling sample.

This policy is reactive. Frequency adjustments occur only after a change in system load has been observed, so it cannot anticipate sudden high loads. The policy has no notion of task deadlines and should not be considered as a real-time policy.