Home
last modified time | relevance | path

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

/linux/tools/sched_ext/
H A Dscx_qmap.bpf.c90 [0] = SCX_CPUPERF_ONE * 0 / 4,
91 [1] = SCX_CPUPERF_ONE * 1 / 4,
92 [2] = SCX_CPUPERF_ONE * 2 / 4,
93 [3] = SCX_CPUPERF_ONE * 3 / 4,
94 [4] = SCX_CPUPERF_ONE * 4 / 4,
794 u64 cap_sum = 0, cur_sum = 0, cur_min = SCX_CPUPERF_ONE, cur_max = 0; in monitor_cpuperf()
795 u64 target_sum = 0, target_min = SCX_CPUPERF_ONE, target_max = 0; in monitor_cpuperf()
822 cur_sum += cur * cap / SCX_CPUPERF_ONE; in monitor_cpuperf()
838 cpuperf_avg = cur_sum * SCX_CPUPERF_ONE / cap_sum; in monitor_cpuperf()
/linux/kernel/sched/
H A Dext_internal.h20 SCX_CPUPERF_ONE = SCHED_CAPACITY_SCALE, enumerator
H A Dext.c6781 rq->scx.cpuperf_target = SCX_CPUPERF_ONE; in scx_root_enable_workfn()
9227 return SCX_CPUPERF_ONE; in scx_bpf_cpuperf_cap()
9255 return SCX_CPUPERF_ONE; in scx_bpf_cpuperf_cur()
9283 if (unlikely(perf > SCX_CPUPERF_ONE)) { in scx_bpf_cpuperf_set()