function::cpu_clock_ns(3stap)

function::cpu_clock_ns3stap

Number of nanoseconds on the given cpu's clock

Usage

    cpu_clock_ns:long(cpu:long)

Arguments

cpu

Which processor's clock to read

Overview

This function returns the number of nanoseconds on the given cpu's clock. This is always monotonic comparing on the same cpu, but may have some drift between cpus (within about a jiffy).

See ALSO0

tapset::timestamp_monotonic(3stap)

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.