diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-12-08 20:11:13 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-12-16 23:48:46 +0000 |
commit | c72bdc628b4493bfb2974ab3fe479d2af0d376f1 (patch) | |
tree | ce2f82f3f6f7cfd6ece7ac9ae06edef92986432f /searchlib/src/tests/postinglistbm | |
parent | 6b4486254e67b61e7dbe7dab30ae50d3b0bf01bb (diff) |
WipeHistory has not been used for a very long time.
Diffstat (limited to 'searchlib/src/tests/postinglistbm')
-rw-r--r-- | searchlib/src/tests/postinglistbm/stress_runner.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searchlib/src/tests/postinglistbm/stress_runner.cpp b/searchlib/src/tests/postinglistbm/stress_runner.cpp index 100a4fcd70d..9c78515a03f 100644 --- a/searchlib/src/tests/postinglistbm/stress_runner.cpp +++ b/searchlib/src/tests/postinglistbm/stress_runner.cpp @@ -232,7 +232,7 @@ StressMaster::makePostingsHelper(FPFactory *postingFactory, const std::string &postingFormat, bool validate, bool verbose) { - fastos::StopWatch tv; + vespalib::Timer tv; postingFactory->setup(_wordSet); for (size_t i = 0; i < _wordSet.words().size(); ++i) @@ -244,7 +244,7 @@ StressMaster::makePostingsHelper(FPFactory *postingFactory, LOG(info, "StressMaster::makePostingsHelper() elapsed %10.6f s for %s format", - tv.elapsed().sec(), + vespalib::to_s(tv.elapsed()), postingFormat.c_str()); } @@ -314,7 +314,7 @@ StressMaster::run() double StressMaster::runWorkers(const std::string &postingFormat) { - fastos::StopWatch tv; + vespalib::Timer tv; uint32_t numWorkers = 8; for (uint32_t i = 0; i < numWorkers; ++i) { @@ -340,11 +340,11 @@ StressMaster::runWorkers(const std::string &postingFormat) LOG(info, "StressMaster::run() elapsed %10.6f s for workers %s format", - tv.elapsed().sec(), + vespalib::to_s(tv.elapsed()), postingFormat.c_str()); _workers.clear(); _workersDone = 0; - return tv.elapsed().sec(); + return vespalib::to_s(tv.elapsed()); } StressWorker::StressWorker(StressMaster& master, uint32_t id) |