dnsjit.lib.clock - Man Page

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

Clock.realtime()

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

Clock.monotonic()

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

Referenced By

dnsjit.lib(3).

1.5.0 dnsjit