IVGCVSW-4317 Implement the Profiling Context Initialisation
authorColm Donelan <Colm.Donelan@arm.com>
Wed, 5 Feb 2020 17:48:59 +0000 (17:48 +0000)
committerColm Donelan <colm.donelan@arm.com>
Fri, 7 Feb 2020 09:28:35 +0000 (09:28 +0000)
commit1aff393b359b518925f66901439466f9bc14c49d
tree9d31aa1d3dabb4b637093f6fd1a9f1549621c653
parent3446057492907d0c7695605a5b9a961a78158d7e
IVGCVSW-4317 Implement the Profiling Context Initialisation

* Call CreateBackendProfilingContext on each backend from Runtime passing
  an instance of the BackendProfiling interface.
* Modify the signature of CreateBackendProfilingContext to remove const
  and return a shared_ptr to BackendProfilingContext
* Add concrete BackendProfiling class.
* Store BackendProfilingContexts in Profiling service.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I975eaa2093ae91fa623835f65f9e5b25eb65117a
19 files changed:
Android.mk
CMakeLists.txt
include/armnn/backends/IBackendInternal.hpp
include/armnn/backends/profiling/IBackendProfiling.hpp
include/armnn/backends/profiling/IBackendProfilingContext.hpp
src/armnn/Runtime.cpp
src/backends/backendsCommon/IBackendInternal.cpp
src/backends/backendsCommon/test/MockBackend.cpp
src/backends/backendsCommon/test/MockBackend.hpp
src/backends/cl/ClBackend.cpp
src/backends/cl/ClBackend.hpp
src/backends/neon/NeonBackend.cpp
src/backends/neon/NeonBackend.hpp
src/backends/reference/RefBackend.cpp
src/backends/reference/RefBackend.hpp
src/profiling/ProfilingService.cpp
src/profiling/ProfilingService.hpp
src/profiling/backends/BackendProfiling.cpp [new file with mode: 0644]
src/profiling/backends/BackendProfiling.hpp [new file with mode: 0644]