aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/Profiler.cpp')
-rw-r--r--tests/framework/Profiler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/framework/Profiler.cpp b/tests/framework/Profiler.cpp
index 76de9a818f..646c66556c 100644
--- a/tests/framework/Profiler.cpp
+++ b/tests/framework/Profiler.cpp
@@ -54,7 +54,10 @@ void Profiler::stop()
for(const auto &instrument : _instruments)
{
- _measurements[instrument->id()].push_back(instrument->measurement());
+ for(const auto &measurement : instrument->measurements())
+ {
+ _measurements[instrument->id() + "/" + measurement.first].push_back(measurement.second);
+ }
}
}