From 4591d3cd0aaa707c8a6a280d8d7969ae8a78ca97 Mon Sep 17 00:00:00 2001 From: Paul Tarjan Date: Fri, 31 May 2013 14:55:52 -0700 Subject: [PATCH] revert folly/Benchmark.cpp Summary: revert the breaking change Test Plan: none Reviewed By: delong.j@fb.com FB internal diff: D832143 Blame Revision: D830883 --- folly/Benchmark.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/folly/Benchmark.cpp b/folly/Benchmark.cpp index 2fb35152..6fc44200 100644 --- a/folly/Benchmark.cpp +++ b/folly/Benchmark.cpp @@ -210,8 +210,7 @@ static double runBenchmarkGetNSPerIteration(const BenchmarkFun& fun, // the clock resolution is worse than that, it will be larger. In // essence we're aiming at making the quantization noise 0.01%. static const auto minNanoseconds = - max(FLAGS_bm_min_usec * 1000UL, - min(resolutionInNs * 100000, 1000000000ULL)); + max(FLAGS_bm_min_usec * 1000UL, min(resolutionInNs * 100000, 1000000000UL)); // We do measurements in several epochs and take the minimum, to // account for jitter. -- 2.34.1