Scroll to navigation

dnsjit.lib.clock(3) Library Functions Manual dnsjit.lib.clock(3)

NAME

dnsjit.lib.clock - Clock and time functions

SYNOPSIS


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

DESCRIPTION

Functions to get the time from system-wide clocks.

Functions

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.

SEE ALSO

clock_gettime(2)

AUTHORS and CONTRIBUTORS

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

Maintained by DNS-OARC

BUGS

For issues and feature requests please use:

For question and help please use:

admin@dns-oarc.net
1.2.3 dnsjit