diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-05-01 15:26:20 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:51:17 +0000 |
commit | 5c2fb3f34462632b99331e2cc2d964c99fc1782b (patch) | |
tree | 16ee3edc412fcf7e3d20241ca8fb093d9774863d /tests/framework/Profiler.cpp | |
parent | cac13b1cfd593889271f8e2191be2039b8d88f36 (diff) | |
download | ComputeLibrary-5c2fb3f34462632b99331e2cc2d964c99fc1782b.tar.gz |
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 <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/framework/Profiler.cpp')
-rw-r--r-- | tests/framework/Profiler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) |