diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 20f3cb273..b1b4859b3 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -1831,7 +1831,7 @@ class Stats { fprintf(stdout, "%-12s : %11.3f micros/op %ld ops/sec;%s%s\n", name.ToString().c_str(), - elapsed * 1e6 / done_, + seconds_ * 1e6 / done_, (long)throughput, (extra.empty() ? "" : " "), extra.c_str());