Commit 47442b90 by Eric Fiselier

prevent unneeded calculation of Slow()

parent 21207a4d
......@@ -110,11 +110,11 @@ WallTime WallTimeImp::Now() {
return result + GetDrift();
}
now = Slow();
} while (cycleclock::Now() - ct > max_interval_cycles_);
// We are now sure that "now" and "result" were produced within
// kMaxErrorInterval of one another.
now = Slow();
SetDrift(now - result);
last_adjust_time_ = top_bits;
return now;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment