Descriptioncc: Fix and simplify DelayBasedTimeSource
- This converts some floating point math to integer math
to avoid rounding errors.
- Assigns last_tick_time_ to be the time it was *supposed*
to tick and no longer uses it as a synonym for "now".
- Adds trace events to help debug when the interval or
phase changes.
BUG=256650
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210101
Patch Set 1 #
Total comments: 5
Patch Set 2 : Fix tests; Tick now if next tick time can be now, rather than skipping; #
Total comments: 1
Patch Set 3 : Use instant trace events #
Messages
Total messages: 6 (0 generated)
|