FUNCTION::CPU_CLOCK_(3stap)
β¨ NAME β¨
okay so bestie, this is function::cpu_clock_ms β it gives you the number of milliseconds on the given cpu's clock. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
cpu_clock_ms:long(cpu:long)
π ARGUMENTS π
cpuβ which processor's clock we're reading, babes. you gotta tell it which cpu, it's not gonna guess. π
π DESCRIPTION π
so like, this function hands you back the number of milliseconds on the clock of the cpu you asked about. πβ¨
and here's the tea, bestie: comparing on the same cpu, it's always monotonic β meaning it never goes backwards, it's giving stable, it's giving reliable, we love that for you. π
BUT. π and this is the important part. between different cpus, you might get some drift β within about a jiffy, so it's tiny, but it's there. so if you're comparing timestamps across cpus, just know the clocks aren't gonna match up perfectly. no cap. π«Ά
π¦ SEE ALSO π¦
tapset::timestamp_monotonic(3stap)β go read this one too, it's iconic. β
SystemTap Tapset Reference π Version β¨ September 2026 π β that's the source, the version, and the date bestie, mwah, bye, love u, go timestamp something ππ
π¦ 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