FUNCTION::GETTIMEOFD(3stap) Timestamp Functions FUNCTION::GETTIMEOFD(3stap)

# [NAME](#NAME)

function::gettimeofday\_ms - Number of milliseconds since UNIX epoch

# [SYNOPSIS](#SYNOPSIS)

```


    gettimeofday_ms:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

This function returns the number of milliseconds since the UNIX epoch.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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