diff options
Diffstat (limited to 'src/profiling/ProfilingService.hpp')
-rw-r--r-- | src/profiling/ProfilingService.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp index c705a49313..af480f3c5e 100644 --- a/src/profiling/ProfilingService.hpp +++ b/src/profiling/ProfilingService.hpp @@ -15,6 +15,7 @@ #include "ICounterRegistry.hpp" #include "ICounterValues.hpp" #include <armnn/profiling/ILocalPacketHandler.hpp> +#include <armnn/profiling/ProfilingOptions.hpp> #include "IProfilingService.hpp" #include "IReportStructure.hpp" #include "PeriodicCounterCapture.hpp" @@ -50,7 +51,6 @@ static const uint16_t MAX_ARMNN_COUNTER = INFERENCES_RUN; class ProfilingService : public IReadWriteCounterValues, public IProfilingService, public INotifyBackends { public: - using ExternalProfilingOptions = IRuntime::CreationOptions::ExternalProfilingOptions; using IProfilingConnectionFactoryPtr = std::unique_ptr<IProfilingConnectionFactory>; using IProfilingConnectionPtr = std::unique_ptr<IProfilingConnection>; using CounterIndices = std::vector<std::atomic<uint32_t>*>; @@ -149,8 +149,9 @@ public: ~ProfilingService(); // Resets the profiling options, optionally clears the profiling service entirely - void ResetExternalProfilingOptions(const ExternalProfilingOptions& options, bool resetProfilingService = false); - ProfilingState ConfigureProfilingService(const ExternalProfilingOptions& options, + void ResetExternalProfilingOptions(const armnn::profiling::ProfilingOptions& options, + bool resetProfilingService = false); + ProfilingState ConfigureProfilingService(const armnn::profiling::ProfilingOptions& options, bool resetProfilingService = false); @@ -239,7 +240,7 @@ private: void CheckCounterUid(uint16_t counterUid) const; // Profiling service components - ExternalProfilingOptions m_Options; + ProfilingOptions m_Options; std::atomic<bool> m_TimelineReporting; CounterDirectory m_CounterDirectory; CounterIdMap m_CounterIdMap; |