aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/PeriodicCounterCapture.hpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-04-09 16:05:28 +0100
committerFinn Williams <Finn.Williams@arm.com>2020-04-10 14:48:56 +0100
commitfe5a24beeef6e9a41366e694f41093565e748048 (patch)
tree72c660062f9c8287e54176dfbd8c5aa0269f2e51 /src/profiling/PeriodicCounterCapture.hpp
parentbb446e576e120512d5752a5d6dc1ddc636f563ba (diff)
downloadarmnn-fe5a24beeef6e9a41366e694f41093565e748048.tar.gz
IVGCVSW-4666 Call EnableProfiling when state switches to active
* Move the call to EnableProfiling() into ConnectionAcknowledgedHandler * Fix an issue with MockGatord forcing some command handlers to be quiet * Add some small unrelated improvements and typo fixes to the periodic counter command handlers Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I9e6066b78d1f782cfaf27c11571c0ec5cb5d126f
Diffstat (limited to 'src/profiling/PeriodicCounterCapture.hpp')
-rw-r--r--src/profiling/PeriodicCounterCapture.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/PeriodicCounterCapture.hpp b/src/profiling/PeriodicCounterCapture.hpp
index ff0562377c..51ac273860 100644
--- a/src/profiling/PeriodicCounterCapture.hpp
+++ b/src/profiling/PeriodicCounterCapture.hpp
@@ -39,7 +39,7 @@ public:
, m_ReadCounterValues(readCounterValue)
, m_SendCounterPacket(packet)
, m_CounterIdMap(counterIdMap)
- , m_BackendProfilingContext(backendProfilingContexts)
+ , m_BackendProfilingContexts(backendProfilingContexts)
{}
~PeriodicCounterCapture() { Stop(); }
@@ -61,7 +61,7 @@ private:
ISendCounterPacket& m_SendCounterPacket;
const ICounterMappings& m_CounterIdMap;
const std::unordered_map<armnn::BackendId,
- std::shared_ptr<armnn::profiling::IBackendProfilingContext>>& m_BackendProfilingContext;
+ std::shared_ptr<armnn::profiling::IBackendProfilingContext>>& m_BackendProfilingContexts;
};
} // namespace profiling