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 πŸ”₯


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