aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Framework.cpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2017-11-09 15:52:00 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit6e4334962913a4b4d88d3d2b9d76ef2b7850a56c (patch)
treec04a97710320f0650db3c68dc722474a0abf03ea /tests/framework/Framework.cpp
parent9c45f56439f5a4aef68901dfe4b7b57d2a7ce85e (diff)
downloadComputeLibrary-6e4334962913a4b4d88d3d2b9d76ef2b7850a56c.tar.gz
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>
Diffstat (limited to 'tests/framework/Framework.cpp')
-rw-r--r--tests/framework/Framework.cpp3
1 files changed, 3 insertions, 0 deletions
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<MaliCounter>);
#endif /* MALI_ENABLED */
+#ifdef OPENCL_TIMER_ENABLED
+ _available_instruments.emplace(InstrumentType::OPENCL_TIMER, Instrument::make_instrument<OpenCLTimer>);
+#endif /* OPENCL_TIMER_ENABLED */
}
std::set<InstrumentType> Framework::available_instruments() const