DescriptionSwitch GetWallClockTime to using vectors for input and output.
Ensures that all converted timestamps will be monotonically increasing
within a single call to GetWallClockTime.
Performance seems unchanged (unit tests take the same amount of time).
As part of this change, also does the following:
- VideoRendererImpl unit test switched to WallClockTimeSource to avoid
having to reimplement the vector conversion routine.
BUG=485042
TEST=new unittest.
Committed: https://crrev.com/e929345801a5f7ae601bfb09f982054606e3320d
Cr-Commit-Position: refs/heads/master@{#329363}
Patch Set 1 : Typo. #
Total comments: 9
Patch Set 2 : Use vector. Cleanup. #
Total comments: 18
Patch Set 3 : Comments. #
Total comments: 2
Patch Set 4 : Fix comments. #
Messages
Total messages: 35 (7 generated)
|