diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2020-03-18 10:57:30 +0000 |
---|---|---|
committer | Sadik Armagan <sadik.armagan@arm.com> | 2020-03-18 15:48:21 +0000 |
commit | 3184c907b2420e6c66485529f336251b2b62aecf (patch) | |
tree | b79190007f80da9bb9d827efb714ce13a0ffb2bb /src/profiling/test/ProfilingMocks.hpp | |
parent | e6a2ccd09060ba93203ddc5a7f79260cedf2c147 (diff) | |
download | armnn-3184c907b2420e6c66485529f336251b2b62aecf.tar.gz |
IVGCVSW-4463 Change ProfilingService to a member of runtime from a singleton
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I345c39a10a4693a500aa1687d9a5cee76da791c3
Diffstat (limited to 'src/profiling/test/ProfilingMocks.hpp')
-rw-r--r-- | src/profiling/test/ProfilingMocks.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/profiling/test/ProfilingMocks.hpp b/src/profiling/test/ProfilingMocks.hpp index 944aea6454..eeb641e878 100644 --- a/src/profiling/test/ProfilingMocks.hpp +++ b/src/profiling/test/ProfilingMocks.hpp @@ -7,7 +7,7 @@ #include <Holder.hpp> #include <IProfilingConnectionFactory.hpp> -#include <IProfilingService.hpp> +#include <ProfilingService.hpp> #include <ProfilingGuidGenerator.hpp> #include <ProfilingUtils.hpp> #include <SendCounterPacket.hpp> @@ -620,7 +620,7 @@ private: Counters m_Counters; }; -class MockProfilingService : public IProfilingService, public IRegisterCounterMapping +class MockProfilingService : public ProfilingService { public: MockProfilingService(MockBufferManager& mockBufferManager, @@ -670,12 +670,12 @@ public: void RegisterMapping(uint16_t globalCounterId, uint16_t backendCounterId, - const armnn::BackendId& backendId) override + const armnn::BackendId& backendId) { m_CounterMapping.RegisterMapping(globalCounterId, backendCounterId, backendId); } - void Reset() override + void Reset() { m_CounterMapping.Reset(); } |