STRUCT ENGINE_ACTIVITY(9)
πΈ NAME πΈ
okay so this is the struct engine_activity manpage from the Kernel API Manual β it's literally the struct that holds engine specific activity data, iykyk π
β¨ SYNOPSIS β¨
struct engine_activity {
u64 active;
u64 last_cpu_ts;
u64 quanta;
u64 quanta_ns;
u64 quanta_remainder_ns;
u64 total;
bool running;
struct guc_engine_activity_metadata metadata;
struct guc_engine_activity activity;
};
no cap, that's the whole shape of it π«Ά
π MEMBERS π
okay bestie, member by member, let's go π
activeβ the current activity, like right now, in this exact moment β¨last_cpu_tsβ the cpu timestamp in nsec of the previous sample β yes, nsec, nanoseconds, she's precise πquantaβ total quanta used on HW π₯quanta_nsβ totalquanta_nsused on HW π₯quanta_remainder_nsβ the remainder when the CPU time is scaled as per thequanta_ratio. and bestie listen, this remainder gets used in subsequent quanta calculations β she's not just leftover, she's load-bearing πtotalβ total engine activity, the whole vibe check πrunningβtrueif engine is running some work, like when she's actually doing something πmetadataβ a snapshot of engine activity metadata πΈactivityβ a snapshot of engine activity counter πΈ
π¦ DESCRIPTION π¦
so basically this struct contains engine specific activity data plus a snapshot of the structures from GuC π that's it, that's the whole personality π§
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/xe/xe_guc_engine_activity_types.h struct engine_activity_group(9)struct engine_activity_buffer(9)struct xe_guc_engine_activity(9)
go read those next, bestie, they're iconic β
lowkey a whole moment. this one lives in./drivers/gpu/drm/xe, dated October 2026, and the page name isstruct engine_activity(9)β slay ππ¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms