FUNCTION::LOCAL\_CLOC(3stap) Timestamp Functions FUNCTION::LOCAL\_CLOC(3stap)

# [NAME](#NAME)

function::local\_clock\_ms - Number of milliseconds on the local cpu's clock

# [SYNOPSIS](#SYNOPSIS)

```


    local_clock_ms:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

This function returns the number of milliseconds on the local 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](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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