diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-15 09:42:09 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-15 09:42:09 +0000 |
commit | d817a7407ee9cef2684a9777a0b5d33c6b35a5f3 (patch) | |
tree | a9931a75cfd117c429a197ecb2470f5138c90e72 /searchlib/src/tests/groupingengine | |
parent | a3a13616e52c4ac3c97b572c81e485bb0f81295b (diff) |
Use steady_clock
Diffstat (limited to 'searchlib/src/tests/groupingengine')
-rw-r--r-- | searchlib/src/tests/groupingengine/groupingengine_benchmark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/groupingengine/groupingengine_benchmark.cpp b/searchlib/src/tests/groupingengine/groupingengine_benchmark.cpp index 37aa9cc3268..46af181c26b 100644 --- a/searchlib/src/tests/groupingengine/groupingengine_benchmark.cpp +++ b/searchlib/src/tests/groupingengine/groupingengine_benchmark.cpp @@ -131,7 +131,7 @@ public: AggregationContext::AggregationContext() : _attrMan(), _result(), _attrCtx(_attrMan.createContext()) {} -AggregationContext::~AggregationContext() {} +AggregationContext::~AggregationContext() = default; //----------------------------------------------------------------------------- class Test : public TestApp @@ -277,7 +277,7 @@ Test::Main() LOG(info, "sizeof(CountAggregationResult) = %ld", sizeof(CountAggregationResult)); LOG(info, "sizeof(Int64ResultNode) = %ld", sizeof(Int64ResultNode)); - fastos::TimeStamp start(fastos::ClockSystem::now()); + fastos::TimeStamp start(fastos::ClockSteady::now()); if (idType == "int") { if (aggrType == "sum") { benchmarkIntegerSum(useEngine, numDocs, numQueries, maxGroups); |