DescriptionImproves resolution when logging rate in the ADB class.
Trivial patch which fixes an issue where logged rate estimates could be
invalid. E.g. on iOS, two successive timer interrupts can be ~10.5 seconds
and not exactly 10.0 (which is usually the case on Android). In those
cases we could log a rate estimate of e.g. ~51000Hz instead of ~48000Hz.
This CL fixes that.
BUG=NONE
Committed: https://crrev.com/a6d26ec6a2a6eccb35b3456010956bf4f53a2659
Cr-Commit-Position: refs/heads/master@{#14305}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Feedback from hlundin@ #Messages
Total messages: 12 (6 generated)
|