FUNCTION::KTIME\_GET\_(3stap) Timestamp Functions FUNCTION::KTIME\_GET\_(3stap)

# [NAME](#NAME)

function::ktime\_get\_ns - Number of nanoseconds since boot

# [SYNOPSIS](#SYNOPSIS)

```


    ktime_get_ns:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

This function returns the system ktime.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::timestamp\_monotonic*(3stap)](/man/enterprise-packages/systemtap/tapset::timestamp_monotonic.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::ktime_get_ns(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
