aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments/WallClockTimer.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-08-30 12:47:06 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit09e4f98e31a9bb77bebeccd59c70f0715ab2c292 (patch)
treedcf5992df5961042a221cb426372eeb21a2d8023 /tests/framework/instruments/WallClockTimer.cpp
parent906443f38fe2c168f4a0b2db5cd9852865fc4922 (diff)
downloadComputeLibrary-09e4f98e31a9bb77bebeccd59c70f0715ab2c292.tar.gz
COMPMID-482: Refactor PMU counters
Change-Id: I9b254ce693363ecbbd7c188d211c85471134a91e Reviewed-on: http://mpd-gerrit.cambridge.arm.com/84328 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/framework/instruments/WallClockTimer.cpp')
-rw-r--r--tests/framework/instruments/WallClockTimer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/framework/instruments/WallClockTimer.cpp b/tests/framework/instruments/WallClockTimer.cpp
index 37db0c7f05..c6384a3ab5 100644
--- a/tests/framework/instruments/WallClockTimer.cpp
+++ b/tests/framework/instruments/WallClockTimer.cpp
@@ -47,10 +47,10 @@ void WallClockTimer::stop()
_stop = std::chrono::high_resolution_clock::now();
}
-Instrument::Measurement WallClockTimer::measurement() const
+Instrument::MeasurementsMap WallClockTimer::measurements() const
{
const auto delta = std::chrono::duration_cast<std::chrono::microseconds>(_stop - _start);
- return Instrument::Measurement(delta.count(), "us");
+ return MeasurementsMap{ { "Wall clock time", Measurement(delta.count(), "us") } };
}
} // namespace framework
} // namespace test