diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-02 11:04:47 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-03 14:55:15 +0000 |
commit | af947729dc2aa7cdb6d4a716e2edf307710a8155 (patch) | |
tree | 87945dbee99d430032b27d2f6ee7a9975cb870ba /src/profiling/test | |
parent | 2b679db94a0f95861b47df6bb02d2992cf6d5af6 (diff) | |
download | armnn-af947729dc2aa7cdb6d4a716e2edf307710a8155.tar.gz |
IVGCVSW-6811 replace ProfilingService includes with IProfilingService
Change-Id: I00521756c8a19d10bfdc98c6ef4204c7f84901c6
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test')
-rw-r--r-- | src/profiling/test/ProfilingTestUtils.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.hpp b/src/profiling/test/ProfilingTestUtils.hpp index 810a34c3e2..16c6dde4ea 100644 --- a/src/profiling/test/ProfilingTestUtils.hpp +++ b/src/profiling/test/ProfilingTestUtils.hpp @@ -72,23 +72,22 @@ namespace pipe class ProfilingServiceRuntimeHelper : public ProfilingService { public: - ProfilingServiceRuntimeHelper(ProfilingService& profilingService) + ProfilingServiceRuntimeHelper(IProfilingService& profilingService) : m_ProfilingService(profilingService) {} ~ProfilingServiceRuntimeHelper() = default; BufferManager& GetProfilingBufferManager() { - return GetBufferManager(m_ProfilingService); + return GetBufferManager(static_cast<ProfilingService&>(m_ProfilingService)); } - ProfilingService& m_ProfilingService; + IProfilingService& m_ProfilingService; void ForceTransitionToState(ProfilingState newState) { - TransitionToState(m_ProfilingService, newState); + TransitionToState(static_cast<ProfilingService&>(m_ProfilingService), newState); } }; } // namespace pipe } // namespace arm - |