Lines Matching defs:period
132 * single value that denotes runtime == period, ie unlimited time.
190 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime)
192 rt_b->rt_period = ns_to_ktime(period);
821 * period over which we average the RT time consumption, measured
829 * period over which we measure -rt task cpu usage in us.
837 * part of the period that we allow rt tasks to run in us.
1282 s64 period = sched_avg_period();
1284 while ((s64)(rq->clock - rq->age_stamp) > period) {
1291 rq->age_stamp += period;
3094 * in the pending idle delta if our idle period crossed a load cycle boundary.
3134 * a LOAD_FREQ period, the regular check in calc_global_load()
8575 static unsigned long to_ratio(u64 period, u64 runtime)
8580 return div64_u64(runtime << 20, period);
8607 u64 period, runtime;
8609 period = ktime_to_ns(tg->rt_bandwidth.rt_period);
8613 period = d->rt_period;
8618 * Cannot have more runtime than the period.
8620 if (runtime > period && runtime != RUNTIME_INF)
8629 total = to_ratio(period, runtime);
8641 period = ktime_to_ns(child->rt_bandwidth.rt_period);
8645 period = d->rt_period;
8649 sum += to_ratio(period, runtime);
8658 static int __rt_schedulable(struct task_group *tg, u64 period, u64 runtime)
8662 .rt_period = period,
8747 u64 runtime, period;
8754 period = global_rt_period();
8759 if (runtime > period && runtime != RUNTIME_INF)
9313 * Wait for an rcu-sched grace period to elapse, but use "big hammer"
9314 * approach to force grace period to end quickly. This consumes