aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/ProfilingEvent.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/ProfilingEvent.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/ProfilingEvent.hpp')
-rw-r--r--src/armnn/ProfilingEvent.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnn/ProfilingEvent.hpp b/src/armnn/ProfilingEvent.hpp
index 9f57753585..7afd5c100c 100644
--- a/src/armnn/ProfilingEvent.hpp
+++ b/src/armnn/ProfilingEvent.hpp
@@ -16,7 +16,7 @@ namespace armnn
{
/// Forward declaration
-class Profiler;
+class IProfiler;
/// Event class records measurements reported by BeginEvent()/EndEvent() and returns measurements when
/// Event::GetMeasurements() is called.
@@ -27,7 +27,7 @@ public:
using Instruments = std::vector<InstrumentPtr>;
Event(const std::string& eventName,
- Profiler* profiler,
+ IProfiler* profiler,
Event* parent,
const BackendId backendId,
std::vector<InstrumentPtr>&& instrument);
@@ -56,7 +56,7 @@ public:
/// Get the pointer of the profiler associated with this event
/// \return Pointer of the profiler associated with this event
- const Profiler* GetProfiler() const;
+ const IProfiler* GetProfiler() const;
/// Get the pointer of the parent event
/// \return Pointer of the parent event
@@ -77,7 +77,7 @@ private:
std::string m_EventName;
/// Stored associated profiler
- Profiler* m_Profiler;
+ IProfiler* m_Profiler;
/// Stores optional parent event
Event* m_Parent;