Home
last modified time | relevance | path

Searched refs:cfs_period_us (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-bwc.rst29 cpu.cfs_period_us: the length of a period (in microseconds)
34 cpu.cfs_period_us=100ms
154 # echo 250000 > cpu.cfs_period_us /* period = 250ms */
162 # echo 500000 > cpu.cfs_period_us /* period = 500ms */
171 # echo 50000 > cpu.cfs_period_us /* period = 50ms */
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c8664 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period() argument
8668 if ((u64)cfs_period_us > U64_MAX / NSEC_PER_USEC) in tg_set_cfs_period()
8671 period = (u64)cfs_period_us * NSEC_PER_USEC; in tg_set_cfs_period()
8679 u64 cfs_period_us; in tg_get_cfs_period() local
8681 cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period); in tg_get_cfs_period()
8682 do_div(cfs_period_us, NSEC_PER_USEC); in tg_get_cfs_period()
8684 return cfs_period_us; in tg_get_cfs_period()
8706 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
8708 return tg_set_cfs_period(css_tg(css), cfs_period_us); in cpu_cfs_period_write_u64()