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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/framework/instruments/WallClockTimer.cpp b/tests/framework/instruments/WallClockTimer.cpp
index c6384a3ab5..6c69360236 100644
--- a/tests/framework/instruments/WallClockTimer.cpp
+++ b/tests/framework/instruments/WallClockTimer.cpp
@@ -50,7 +50,7 @@ void WallClockTimer::stop()
Instrument::MeasurementsMap WallClockTimer::measurements() const
{
const auto delta = std::chrono::duration_cast<std::chrono::microseconds>(_stop - _start);
- return MeasurementsMap{ { "Wall clock time", Measurement(delta.count(), "us") } };
+ return MeasurementsMap{ { "Wall clock time", Measurement(delta.count() / _scale_factor, _unit) } };
}
} // namespace framework
} // namespace test