diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-16 00:27:43 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-16 14:42:34 +0000 |
commit | 9c85b41a9fcb3c64d7a686373e7dde75630ccd49 (patch) | |
tree | 49ec983ec1ba499d5a5a9240b69f8f4bb9ca2082 /src/profiling/test/ProfilingTestUtils.hpp | |
parent | 06ccd713391cca68dc8ab53b84bf058723ae55ab (diff) | |
download | armnn-9c85b41a9fcb3c64d7a686373e7dde75630ccd49.tar.gz |
IVGCVSW-6852 Break the remaining dependencies on Arm NN in the profiling code
Change-Id: I18b8ca22896567904768170350ee5eb22edd4a22
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test/ProfilingTestUtils.hpp')
-rw-r--r-- | src/profiling/test/ProfilingTestUtils.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.hpp b/src/profiling/test/ProfilingTestUtils.hpp index b4aa372a98..4ff4221cab 100644 --- a/src/profiling/test/ProfilingTestUtils.hpp +++ b/src/profiling/test/ProfilingTestUtils.hpp @@ -11,6 +11,8 @@ #include <BufferManager.hpp> #include <ProfilingService.hpp> +#include <armnn/profiling/ArmNNProfiling.hpp> + #include <common/include/Optional.hpp> #include <common/include/ProfilingGuid.hpp> @@ -74,7 +76,12 @@ public: ProfilingServiceRuntimeHelper(uint16_t maxGlobalCounterId, IInitialiseProfilingService& initialiser, arm::pipe::IProfilingService& profilingService) - : ProfilingService(maxGlobalCounterId, initialiser), m_ProfilingService(profilingService) {} + : ProfilingService(maxGlobalCounterId, + initialiser, + arm::pipe::ARMNN_SOFTWARE_INFO, + arm::pipe::ARMNN_SOFTWARE_VERSION, + arm::pipe::ARMNN_HARDWARE_VERSION), + m_ProfilingService(profilingService) {} ~ProfilingServiceRuntimeHelper() = default; BufferManager& GetProfilingBufferManager() |