aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-08-07 15:20:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-07 15:20:02 -0700
commitb511042bb07a6a289b0d1146cb57f6e8b80580d6 (patch)
tree26e19c52b4b2bdca5554122c4f35986f824c93e3 /bench
parentacc125860053d0a65bc7b67dd1b886aa7932d292 (diff)
Fix iOS build by centralizing --writePath.
CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Debug-iOS-Trybot BUG=skia: R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/452633002
Diffstat (limited to 'bench')
-rw-r--r--bench/nanobench.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 245aa0ed1d..a5353aa6e8 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -33,7 +33,7 @@ __SK_FORCE_IMAGE_DECODER_LINKING;
static const int kAutoTuneLoops = -1;
-static const int kDefaultLoops =
+static const int kDefaultLoops =
#ifdef SK_DEBUG
1;
#else
@@ -50,8 +50,6 @@ static SkString loops_help_txt() {
DEFINE_int32(loops, kDefaultLoops, loops_help_txt().c_str());
-DEFINE_string2(writePath, w, "", "If set, write benches here as .pngs.");
-
DEFINE_int32(samples, 10, "Number of samples to measure for each bench.");
DEFINE_int32(overheadLoops, 100000, "Loops to estimate timer overhead.");
DEFINE_double(overheadGoal, 0.0001,