Skip to content

KFunc scx_bpf_cidperf_cur

v7.2

Query the current performance of the CPU at cid.

Definition

cid-addressed equivalent of scx_bpf_cpuperf_cur.

Parameters

cid: cid of the CPU to query

Returns

Current performance of the CPU.

Signature

u32 scx_bpf_cidperf_cur(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