TAPSET::TIMESTAMP_MONOTONIC(3stap)
πΈ NAME πΈ
tapset::timestamp_monotonic β the systemtap timestamp_monotonic tapset, bestie. It's the 3stap one. Clocks. Monotonic ones. We love her. π
β¨ DESCRIPTION β¨
Okay so this tapset is literally just a whole squad of clock-reading functions, and every single one of them is out here measuring time for you. Some of them care about which cpu you're on, some of them are ride-or-die for the local cpu, and one of them just counts from boot. Let's go, one by one. π¦
cpu_clock_nsβ number of nanoseconds on the given cpu's clock. π
See function::cpu_clock_ns(3stap) for details.
cpu_clock_usβ number of microseconds on the given cpu's clock. π
See function::cpu_clock_us(3stap) for details.
cpu_clock_msβ number of milliseconds on the given cpu's clock. π
See function::cpu_clock_ms(3stap) for details.
cpu_clock_sβ number of seconds on the given cpu's clock. π
See function::cpu_clock_s(3stap) for details.
local_clock_nsβ number of nanoseconds on the local cpu's clock. π«Ά
See function::local_clock_ns(3stap) for details.
local_clock_usβ number of microseconds on the local cpu's clock. π«Ά
See function::local_clock_us(3stap) for details.
local_clock_msβ number of milliseconds on the local cpu's clock. π«Ά
See function::local_clock_ms(3stap) for details.
local_clock_sβ number of seconds on the local cpu's clock. π«Ά
See function::local_clock_s(3stap) for details.
ktime_get_nsβ number of nanoseconds since boot. That's it, that's the whole vibe. β¨
See function::ktime_get_ns(3stap) for details.
ngl, notice the pattern:ns,us,ms,sβ nano, micro, milli, whole seconds. Same clock, four different sizes of slice. Pick your unit, she's got you. π
π SEE ALSO π
All the function pages this tapset is hyping up, plus the big ones:
function::cpu_clock_ns(3stap)function::cpu_clock_us(3stap)function::cpu_clock_ms(3stap)function::cpu_clock_s(3stap)function::local_clock_ns(3stap)function::local_clock_us(3stap)function::local_clock_ms(3stap)function::local_clock_s(3stap)function::ktime_get_ns(3stap)stap(1)stapprobes(3stap)
Okay that's the whole page, bestie, you ate it. πβ¨
Sign-off time: this one comes to you from the SystemTap Tapset Reference, and the footer is dated September 2018 (the year got a lil squished against the page title down there, we still love her). Now go read those function:: pages, they're literally right there. ππ¦π
π¦ 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