DOKK / manpages / debian 12 / dnsjit / dnsjit.lib.clock.3.en
dnsjit.lib.clock(3) Library Functions Manual dnsjit.lib.clock(3)

dnsjit.lib.clock - Clock and time functions


local clock = require("dnsjit.lib.clock")
local sec, nsec = clock.monotonic()

Functions to get the time from system-wide clocks.

Return the current seconds and nanoseconds (as a list) from the realtime clock.
Return the current seconds and nanoseconds (as a list) from the monotonic clock.

clock_gettime(2)

Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

Maintained by DNS-OARC

https://www.dns-oarc.net/

For issues and feature requests please use:

https://github.com/DNS-OARC/dnsjit/issues

For question and help please use:

admin@dns-oarc.net
1.2.3 dnsjit