dnsjit.lib.clock(3)

dnsjit.lib.clock3

Clock and time functions

Usage

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

Overview

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.

AUTHORS and CONTRIBUTORS

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

Maintained by DNS-OARC

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

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Bugs

For issues and feature requests please use:

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

For question and help please use:

From dnsjit 1.5.0-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.