timer: add API to query ticks until the next timer
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 17 Dec 2019 00:55:03 +0000 (16:55 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 20 Jan 2020 00:55:19 +0000 (01:55 +0100)
It is useful to know when the next timer will expire when
using rte_epoll_wait (or sleep when idle). This experimental
API provides a hook to query the number of ticks remaining.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>

No differences found