aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments/Instruments.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/Instruments.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/Instruments.cpp')
-rw-r--r--tests/framework/instruments/Instruments.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/framework/instruments/Instruments.cpp b/tests/framework/instruments/Instruments.cpp
index 797a7242ae..699a11d700 100644
--- a/tests/framework/instruments/Instruments.cpp
+++ b/tests/framework/instruments/Instruments.cpp
@@ -41,8 +41,9 @@ InstrumentType instrument_type_from_name(const std::string &name)
{ "all", InstrumentType::ALL },
{ "none", InstrumentType::NONE },
{ "wall_clock", InstrumentType::WALL_CLOCK_TIMER },
- { "cycles", InstrumentType::PMU_CYCLE_COUNTER },
- { "instructions", InstrumentType::PMU_INSTRUCTION_COUNTER },
+ { "pmu", InstrumentType::PMU },
+ { "pmu_cycles", InstrumentType::PMU_CYCLE_COUNTER },
+ { "pmu_instructions", InstrumentType::PMU_INSTRUCTION_COUNTER },
};
try