From 45634b488da781373104541f5348eb9550aafb33 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Wed, 30 Aug 2017 12:48:18 +0100 Subject: COMPMID-482: Add mali counters Change-Id: I1782c3d92f7fea5a73ed89868d8c3ce04ffcf518 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85020 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- tests/framework/instruments/Instruments.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/framework/instruments/Instruments.h') diff --git a/tests/framework/instruments/Instruments.h b/tests/framework/instruments/Instruments.h index aa37f9cf62..df6aa62ec7 100644 --- a/tests/framework/instruments/Instruments.h +++ b/tests/framework/instruments/Instruments.h @@ -24,6 +24,7 @@ #ifndef ARM_COMPUTE_TEST_INSTRUMENTS #define ARM_COMPUTE_TEST_INSTRUMENTS +#include "MaliCounter.h" #include "PMUCounter.h" #include "WallClockTimer.h" @@ -44,6 +45,7 @@ enum class InstrumentType : unsigned int PMU = 0x0200, PMU_CYCLE_COUNTER = 0x0201, PMU_INSTRUCTION_COUNTER = 0x0202, + MALI = 0x0300, }; InstrumentType instrument_type_from_name(const std::string &name); @@ -72,6 +74,9 @@ inline ::std::stringstream &operator<<(::std::stringstream &stream, InstrumentTy case InstrumentType::PMU_INSTRUCTION_COUNTER: stream << "PMU_INSTRUCTION_COUNTER"; break; + case InstrumentType::MALI: + stream << "MALI"; + break; case InstrumentType::ALL: stream << "ALL"; break; -- cgit v1.2.1