aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingService.hpp
diff options
context:
space:
mode:
authorJames Conroy <james.conroy@arm.com>2020-02-06 18:34:52 +0000
committerColm Donelan <colm.donelan@arm.com>2020-02-10 11:13:00 +0000
commit2dcd3fef30ad3ac41621f3f8b142632e912ea42d (patch)
tree3916a75d338e1d261a71c786d1c25d4ff144c1df /src/profiling/ProfilingService.hpp
parent1398b75f03f8558756f11ec0f89dccea6e864c84 (diff)
downloadarmnn-2dcd3fef30ad3ac41621f3f8b142632e912ea42d.tar.gz
IVGCVSW-4319 Implement Counter Status Querying
* Adds implementations for GetCounterStatus and GetActiveCounters. * Adds CheckCounterStatusQuery in ProfilingTests. * Modifies Holder and ProfilingService to open up access to CaptureData for use by BackendProfiling. Signed-off-by: James Conroy <james.conroy@arm.com> Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Iec47952545c0072a71088b12ca3dc31673fa9c51
Diffstat (limited to 'src/profiling/ProfilingService.hpp')
-rw-r--r--src/profiling/ProfilingService.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp
index 4438952853..17099b1247 100644
--- a/src/profiling/ProfilingService.hpp
+++ b/src/profiling/ProfilingService.hpp
@@ -84,6 +84,9 @@ public:
// Getters for the profiling service state
bool IsProfilingEnabled();
+ CaptureData GetCaptureData();
+ void SetCaptureData(uint32_t capturePeriod, const std::vector<uint16_t>& counterIds);
+
// Setters for the profiling service state
void SetCounterValue(uint16_t counterUid, uint32_t value) override;
uint32_t AddCounterValue(uint16_t counterUid, uint32_t value) override;