FUNCTION::TASK_UTIME(3stap)

πŸ’– FUNCTION::TASK_UTIME πŸ’–

okay bestie, welcome to the Task Time Tapset β€” this is from the 3stap manual, and today's main character is a little function called task_utime. it tells you how much user time a task has used. no cap. πŸ¦‹


✨ NAME ✨

function::task_utime β€” the user time of the task, periodt πŸ’…


🌸 SYNOPSIS 🌸

1) task_utime:long()

2) task_utime:long(tid:long)

two whole flavors, bestie. pick your fighter. πŸŽ€


🫢 ARGUMENTS 🫢

  • tid β€” the thread id of the given task. that's it, that's the arg. ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

  1. returns the user time of the current task, measured in cputime. and listen β€” it does not include any time used by other tasks in this process, nor does it include any time of the children of this task. it's just this task's own vibe. πŸ™ˆ
  2. returns the user time of the given task in cputime, or zero if the task doesn't exist 😭. same rules as above fr fr: it does not include any time used by other tasks in this process, nor does it include any time of the children of this task.

🌈 SEE ALSO 🌈


and that's the whole page, bestie, you ate that πŸ“πŸ’œ

this lil cutie lives in the SystemTap Tapset Reference, and this version is dated September 2026 β€” go forth and measure some user time, iykyk ✨🧚

πŸ“¦ where this page comes from