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 π
task_utimeβ user time of the task. seefunction::task_utime(3stap)for the details. πtask_utimeβ user time of the task. seefunction::task_utime(3stap)for the details. (yes bestie it's listed twice, that's just how it is, no cap π)task_stimeβ system time of the task. seefunction::task_stime(3stap)for the details. πΈtask_stimeβ system time of the task. seefunction::task_stime(3stap)for the details. (double listed, iconic behavior honestly π«Ά)task_start_timeβ start time of the given task. seefunction::task_start_time(3stap)for the details. βcputime_to_msecsβ translates the given cputime into milliseconds. seefunction::cputime_to_msecs(3stap)for the details. β¨cputime_to_usecsβ translates the given cputime into microseconds. seefunction::cputime_to_usecs(3stap)for the details. β¨msecs_to_stringβ human readable string for given milliseconds. seefunction::msecs_to_string(3stap)for the details. πusecs_to_stringβ human readable string for given microseconds. seefunction::usecs_to_string(3stap)for the details. πnsecs_to_stringβ human readable string for given nanoseconds. seefunction::nsecs_to_string(3stap)for the details. πcputime_to_stringβ human readable string for given cputime. seefunction::cputime_to_string(3stap)for the details. πtask_time_stringβ human readable string of task time usage. seefunction::task_time_string(3stap)for the details. πtask_time_string_tidβ human readable string of task time usage. seefunction::task_time_string_tid(3stap)for the details. π
π 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
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms