diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-15 09:03:12 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-15 09:03:12 +0000 |
commit | c9ab2c9da725207783c8451b3ff456c36291f471 (patch) | |
tree | ddc85793872971111d0c8f4cc6e9bef75923b084 /searchcore/src/tests/proton/common/cachedselect_test.cpp | |
parent | 37754e26c8f04eb5a0d130f65e44946726fa5490 (diff) |
Use a steady_clock for the stop watch.
Diffstat (limited to 'searchcore/src/tests/proton/common/cachedselect_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/common/cachedselect_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/common/cachedselect_test.cpp b/searchcore/src/tests/proton/common/cachedselect_test.cpp index df414439bce..bb4d7063183 100644 --- a/searchcore/src/tests/proton/common/cachedselect_test.cpp +++ b/searchcore/src/tests/proton/common/cachedselect_test.cpp @@ -617,7 +617,7 @@ TEST_F("Test performance when using attributes", TestFixture) uint32_t i; const uint32_t loopcnt = 30000; LOG(info, "Starting minibm loop, %u ierations of 4 docs each", loopcnt); - fastos::StopWatchT<fastos::ClockSystem> sw; + fastos::StopWatch sw; sw.start(); for (i = 0; i < loopcnt; ++i) { ctx._docId = 1u; |