From 6e4334962913a4b4d88d3d2b9d76ef2b7850a56c Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 9 Nov 2017 15:52:00 +0000 Subject: COMPMID-663 Adding instrument to return timestamps of clGetEventProfilingInfo Change-Id: I1037054615593205f07e25fb9b16fecd13407c2c Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95142 Tested-by: Kaizen Reviewed-by: Georgios Pinitas --- tests/framework/Framework.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/framework/Framework.cpp') diff --git a/tests/framework/Framework.cpp b/tests/framework/Framework.cpp index 82ea0fa93d..a5c665c458 100644 --- a/tests/framework/Framework.cpp +++ b/tests/framework/Framework.cpp @@ -50,6 +50,9 @@ Framework::Framework() #ifdef MALI_ENABLED _available_instruments.emplace(InstrumentType::MALI, Instrument::make_instrument); #endif /* MALI_ENABLED */ +#ifdef OPENCL_TIMER_ENABLED + _available_instruments.emplace(InstrumentType::OPENCL_TIMER, Instrument::make_instrument); +#endif /* OPENCL_TIMER_ENABLED */ } std::set Framework::available_instruments() const -- cgit v1.2.1