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 /vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp | |
parent | 6b4486254e67b61e7dbe7dab30ae50d3b0bf01bb (diff) |
WipeHistory has not been used for a very long time.
Diffstat (limited to 'vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp')
-rw-r--r-- | vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp b/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp index d67c417b71a..50ee6296f16 100644 --- a/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp +++ b/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp @@ -57,11 +57,11 @@ TEST("estimate cost of thread bundle fork/join") { } double minTime = 1000000.0; for (size_t samples = 0; samples < 32; ++samples) { - fastos::StopWatch timer; + vespalib::Timer timer; for (size_t n = 0; n < fork; ++n) { threadBundle.run(targets); } - double time = timer.elapsed().ms(); + double time = vespalib::count_ms(timer.elapsed()); if (time < minTime) { minTime = time; } |