Add samplingTime mode to nanobench
authorcdalton <cdalton@nvidia.com>
Fri, 26 Jun 2015 02:17:08 +0000 (19:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Jun 2015 02:17:08 +0000 (19:17 -0700)
commite1b8958877a512bf83cbc2c72bb31e7d71b06f43
tree91db5defa35079fe6b7397a02a8ed7a1b170abde
parent1852ec2b46a2a0efbb3550ff4d8b640f56a810e9
Add samplingTime mode to nanobench

Adds a nanobench mode that takes samples for a fixed amount of time,
rather than taking a fixed amount of samples.

BUG=skia:

Review URL: https://codereview.chromium.org/1204153002
bench/nanobench.cpp
tools/Stats.h
tools/VisualBench.cpp