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
- 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