---
name: "function::gettimeofday_ns"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::gettimeofday_ns"
---

# function::gettimeofday\_ns(3stap)

Number of nanoseconds since UNIX epoch

## NAME

function::gettimeofday\_ns - Number of nanoseconds since UNIX epoch

## SYNOPSIS

```
    gettimeofday_ns:long()
```

## ARGUMENTS

None

## DESCRIPTION

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

## SEE ALSO0

[*tapset::timestamp\_gtod*(3stap)](/tapset::timestamp_gtod/3stap.md)
