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/ProfilingMocks.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/ProfilingMocks.hpp')
-rw-r--r-- | src/profiling/test/ProfilingMocks.hpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/profiling/test/ProfilingMocks.hpp b/src/profiling/test/ProfilingMocks.hpp index 1b5a36686c..cfc1096b8d 100644 --- a/src/profiling/test/ProfilingMocks.hpp +++ b/src/profiling/test/ProfilingMocks.hpp @@ -13,6 +13,9 @@ #include <SendCounterPacket.hpp> #include <SendThread.hpp> +#include <armnn/BackendId.hpp> +#include <armnn/profiling/ArmNNProfiling.hpp> + #include <common/include/Assert.hpp> #include <common/include/IgnoreUnused.hpp> #include <common/include/NumericCast.hpp> @@ -631,8 +634,15 @@ public: MockBufferManager& mockBufferManager, bool isProfilingEnabled, const CaptureData& captureData) : - ProfilingService(maxGlobalCounterId, initialiser), - m_SendCounterPacket(mockBufferManager), + ProfilingService(maxGlobalCounterId, + initialiser, + arm::pipe::ARMNN_SOFTWARE_INFO, + arm::pipe::ARMNN_SOFTWARE_VERSION, + arm::pipe::ARMNN_HARDWARE_VERSION), + m_SendCounterPacket(mockBufferManager, + arm::pipe::ARMNN_SOFTWARE_INFO, + arm::pipe::ARMNN_SOFTWARE_VERSION, + arm::pipe::ARMNN_HARDWARE_VERSION), m_IsProfilingEnabled(isProfilingEnabled), m_CaptureData(captureData) {} |