Lines Matching full:idle
3 * Timer events oriented CPU idle governor
15 * wakeups from idle states. Moreover, information about what happened in the
17 * idle state with target residency within the (known) time till the closest
19 * the upcoming CPU idle period and, if not, then which of the shallower idle
23 * which can be covered by taking a few most recent idle time intervals of the
25 * consider idle duration values greater than the sleep length, because the
29 * Thus this governor estimates whether or not the prospective idle duration of
31 * an idle state for it accordingly.
35 * idle states provided by the %CPUIdle driver in the ascending order. That is,
37 * the second idle state (idle state 1), the second bin spans from the target
38 * residency of idle state 1 up to, but not including, the target residency of
39 * idle state 2, the third bin spans from the target residency of idle state 2
40 * up to, but not including, the target residency of idle state 3 and so on.
41 * The last bin spans from the target residency of the deepest idle state
45 * They are updated every time before selecting an idle state for the given CPU
49 * sleep length and the idle duration measured after CPU wakeup fall into the
52 * situations in which the measured idle duration is so much shorter than the
53 * sleep length that the bin it falls into corresponds to an idle state
61 * In order to select an idle state for a CPU, the governor takes the following
65 * 1. Find the deepest CPU idle state whose target residency does not exceed
66 * the current sleep length (the candidate idle state) and compute 3 sums as
70 * and all of the deeper idle states (it represents the cases in which the
71 * CPU was idle long enough to avoid being intercepted if the sleep length
74 * - The sum of the "intercepts" metrics for all of the idle states shallower
76 * idle long enough to avoid being intercepted if the sleep length had been
79 * - The sum of the numbers of recent intercepts for all of the idle states
84 * for an alternative idle state to select.
86 * - Traverse the idle states shallower than the candidate one in the
90 * of the numbers of recent intercepts over all of the idle states between
98 * not exceeded the idle duration in over a half of the relevant cases),
99 * select the given idle state instead of the candidate one.
118 * Number of the most recent idle duration values to take into consideration for
137 * @time_span_ns: Time between idle state selection and post-wakeup update.
139 * @state_bins: Idle state data bins for this CPU.
169 * enough to the closest timer event expected at the idle state in teo_update()
178 * (saved) time till the next timer event and the measured idle in teo_update()
200 * find the bins that the sleep length and the measured idle duration in teo_update()
227 * If the measured idle duration falls into the same bin as the sleep in teo_update()
230 * the measured idle duration. in teo_update()
256 * teo_find_shallower_state - Find shallower idle state matching given duration.
259 * @state_idx: Index of the capping idle state.
260 * @duration_ns: Idle duration value to match.
280 * teo_select - Selects the next idle state to enter.
325 * Find the deepest idle state whose target residency does not exceed in teo_select()
326 * the current sleep length and the deepest idle state not deeper than in teo_select()
336 * Update the sums of idle state mertics for all of the states in teo_select()
373 * If the sum of the intercepts metric for all of the idle states in teo_select()
380 * idle state to select. in teo_select()
389 * Look for the deepest idle state whose target residency had in teo_select()
390 * not exceeded the idle duration in over a half of the relevant in teo_select()
450 * idle state shallower than the current candidate one. in teo_select()
458 * expected idle duration is shorter than the tick period length. in teo_select()
490 * nets, assume that the CPU might have been idle for the entire sleep in teo_reflect()