FUNCTION::CPUTIME_TO(3stap)
π FUNCTION::CPUTIME_TO(3stap) π
okay bestie, welcome to the 3stap section of the SystemTap Tapset Reference β this is the one where we turn raw kernel cputime numbers into something your human eyeballs can actually read. no cap. πβ¨
πΈ NAME πΈ
function::cputime_to_string β human readable string for given cputime π«Ά
β¨ SYNOPSIS β¨
cputime_to_string:string(cputime:long)
that's it. that's the whole vibe. one arg in, one string out. π
π ARGUMENTS π
cputimeβ the time you want translated. yes, literally just "time to translate." the manpage said it, I said it, we're all on the same page here. π¦
π DESCRIPTION π
so the way this works is, it's equivalent to calling:
msec_to_string (cputime_to_msecs (cputime).
fr fr, that's exactly how it's written in the original β I'm not touching the punctuation, bestie, I keep it character for character. π
so likeβ¦ you hand it a cputime, it hands you back a string that a human can read. iconic behaviour honestly. πβ¨
π₯ SEE ALSO π₯
tapset::task_time(3stap)β go read this one too, it's the whole task-time friend group π
and that's the whole page!! π
cute lil sign-off: this whole thing lives in the SystemTap Tapset Reference, version info was dated September 2026, and it's filed under the 3stap manual. periodt. ππΈπ
π¦ 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