Searched refs:SCX_CPUPERF_ONE (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.bpf.c | 135 [0] = SCX_CPUPERF_ONE * 0 / 4, 136 [1] = SCX_CPUPERF_ONE * 1 / 4, 137 [2] = SCX_CPUPERF_ONE * 2 / 4, 138 [3] = SCX_CPUPERF_ONE * 3 / 4, 139 [4] = SCX_CPUPERF_ONE * 4 / 4, 1159 u64 cap_sum = 0, cur_sum = 0, cur_min = SCX_CPUPERF_ONE, cur_max = 0; in monitor_cpuperf() 1160 u64 target_sum = 0, target_min = SCX_CPUPERF_ONE, target_max = 0; in monitor_cpuperf() 1174 cur_sum += (u64)cur * cap / SCX_CPUPERF_ONE; in monitor_cpuperf() 1187 qa.cpuperf_avg = cur_sum * SCX_CPUPERF_ONE / cap_sum; in monitor_cpuperf()
|
| /linux/kernel/sched/ext/ |
| H A D | types.h | 41 SCX_CPUPERF_ONE = SCHED_CAPACITY_SCALE, enumerator
|
| H A D | ext.c | 7533 rq->scx.cpuperf_target = SCX_CPUPERF_ONE; in scx_root_enable_workfn() 10097 return SCX_CPUPERF_ONE; in scx_bpf_cpuperf_cap() 10116 return SCX_CPUPERF_ONE; in scx_bpf_cidperf_cap() 10119 return SCX_CPUPERF_ONE; in scx_bpf_cidperf_cap() 10148 return SCX_CPUPERF_ONE; in scx_bpf_cpuperf_cur() 10167 return SCX_CPUPERF_ONE; in scx_bpf_cidperf_cur() 10170 return SCX_CPUPERF_ONE; in scx_bpf_cidperf_cur() 10181 if (unlikely(perf > SCX_CPUPERF_ONE)) { in scx_cpuperf_set()
|