Commit 75d32465 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Make bm_min_iters a 32-bit flag

Summary:
The benchmark API only supports `unsigned int` as the iteration number, so this being 64-bit means it has to be truncated for no reason.
This change gets us closer to being able to enable MSVC's implicit truncation warnings.

Reviewed By: yfeldblum

Differential Revision: D4281264

fbshipit-source-id: 27397e3f23bace20f3cc457665ea6f21bf994da5
parent cad41641
...@@ -45,7 +45,7 @@ DEFINE_int64( ...@@ -45,7 +45,7 @@ DEFINE_int64(
100, 100,
"Minimum # of microseconds we'll accept for each benchmark."); "Minimum # of microseconds we'll accept for each benchmark.");
DEFINE_int64( DEFINE_int32(
bm_min_iters, bm_min_iters,
1, 1,
"Minimum # of iterations we'll try for each benchmark."); "Minimum # of iterations we'll try for each benchmark.");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment