Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/kernel/sched/
Dcore.c10949 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period() argument
10953 if ((u64)cfs_period_us > U64_MAX / NSEC_PER_USEC) in tg_set_cfs_period()
10956 period = (u64)cfs_period_us * NSEC_PER_USEC; in tg_set_cfs_period()
10965 u64 cfs_period_us; in tg_get_cfs_period() local
10967 cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period); in tg_get_cfs_period()
10968 do_div(cfs_period_us, NSEC_PER_USEC); in tg_get_cfs_period()
10970 return cfs_period_us; in tg_get_cfs_period()
11016 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
11018 return tg_set_cfs_period(css_tg(css), cfs_period_us); in cpu_cfs_period_write_u64()