aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CounterIdMap.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2020-02-02 12:52:59 +0000
committerDavid Monahan <david.monahan@arm.com>2020-02-03 14:51:47 +0000
commit9789702c0b276ca9518e590f30465da7e76a940f (patch)
tree08f3090bb8e22e84349253b8c924d626742f02f0 /src/profiling/CounterIdMap.hpp
parent8e0c7a66efc8d61787c43cdaeab3754e2905f623 (diff)
downloadarmnn-9789702c0b276ca9518e590f30465da7e76a940f.tar.gz
IVGCVSW-4393 Register backend counters
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I419ecc2fce4b7e0fcaeb6d1f9cb687c0b660125d Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/CounterIdMap.hpp')
-rw-r--r--src/profiling/CounterIdMap.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profiling/CounterIdMap.hpp b/src/profiling/CounterIdMap.hpp
index cb6b9c92e8..5c1a6ea609 100644
--- a/src/profiling/CounterIdMap.hpp
+++ b/src/profiling/CounterIdMap.hpp
@@ -26,6 +26,7 @@ public:
virtual void RegisterMapping(uint16_t globalCounterId,
uint16_t backendCounterId,
const armnn::BackendId& backendId) = 0;
+ virtual void Reset() = 0;
virtual ~IRegisterCounterMapping() {}
};
@@ -38,6 +39,7 @@ public:
void RegisterMapping(uint16_t globalCounterId,
uint16_t backendCounterId,
const armnn::BackendId& backendId) override;
+ void Reset() override;
uint16_t GetGlobalId(uint16_t backendCounterId, const armnn::BackendId& backendId) const override;
const std::pair<uint16_t, armnn::BackendId>& GetBackendId(uint16_t globalCounterId) const override;
private: