]> git.proxmox.com Git - mirror_frr.git/commit - lib/monotime.h
lib: time: add new monotime() helpers
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 15:54:51 +0000 (16:54 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 15:54:51 +0000 (16:54 +0100)
commit7790a2d69ee8439dbed951e77703458bb472dd4f
treecedad4cd65bf5ac37e5c4ea968491f21f5150976
parent45680e7568eb69d5f991b5c0c174e479878727ee
lib: time: add new monotime() helpers

This adds monotime() to retrieve monotonic clock time, as well as
monotime_since() and monotime_until() for relative monotonic time.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/Makefile.am
lib/monotime.h [new file with mode: 0644]