aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2021-10-13 14:32:12 +0100
committerDerek Lamberti <derek.lamberti@arm.com>2021-10-15 15:29:43 +0100
commite155bbf0e9be6b4d7974297585a59207cd89b00a (patch)
tree78f5d5f4f2a3a8551854fdd46eac7f599e371bd1 /include
parent827e4bf519ec1e4af2fb0b32d476b8b1c73b877c (diff)
downloadarmnn-e155bbf0e9be6b4d7974297585a59207cd89b00a.tar.gz
Refactor: Profiler moved to Graph
* This is to enable later work to instrument the Optimizer. Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: I2cf1fe022e0d100d6d8705adfbb8cab3ffc96a86
Diffstat (limited to 'include')
-rw-r--r--include/armnn/INetwork.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp
index 5027818623..ab92f05112 100644
--- a/include/armnn/INetwork.hpp
+++ b/include/armnn/INetwork.hpp
@@ -715,6 +715,7 @@ class WorkingMemHandle;
struct BackendSettings;
struct OptimizationResult;
class OptimizedNetworkImpl;
+class IProfiler;
class IOptimizedNetwork
{
public:
@@ -732,6 +733,8 @@ public:
IOptimizedNetwork(std::unique_ptr<OptimizedNetworkImpl> impl);
~IOptimizedNetwork();
+ const std::shared_ptr<IProfiler>& GetProfiler() const;
+
protected:
friend class LoadedNetwork;