Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/kernel/sched/
Dcore.c10946 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period() argument
10950 if ((u64)cfs_period_us > U64_MAX / NSEC_PER_USEC) in tg_set_cfs_period()
10953 period = (u64)cfs_period_us * NSEC_PER_USEC; in tg_set_cfs_period()
10962 u64 cfs_period_us; in tg_get_cfs_period() local
10964 cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period); in tg_get_cfs_period()
10965 do_div(cfs_period_us, NSEC_PER_USEC); in tg_get_cfs_period()
10967 return cfs_period_us; in tg_get_cfs_period()
11013 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
11015 return tg_set_cfs_period(css_tg(css), cfs_period_us); in cpu_cfs_period_write_u64()