FUNCTION::LOCAL_CLOC(3stap)
π NAME π
function::local_clock_s β bestie, this is literally just the number of seconds on your local cpu's clock πβ¨
πΈ SYNOPSIS πΈ
local_clock_s:long()
π ARGUMENTS π
None. Nada. Zero. It takes no arguments, she's low maintenance like that π
β¨ DESCRIPTION β¨
okay so here's the tea β β this function hands you back the number of seconds on the local cpu's clock. that's it, that's the whole vibe.
monotonic is the word of the day: when you're comparing on the same cpu, this thing is always monotonic, no cap. she never goes backwards on you. π«Ά
but bestie... between cpus? π there may be some drift β within about a jiffy. so like, tiny tiny differences if you're hopping between cpus. just something to know, iykyk π
π¦ SEE ALSO π¦
tapset::timestamp_monotonic(3stap)β go read that one too, she's iconic π
and that's the whole page, bestie!! π this was brought to you by the SystemTap Tapset Reference, version dating all the way to September 2026 β¨ mwah, 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