Monotonic clock cannot jump backwards.
authornoname@inventati.org <noname@inventati.org>
Sat, 18 Apr 2015 16:46:17 +0000 (18:46 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 20 Apr 2015 07:18:40 +0000 (09:18 +0200)
commitc27c731b9f77c1b1c99f3bde737be53996809fcb
tree69c8e77cf2d4e79b2c892f6f35c5cd160a5cb1e2
parent6ee56d65906362f3f6ade570da0ce9c28788eaf5
Monotonic clock cannot jump backwards.

The check was introduced back when st used gettimeofday.
The condition is also modified to increment the accuaracy of the
calculation.
st.c