Searched refs:SCX_CPUPERF_ONE (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.bpf.c | 138 [0] = SCX_CPUPERF_ONE * 0 / 4, 139 [1] = SCX_CPUPERF_ONE * 1 / 4, 140 [2] = SCX_CPUPERF_ONE * 2 / 4, 141 [3] = SCX_CPUPERF_ONE * 3 / 4, 142 [4] = SCX_CPUPERF_ONE * 4 / 4, 1249 u64 cap_sum = 0, cur_sum = 0, cur_min = SCX_CPUPERF_ONE, cur_max = 0; in monitor_timerfn() 1250 u64 target_sum = 0, target_min = SCX_CPUPERF_ONE, target_max = 0; in monitor_timerfn() 1264 cur_sum += (u64)cur * cap / SCX_CPUPERF_ONE; in monitor_timerfn() 1277 qa.cpuperf_avg = cur_sum * SCX_CPUPERF_ONE / cap_sum; 2210 scx_bpf_cidperf_set(cid, SCX_CPUPERF_ONE); [all...] |
| /linux/kernel/sched/ext/ |
| H A D | types.h | 41 SCX_CPUPERF_ONE = SCHED_CAPACITY_SCALE, enumerator
|
| H A D | ext.c | 8283 rq->scx.cpuperf_target = SCX_CPUPERF_ONE; in bpf_scx_check_member() 11010 * %SCX_CPUPERF_ONE]. See scx_bpf_cpuperf_cur(). 11022 return SCX_CPUPERF_ONE; 11041 return SCX_CPUPERF_ONE; 11044 return SCX_CPUPERF_ONE; in scx_kfunc_context_filter() 11054 * The return value is in the range [1, %SCX_CPUPERF_ONE]. in scx_kfunc_context_filter() 11059 * scx_bpf_cpuperf_cap() * scx_bpf_cpuperf_cur() / %SCX_CPUPERF_ONE in scx_kfunc_context_filter() 11061 * The result is in the range [1, %SCX_CPUPERF_ONE]. in scx_kfunc_context_filter() 11073 return SCX_CPUPERF_ONE; in scx_kfunc_context_filter() 11092 return SCX_CPUPERF_ONE; in scx_kfunc_context_filter() [all...] |