From 5c2fb3f34462632b99331e2cc2d964c99fc1782b Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 1 May 2018 15:26:20 +0100 Subject: COMPMID-997: Add support for node's name in GraphAPI. Change-Id: I0ca02e42807c1ad9afeffb7202a3556feb11442f Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/129701 Tested-by: Jenkins Reviewed-by: Anthony Barbier Reviewed-by: Georgios Pinitas --- tests/framework/Profiler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/framework/Profiler.cpp') diff --git a/tests/framework/Profiler.cpp b/tests/framework/Profiler.cpp index 69ea527a80..7b95279b31 100644 --- a/tests/framework/Profiler.cpp +++ b/tests/framework/Profiler.cpp @@ -55,9 +55,9 @@ void Profiler::start() void Profiler::stop() { - for(auto &instrument : _instruments) + for(auto instrument = _instruments.rbegin(); instrument != _instruments.rend(); instrument++) { - instrument->stop(); + (*instrument)->stop(); } for(const auto &instrument : _instruments) { @@ -70,9 +70,9 @@ void Profiler::stop() void Profiler::test_stop() { - for(auto &instrument : _instruments) + for(auto instrument = _instruments.rbegin(); instrument != _instruments.rend(); instrument++) { - instrument->test_stop(); + (*instrument)->test_stop(); } for(const auto &instrument : _instruments) -- cgit v1.2.1