aboutsummaryrefslogtreecommitdiff
path: root/src/profiling
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling')
-rw-r--r--src/profiling/IProfilingConnectionFactory.hpp4
-rw-r--r--src/profiling/ProfilingConnectionFactory.hpp4
-rw-r--r--src/profiling/ProfilingService.hpp2
-rw-r--r--src/profiling/test/ProfilingTests.hpp1
-rw-r--r--src/profiling/test/SendTimelinePacketTests.cpp4
5 files changed, 6 insertions, 9 deletions
diff --git a/src/profiling/IProfilingConnectionFactory.hpp b/src/profiling/IProfilingConnectionFactory.hpp
index 173421092e..c2bbc70d8b 100644
--- a/src/profiling/IProfilingConnectionFactory.hpp
+++ b/src/profiling/IProfilingConnectionFactory.hpp
@@ -7,7 +7,7 @@
#include "IProfilingConnection.hpp"
-#include <Runtime.hpp>
+#include <armnn/IRuntime.hpp>
#include <memory>
@@ -20,7 +20,7 @@ namespace profiling
class IProfilingConnectionFactory
{
public:
- using ExternalProfilingOptions = Runtime::CreationOptions::ExternalProfilingOptions;
+ using ExternalProfilingOptions = IRuntime::CreationOptions::ExternalProfilingOptions;
using IProfilingConnectionPtr = std::unique_ptr<IProfilingConnection>;
virtual ~IProfilingConnectionFactory() {}
diff --git a/src/profiling/ProfilingConnectionFactory.hpp b/src/profiling/ProfilingConnectionFactory.hpp
index b3a1658548..c6d4c6faf0 100644
--- a/src/profiling/ProfilingConnectionFactory.hpp
+++ b/src/profiling/ProfilingConnectionFactory.hpp
@@ -7,10 +7,6 @@
#include "IProfilingConnectionFactory.hpp"
-#include <Runtime.hpp>
-
-#include <memory>
-
namespace armnn
{
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp
index d4ff9085f5..ee199d55ab 100644
--- a/src/profiling/ProfilingService.hpp
+++ b/src/profiling/ProfilingService.hpp
@@ -30,7 +30,7 @@ namespace profiling
class ProfilingService : public IReadWriteCounterValues, public IProfilingGuidGenerator
{
public:
- using ExternalProfilingOptions = Runtime::CreationOptions::ExternalProfilingOptions;
+ 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>*>;
diff --git a/src/profiling/test/ProfilingTests.hpp b/src/profiling/test/ProfilingTests.hpp
index 21c98723be..86b5c315e2 100644
--- a/src/profiling/test/ProfilingTests.hpp
+++ b/src/profiling/test/ProfilingTests.hpp
@@ -12,6 +12,7 @@
#include <Logging.hpp>
#include <ProfilingService.hpp>
+#include <boost/polymorphic_cast.hpp>
#include <boost/test/unit_test.hpp>
#include <chrono>
diff --git a/src/profiling/test/SendTimelinePacketTests.cpp b/src/profiling/test/SendTimelinePacketTests.cpp
index 771e117955..8071eece7d 100644
--- a/src/profiling/test/SendTimelinePacketTests.cpp
+++ b/src/profiling/test/SendTimelinePacketTests.cpp
@@ -410,7 +410,7 @@ BOOST_AUTO_TEST_CASE(SendTimelinePacketTests3)
BOOST_AUTO_TEST_CASE(GetGuidsFromProfilingService)
{
- armnn::Runtime::CreationOptions::ExternalProfilingOptions options;
+ armnn::IRuntime::CreationOptions::ExternalProfilingOptions options;
options.m_EnableProfiling = true;
ProfilingService& profilingService = ProfilingService::Instance();
profilingService.ResetExternalProfilingOptions(options, true);
@@ -429,7 +429,7 @@ BOOST_AUTO_TEST_CASE(GetGuidsFromProfilingService)
BOOST_AUTO_TEST_CASE(GetTimelinePackerWriterFromProfilingService)
{
- armnn::Runtime::CreationOptions::ExternalProfilingOptions options;
+ armnn::IRuntime::CreationOptions::ExternalProfilingOptions options;
options.m_EnableProfiling = true;
ProfilingService& profilingService = ProfilingService::Instance();
profilingService.ResetExternalProfilingOptions(options, true);