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.c8638 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period() argument
8642 if ((u64)cfs_period_us > U64_MAX / NSEC_PER_USEC) in tg_set_cfs_period()
8645 period = (u64)cfs_period_us * NSEC_PER_USEC; in tg_set_cfs_period()
8653 u64 cfs_period_us; in tg_get_cfs_period() local
8655 cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period); in tg_get_cfs_period()
8656 do_div(cfs_period_us, NSEC_PER_USEC); in tg_get_cfs_period()
8658 return cfs_period_us; in tg_get_cfs_period()
8680 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
8682 return tg_set_cfs_period(css_tg(css), cfs_period_us); in cpu_cfs_period_write_u64()