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:


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