FUNCTION::CPU_CLOCK_(3stap)

πŸ’… NAME πŸ’…

function::cpu_clock_us β€” the number of microseconds chillin' on a given cpu's clock, bestie ⏱️✨


🌸 SYNOPSIS 🌸

cpu_clock_us:long(cpu:long)

πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” which processor's clock we're reading, like which bestie's phone we're checking the time on πŸ“±πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function hands you back the number of microseconds on the given cpu's clock. that's it, that's the whole vibe πŸ’–

and here's the tea: it's always monotonic when you're comparing on the same cpu, so no messy time-travel nonsense there, periodt πŸ‘‘ but between cpus? yeah there might be some drift β€” like, within about a jiffy. not a lot, but it's there, ngl πŸ™ˆ

so if you're comparing across cpus, lowkey expect a lil wobble. same cpu? flawless, no notes πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, no cap 🫢 this was the SystemTap Tapset Reference, cutest little timestamp-functions corner of the 3stap manual, dated September 2026 🌈 go forth and read those clocks, you absolute icon πŸ’œ

πŸ“¦ where this page comes from