aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments/PMUCounter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/instruments/PMUCounter.cpp')
-rw-r--r--tests/framework/instruments/PMUCounter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/framework/instruments/PMUCounter.cpp b/tests/framework/instruments/PMUCounter.cpp
index b962bd9b2b..df059fbc4e 100644
--- a/tests/framework/instruments/PMUCounter.cpp
+++ b/tests/framework/instruments/PMUCounter.cpp
@@ -65,8 +65,8 @@ Instrument::MeasurementsMap PMUCounter::measurements() const
{
return MeasurementsMap
{
- { "CPU cycles", Measurement(_cycles, "cycles") },
- { "CPU instructions", Measurement(_instructions, "instructions") },
+ { "CPU cycles", Measurement(_cycles / _scale_factor, _unit + "cycles") },
+ { "CPU instructions", Measurement(_instructions / _scale_factor, _unit + "instructions") },
};
}
} // namespace framework