Skip to content
Snippets Groups Projects
Commit 230cef34 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

libev: export ev_monotonic_now() and ev_monotonic_time()

ev_now()/ev_time() are affected by system time changes, which makes them
impractical for calculating timeouts. Introduce ev_monotonic_now() and
ev_monotonic_time() which work exactly as ev_now()/ev_time(), but use
monotonic clock instead of realtime.

Needed for #2527
parent 24b70de1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment