FUNCTION::CPU_CLOCK_(3stap)
β¨ FUNCTION::CPU_CLOCK_(3stap) β¨
ok so bestie, welcome to the FUNCTION::CPU_CLOCK_(3stap) page from the SystemTap Tapset Reference π this is one of the timestamp girlies, and she's about to tell you what time it is on your CPU's very own clock π°οΈβ¨
πΈ NAME πΈ
function::cpu_clock_s β number of seconds on the given cpu's clock π
π SYNOPSIS π
cpu_clock_s:long(cpu:long)
π¦ ARGUMENTS π¦
cpuβ which processor's clock you wanna read, bestie π«Ά like, whose clock are we peeking at
π DESCRIPTION π
okay so here's the tea β this function returns the number of seconds on the given cpu's clock. that's it. that's the whole vibe β¨
and like, lowkey the important part: it's always monotonic when you're comparing on the same cpu π₯° so on one cpu it only ever goes forward, no little time-travel jumps, no cap. but β and this is the plot twist π β there may be some drift between cpus, and that drift can be within about a jiffy. so it's giving "trust me on this one cpu, but don't @ me across cpus" π
π SEE ALSO π
tapset::timestamp_monotonic(3stap)β go read this one too, iykyk ππ
SystemTap Tapset Reference, Ver β September 2026 π that's the version and the date, mwah, bye bestie, go timestamp something iconic π β¨π¦
π¦ 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