TAPSET::TASK_TIME(3stap)

πŸ’– NAME πŸ’–

okay so bestie, this is tapset::task_time β€” the systemtap task_time tapset, fr fr. that's the whole vibe. it's a manual page for a whole lil family of functions. πŸ¦‹


✨ DESCRIPTION ✨

so like. Task time query and utility functions give you the tea on how much time resource the current task is using. they tell you about the user time and the system time of the current task, and they also hand you the little helper functions that turn those reported times into milliseconds and make them into human readable string representations of the task time that got used. slay.

⚠️ but listen β€” the reported times are approximates, okay? so use them for "coarse grained" measurements only. and also (this is important, don't @ me) the reported user and system time are only for the current task β€” not for the process as a whole, and not for any time spent by children of the current task. periodt.

πŸŽ€ the functions πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

go read these too bestie, they're the whole friend group:

function::task_utime(3stap), function::task_stime(3stap),
function::task_start_time(3stap), function::cputime_to_msecs(3stap),
function::cputime_to_usecs(3stap), function::msecs_to_string(3stap),
function::usecs_to_string(3stap), function::nsecs_to_string(3stap),
function::cputime_to_string(3stap), function::task_time_string(3stap),
function::task_time_string_tid(3stap), stap(1), stapprobes(3stap)

and that's the whole page, bestie πŸ’– this was the SystemTap Tapset Reference, September 2026 edition, from the 3stap manual β€” ily, go measure some task time, mwah πŸ’…πŸ¦‹βœ¨

πŸ“¦ where this page comes from