Lines Matching defs:steal
28 * Hiperdispatch decision making revolves around steal time.
29 * HD_STEAL_THRESHOLD value is taken as reference. Whenever steal time
31 * capacities to entitled CPUs. When steal time drops below the
44 * each task, as long as steal time on those COREs are less than 30%,
77 static unsigned long hd_previous_steal; /* Previous iteration's CPU steal timer total */
201 static unsigned long steal;
203 steal = (steal * (HD_STEAL_AVG_WEIGHT - 1) + new) / HD_STEAL_AVG_WEIGHT;
204 return steal;
209 unsigned long time_delta, steal_delta, steal, percentage;
215 steal = 0;
218 steal += kcpustat_cpu(cpu).cpustat[CPUTIME_STEAL];
222 * If there is no vertical medium and low CPUs steal time
223 * is 0 as vertical high CPUs shouldn't experience steal time.
229 if (steal > hd_previous_steal && hd_previous_steal != 0) {
230 steal_delta = (steal - hd_previous_steal) * 100 / time_delta;
233 hd_previous_steal = steal;