xe_guc_engi...active_ticks(9)
β¨ xe_guc_engine_activity_active_ticks(9) β¨
okay bestie, welcome to the Kernel API Manual π we're talking about xe_guc_engine_activity_active_ticks today and honestly? it's giving "small function, big job" energy. sit down, grab a strawberry π, let's go.
π NAME π
xe_guc_engine_activity_active_ticks β get engine active ticks β±οΈβ¨
πΈ SYNOPSIS πΈ
u64 xe_guc_engine_activity_active_ticks (struct xe_guc *guc,
struct xe_hw_engine *hwe,
unsigned int fn_id);
like, that's the whole signature. she's a u64, she takes three things, and she's literally iconic for it π
π¦ ARGUMENTS π¦
gucβ the GuC object π your main character.hweβ thehw_engineobject π₯ the engine we're snooping on.fn_idβ function id to report on π yes, that function. that one. the id says which.
π RETURN π
accumulated ticks hwe was active since engine activity stats were enabled π not gonna lie, this is the good part: it's the accumulated ticks β meaning all the ticks piled up from the moment engine activity stats got switched on, up to now. no cap. β
just a heads up bestie: it's since stats were enabled, not since forever π if you enabled them five minutes ago, you're getting five minutes' worth of ticks. periodt.
π§ SEE ALSO π§
- kernel file:
./drivers/gpu/drm/xe/xe_guc_engine_activity.cπ (go read it, iykyk) xe_guc_engine_activity_total_ticks(9)π«xe_guc_engine_activity_supported(9)βxe_guc_engine_activity_function_stats(9)πxe_guc_engine_activity_enable_stats(9)πxe_guc_engine_activity_init(9)π±
the whole friend group fr fr, they all show up together ππ«Ά
and that's the page!! huge shoutout to ./drivers/gpu/drm/xe for housing all this, dated October 2026 β future vibes only πβ¨ mwah, go read the other ones too, 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