* times.cc (hires_ms::usecs): Subtract from slop from system time or we'll
always end up priming the pump.
This commit is contained in:
@@ -644,7 +644,7 @@ hires_ms::usecs ()
|
||||
|
||||
LONGLONG t = systime ();
|
||||
LONGLONG res = initime_us + (((LONGLONG) timeGetTime ()) * 1000LL);
|
||||
if (res < t)
|
||||
if (res < (t - 40000LL))
|
||||
{
|
||||
inited = false;
|
||||
prime ();
|
||||
|
Reference in New Issue
Block a user