aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTestUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/ProfilingTestUtils.hpp')
-rw-r--r--src/profiling/test/ProfilingTestUtils.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.hpp b/src/profiling/test/ProfilingTestUtils.hpp
index 32a156ee42..323a762918 100644
--- a/src/profiling/test/ProfilingTestUtils.hpp
+++ b/src/profiling/test/ProfilingTestUtils.hpp
@@ -71,19 +71,21 @@ namespace pipe
class ProfilingServiceRuntimeHelper : public ProfilingService
{
public:
- ProfilingServiceRuntimeHelper(IProfilingService& profilingService)
- : m_ProfilingService(profilingService) {}
+ ProfilingServiceRuntimeHelper(uint16_t maxGlobalCounterId,
+ IInitialiseProfilingService& initialiser,
+ arm::pipe::IProfilingService& profilingService)
+ : ProfilingService(maxGlobalCounterId, initialiser), m_ProfilingService(profilingService) {}
~ProfilingServiceRuntimeHelper() = default;
BufferManager& GetProfilingBufferManager()
{
- return GetBufferManager(static_cast<ProfilingService&>(m_ProfilingService));
+ return GetBufferManager(static_cast<arm::pipe::ProfilingService&>(m_ProfilingService));
}
- IProfilingService& m_ProfilingService;
+ arm::pipe::IProfilingService& m_ProfilingService;
void ForceTransitionToState(ProfilingState newState)
{
- TransitionToState(static_cast<ProfilingService&>(m_ProfilingService), newState);
+ TransitionToState(static_cast<arm::pipe::ProfilingService&>(m_ProfilingService), newState);
}
};