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 🌈


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