• Brian Sheedy's avatar
    Add TimeDelta support to PerfResultReporter · 1f0d2c6d
    Brian Sheedy authored
    Adds support for base::TimeDelta in PerfResultReporter. This is due to
    many perf tests reporting time taken from a TimeDelta, and handling the
    conversion from TimeDelta to double in PerfResultReporter makes its use
    less error-prone since users no longer need to worry about matching the
    registered units to the correct TimeDelta::In*seconds calls.
    
    Bug: 923564
    Change-Id: I30dd6bcf0f11489b671f20e6e776fbad4659729e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815081Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
    Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
    Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#702153}
    1f0d2c6d
perf_result_reporter.cc 3.98 KB