COMPMID-663 Adding instrument to return timestamps of clGetEventProfilingInfo
Change-Id: I1037054615593205f07e25fb9b16fecd13407c2c
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95142
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/tests/framework/instruments/Instruments.h b/tests/framework/instruments/Instruments.h
index df6aa62..ffe7cb6 100644
--- a/tests/framework/instruments/Instruments.h
+++ b/tests/framework/instruments/Instruments.h
@@ -25,6 +25,7 @@
#define ARM_COMPUTE_TEST_INSTRUMENTS
#include "MaliCounter.h"
+#include "OpenCLTimer.h"
#include "PMUCounter.h"
#include "WallClockTimer.h"
@@ -46,6 +47,7 @@
PMU_CYCLE_COUNTER = 0x0201,
PMU_INSTRUCTION_COUNTER = 0x0202,
MALI = 0x0300,
+ OPENCL_TIMER = 0x0400,
};
InstrumentType instrument_type_from_name(const std::string &name);
@@ -77,6 +79,9 @@
case InstrumentType::MALI:
stream << "MALI";
break;
+ case InstrumentType::OPENCL_TIMER:
+ stream << "OPENCL_TIMER";
+ break;
case InstrumentType::ALL:
stream << "ALL";
break;