FUNCTION::READ\_STOPW(3stap) Timestamp Functions FUNCTION::READ\_STOPW(3stap)

# [NAME](#NAME)

function::read\_stopwatch\_ns - Reads the time in nanoseconds for a stopwatch

# [SYNOPSIS](#SYNOPSIS)

```


    read_stopwatch_ns:long(name:string)
```

# [ARGUMENTS](#ARGUMENTS)

*name*

stopwatch name

# [DESCRIPTION](#DESCRIPTION)

Returns time in nanoseconds for stopwatch *name*. Creates stopwatch *name* if it does not currently exist.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::stopwatch*(3stap)](/man/enterprise-packages/systemtap/tapset::stopwatch.3stap)

September 2026 SystemTap Tapset Reference Ver

---

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