Skip to content

KFunc scx_bpf_cidperf_cap

v7.2

Query the maximum relative capacity of the CPU at cid.

Definition

cid-addressed equivalent of scx_bpf_cpuperf_cap.

Parameters

cid: cid of the CPU to query

Returns

Maximum relative capacity of the CPU.

Signature

u32 scx_bpf_cidperf_cap(s32 cid)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome