Skip to content

Commit 5ad2c9a

Browse files
Fleetbench Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 775145495 Change-Id: Ibab7089b6423a703e2cf19e2f053cd5caa4b67b8
1 parent 9d7b586 commit 5ad2c9a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

fleetbench/tcmalloc/empirical_driver.cc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,8 @@ void RegisterBenchmarks() {
348348
// max_threads)` (if max_threads >= 2).
349349
if (UseExplicitIterationCounts() && distribution_name == "TCMALLOC_5") {
350350
// Set an explicit iteration count for the default benchmark.
351-
benchmark::RegisterBenchmark(
352-
absl::StrCat("BM_", distribution_name).c_str(),
353-
BM_TCMalloc_Empirical_Driver)
351+
benchmark::RegisterBenchmark(absl::StrCat("BM_", distribution_name),
352+
BM_TCMalloc_Empirical_Driver)
354353
->Setup(BM_TCMalloc_Empirical_Driver_Setup)
355354
->Teardown(BM_TCMalloc_Empirical_Driver_Teardown)
356355
->ThreadRange(1, 1)
@@ -360,9 +359,8 @@ void RegisterBenchmarks() {
360359
}
361360

362361
if (distribution_name != "TCMALLOC_5" || max_threads >= min_threads)
363-
benchmark::RegisterBenchmark(
364-
absl::StrCat("BM_", distribution_name).c_str(),
365-
BM_TCMalloc_Empirical_Driver)
362+
benchmark::RegisterBenchmark(absl::StrCat("BM_", distribution_name),
363+
BM_TCMalloc_Empirical_Driver)
366364
->Setup(BM_TCMalloc_Empirical_Driver_Setup)
367365
->Teardown(BM_TCMalloc_Empirical_Driver_Teardown)
368366
->ThreadRange(min_threads, max_threads)

0 commit comments

Comments
 (0)