aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/LoadedNetwork.hpp
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2021-02-15 10:11:28 +0000
committerKeithARM <keith.davis@arm.com>2021-02-15 15:10:09 +0000
commit33199c25e5af1553e474a6f6eede07e888cd45ee (patch)
tree4d7980289479f83eb0cae81a460fb71a184f6dc9 /src/armnn/LoadedNetwork.hpp
parent406463269f55a5baefb941b51e10f423f6d3250a (diff)
downloadarmnn-33199c25e5af1553e474a6f6eede07e888cd45ee.tar.gz
IVGCVSW-5675 Implement Pimpl Idiom for IProfiler (lower priority)
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: If716f5f4e9b5433586b8a939d326830482da2f74
Diffstat (limited to 'src/armnn/LoadedNetwork.hpp')
-rw-r--r--src/armnn/LoadedNetwork.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armnn/LoadedNetwork.hpp b/src/armnn/LoadedNetwork.hpp
index 39b6089ac9..3a44206683 100644
--- a/src/armnn/LoadedNetwork.hpp
+++ b/src/armnn/LoadedNetwork.hpp
@@ -50,7 +50,7 @@ public:
// NOTE we return by reference as the purpose of this method is only to provide
// access to the private m_Profiler and in theory we should not need to increment
// the shared_ptr's reference counter
- const std::shared_ptr<Profiler>& GetProfiler() const { return m_Profiler; }
+ const std::shared_ptr<IProfiler>& GetProfiler() const { return m_Profiler; }
void FreeWorkingMemory();
@@ -91,7 +91,7 @@ private:
WorkloadQueue m_InputQueue;
WorkloadQueue m_WorkloadQueue;
WorkloadQueue m_OutputQueue;
- std::shared_ptr<Profiler> m_Profiler;
+ std::shared_ptr<IProfiler> m_Profiler;
mutable std::mutex m_WorkingMemMutex;