aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments/WallClockTimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/instruments/WallClockTimer.cpp')
-rw-r--r--tests/framework/instruments/WallClockTimer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/framework/instruments/WallClockTimer.cpp b/tests/framework/instruments/WallClockTimer.cpp
index 37db0c7f05..c6384a3ab5 100644
--- a/tests/framework/instruments/WallClockTimer.cpp
+++ b/tests/framework/instruments/WallClockTimer.cpp
@@ -47,10 +47,10 @@ void WallClockTimer::stop()
_stop = std::chrono::high_resolution_clock::now();
}
-Instrument::Measurement WallClockTimer::measurement() const
+Instrument::MeasurementsMap WallClockTimer::measurements() const
{
const auto delta = std::chrono::duration_cast<std::chrono::microseconds>(_stop - _start);
- return Instrument::Measurement(delta.count(), "us");
+ return MeasurementsMap{ { "Wall clock time", Measurement(delta.count(), "us") } };
}
} // namespace framework
} // namespace test