aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingService.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2019-10-14 12:31:10 +0100
committerJim Flynn <jim.flynn@arm.com>2019-10-14 14:59:07 +0100
commit53e469915bc6552c0d79cb6461512c7c1168ee2d (patch)
tree5c160326845c1e294ce88a30e0ffbb33436a3593 /src/profiling/ProfilingService.hpp
parent262578500338274b5fa0bcfeb2d72c13e717f4ff (diff)
downloadarmnn-53e469915bc6552c0d79cb6461512c7c1168ee2d.tar.gz
IVGCVSW-3972 Implement the Disconnect functionality
* Added Disconnect method to the ProfilingService class * Added unit test Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Signed-off-by: Jim Flynn <jim.flynn@arm.com> Change-Id: I5cc57abd3e1239cdf8afe21ee4883c1f73cd0e80
Diffstat (limited to 'src/profiling/ProfilingService.hpp')
-rw-r--r--src/profiling/ProfilingService.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp
index dd70af4b39..d4fa85604c 100644
--- a/src/profiling/ProfilingService.hpp
+++ b/src/profiling/ProfilingService.hpp
@@ -45,6 +45,9 @@ public:
// Updates the profiling service, making it transition to a new state if necessary
void Update();
+ // Disconnects the profiling service from the external server
+ void Disconnect();
+
// Getters for the profiling service state
const ICounterDirectory& GetCounterDirectory() const;
ProfilingState GetCurrentState() const;
@@ -70,6 +73,7 @@ private:
void Initialize();
void InitializeCounterValue(uint16_t counterUid);
void Reset();
+ void Stop();
// Helper function
void CheckCounterUid(uint16_t counterUid) const;