Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/translations/zh_CN/scheduler/
Dsched-bwc.rst72 - cpu.cfs_period_us:一个周期的长度(微秒)。
78 cpu.cfs_period_us=100ms
175 # echo 250000 > cpu.cfs_period_us /* period = 250ms */
182 # echo 500000 > cpu.cfs_period_us /* period = 500ms */
191 # echo 50000 > cpu.cfs_period_us /* period = 50ms */
201 # echo 50000 > cpu.cfs_period_us /* period = 50ms */
/linux-6.1.9/Documentation/scheduler/
Dsched-bwc.rst78 - cpu.cfs_period_us: the length of a period (in microseconds)
84 cpu.cfs_period_us=100ms
214 # echo 250000 > cpu.cfs_period_us /* period = 250ms */
222 # echo 500000 > cpu.cfs_period_us /* period = 500ms */
231 # echo 50000 > cpu.cfs_period_us /* period = 50ms */
243 # echo 50000 > cpu.cfs_period_us /* period = 50ms */
/linux-6.1.9/kernel/sched/
Dcore.c10681 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period() argument
10685 if ((u64)cfs_period_us > U64_MAX / NSEC_PER_USEC) in tg_set_cfs_period()
10688 period = (u64)cfs_period_us * NSEC_PER_USEC; in tg_set_cfs_period()
10697 u64 cfs_period_us; in tg_get_cfs_period() local
10699 cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period); in tg_get_cfs_period()
10700 do_div(cfs_period_us, NSEC_PER_USEC); in tg_get_cfs_period()
10702 return cfs_period_us; in tg_get_cfs_period()
10748 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
10750 return tg_set_cfs_period(css_tg(css), cfs_period_us); in cpu_cfs_period_write_u64()