xe_gt_stats_ktime_us_delta(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_gt_stats_ktime_us_delta(9) πŸ’–

okay so this is a page from the Kernel API Manual, and it's about one little function called xe_gt_stats_ktime_us_delta β€” yes the name is a mouthful, we love her anyway 🫢


✨ NAME ✨

xe_gt_stats_ktime_us_delta β€” get the delta in microseconds between now and a start time. that's it. that's the whole gig πŸ’…


🌸 SYNOPSIS 🌸

s64 xe_gt_stats_ktime_us_delta (ktime_t start );

like, she takes one thing and she gives you back an s64. main character energy fr fr πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • start β€” the start time. that's the time you're measuring from, bestie. the vibe check anchor point ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

so this is a helper for GT stats β€” its whole job is getting the delta in microseconds between now and a start time. small, focused, iconic ✨

and the cutest part?? she literally compiles out if GT stats are disabled. not me being zero-cost when you don't need me πŸ˜­πŸ’€ that's called boundaries, look it up.


πŸ‘‘ RETURN πŸ‘‘

the delta in microseconds between now and a start time. that's the return value, periodt πŸ’œ


🌈 SEE ALSO 🌈

  • the kernel file ./drivers/gpu/drm/xe/xe_gt_stats.h β€” go read her, iykyk πŸ“–
  • xe_gt_stats_ktime_get(9) β€” her bestie, they come as a set 🧚

ngl this one's short and sweet, but every detail still counts bestie β€” no skipping, no summarizing, we keep it 100. πŸ“

and that's the page!! sign-off time πŸŽ€ this little beauty lives in ./drivers/gpu/drm/xe, dated October 2026, and the page itself is xe_gt_stats_ktime_us_delta(9) β€” go forth and measure those microseconds, bestie, you're gonna slay πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from