From 3a6f24c67be2d76533a541e22e542295aa16a9da Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Thu, 19 Dec 2013 17:21:34 -0800 Subject: [PATCH] benchmark_iterations works as expected --- src/benchmark.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/benchmark.cc b/src/benchmark.cc index a43a56e4..4d3ea19e 100644 --- a/src/benchmark.cc +++ b/src/benchmark.cc @@ -423,7 +423,7 @@ void UseRealTime() { void PrintUsageAndExit() { fprintf(stdout, "benchmark [--benchmark_filter=]\n" -// TODO " [--benchmark_iterations=]\n" + " [--benchmark_iterations=]\n" " [--benchmark_min_time=]\n" // " [--benchmark_memory_usage]\n" // TODO " [--benchmark_repetitions=]\n" @@ -436,10 +436,8 @@ void ParseCommandLineFlags(int* argc, const char** argv) { for (int i = 1; i < *argc; ++i) { if (ParseStringFlag(argv[i], "benchmark_filter", &FLAGS_benchmark_filter) || - /* TODO ParseInt32Flag(argv[i], "benchmark_iterations", &FLAGS_benchmark_iterations) || - */ ParseDoubleFlag(argv[i], "benchmark_min_time", &FLAGS_benchmark_min_time) || // TODO(dominic)