xe_gt_stats_ktime_get(9)
π xe_gt_stats_ktime_get(9) π
okay so bestie, welcome to the Kernel API Manual β this lil page is literally all about one tiny helper function and honestly? it's giving "small but mighty" energy. β¨
πΈ NAME πΈ
xe_gt_stats_ktime_get β Get current ktime π
like... that's it. that's the whole name. short, sweet, iconic.
π SYNOPSIS π
ktime_t xe_gt_stats_ktime_get (void );
no cap, that's the whole signature. copy it exactly, bestie, spacing and all β don't go "fixing" it, i'm watching you π
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. nada. it takes nothing, it needs nothing. main character energy fr fr π
β¨ DESCRIPTION β¨
so here's the vibe: this is a helper for GT stats to grab the current ktime. that's its whole job and it does it slayfully. π
and the lowkey cool part? it compiles out if GT stats are disabled. so if you're not using GT stats, this thing literally isn't even there. ghosted by the compiler. we love a function that knows when to not show up π
π₯ RETURN π₯
returns the current ktime β yep, that's the whole return value. it gives you the current ktime. periodt. β
π SEE ALSO π
- the kernel file
./drivers/gpu/drm/xe/xe_gt_stats.hβ go read it, iykyk π xe_gt_stats_ktime_us_delta(9)β the sibling function, bestie behavior fr π«Ά
π reminder bestie: keep every symbol, path and signature exactly as written. no renaming, no "improving", no merging. we respect the source in this house π
π and that's the whole page!! brought to you by the good people over in ./drivers/gpu/drm/xe, dated October 2026 β mwah, love u, go call some ktime functions ππ§ββοΈ
π¦ 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