File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ static void BM_RooFit_BinnedTestMigrad(benchmark::State &state)
191191 delete pdf;
192192 delete nll;
193193}
194- BENCHMARK (BM_RooFit_BinnedTestMigrad)->DenseRange(1 , 4 )->UseRealTime();
194+ BENCHMARK (BM_RooFit_BinnedTestMigrad)->DenseRange(1 , 4 )->UseRealTime()->Unit(benchmark:: kMicrosecond ) ;
195195
196196static void BM_RooFit_BinnedTestMigrad_NChannel (benchmark::State &state)
197197{
@@ -230,7 +230,7 @@ static void BM_RooFit_BinnedTestMigrad_NChannel(benchmark::State &state)
230230}
231231
232232// FIXME: suppress output from generating workspaces
233- // BENCHMARK(BM_RooFit_BinnedTestMigrad_NChannel)->Apply(CustomArguments)->UseRealTime();
233+ // BENCHMARK(BM_RooFit_BinnedTestMigrad_NChannel)->Apply(CustomArguments)->UseRealTime()->Unit(benchmark::kMicrosecond) ;
234234
235235static void BM_RooFit_BinnedTestHesse (benchmark::State &state)
236236{
@@ -266,7 +266,7 @@ static void BM_RooFit_BinnedTestHesse(benchmark::State &state)
266266 delete pdf;
267267 delete nll;
268268}
269- BENCHMARK (BM_RooFit_BinnedTestHesse)->DenseRange(1 , 4 )->UseRealTime();
269+ BENCHMARK (BM_RooFit_BinnedTestHesse)->DenseRange(1 , 4 )->UseRealTime()->Unit(benchmark:: kMicrosecond ) ;
270270
271271static void BM_RooFit_BinnedTestMinos (benchmark::State &state)
272272{
@@ -302,6 +302,6 @@ static void BM_RooFit_BinnedTestMinos(benchmark::State &state)
302302 delete pdf;
303303 delete nll;
304304}
305- BENCHMARK (BM_RooFit_BinnedTestMinos)->DenseRange(1 , 4 )->UseRealTime();
305+ BENCHMARK (BM_RooFit_BinnedTestMinos)->DenseRange(1 , 4 )->UseRealTime()->Unit(benchmark:: kMicrosecond ) ;
306306
307307BENCHMARK_MAIN ();
You can’t perform that action at this time.
0 commit comments