FUNCTION::TASK_STIME(3stap)

πŸ’– FUNCTION::TASK_STIME πŸ’–

okay bestie, welcome to the Task Time Tapset corner of the SystemTap manual, aka 3stap β€” the place where we find out how much CPU your little guys are actually eating πŸ‘‘βœ¨


🌸 NAME 🌸

function::task_stime β€” the system time of the task, periodt πŸ’…


✨ SYNOPSIS ✨

there's two whole flavours of this and you get to pick, no cap:

1) task_stime:long()

2) task_stime:long(tid:long)

πŸŽ€ ARGUMENTS πŸŽ€

  • tid β€” the thread id of the given task. like, which task, bestie 🫢

πŸ’« DESCRIPTION πŸ’«

okay so it's giving two options and honestly both are iconic:

  1. Returns the system time of the current task 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. so it's just this task's time, nothing borrowed, nothing sneaky πŸ™ˆ
  2. Returns the system time of the given task in cputime, or zero if the task doesn't exist 😭 (rip). same rules as above: 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 page fr fr!! this was the SystemTap Tapset Reference, version Ver, dated September 2026 β€” mwah, go forth and measure ur tasks bestie, you ate πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from