aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/backends/profiling/IBackendProfiling.hpp
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2020-02-17 11:33:31 +0000
committerSadik Armagan <sadik.armagan@arm.com>2020-02-17 11:33:31 +0000
commitcab588ac45bf1c39832d8a278ee46db851c1b015 (patch)
tree30b038b1859fb51d7c4ca7e312bfcc7b59ea8ddc /include/armnn/backends/profiling/IBackendProfiling.hpp
parentc5a680111396235f7b772c99a2028cf76c4e63c8 (diff)
downloadarmnn-cab588ac45bf1c39832d8a278ee46db851c1b015.tar.gz
IVGCVSW-4320 Implement the bulk reporting of counter values from backends
* Implemented unit test for ReportCounters function in BackendProfiling Signed-off-by: Jim Flynn <jim.flynn@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Iec342a96060c8ef6090e6cc67bda8a7a3e890c50
Diffstat (limited to 'include/armnn/backends/profiling/IBackendProfiling.hpp')
-rw-r--r--include/armnn/backends/profiling/IBackendProfiling.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/armnn/backends/profiling/IBackendProfiling.hpp b/include/armnn/backends/profiling/IBackendProfiling.hpp
index a649ece74f..989c5e8281 100644
--- a/include/armnn/backends/profiling/IBackendProfiling.hpp
+++ b/include/armnn/backends/profiling/IBackendProfiling.hpp
@@ -18,6 +18,8 @@ namespace profiling
struct CounterValue
{
+ CounterValue(uint16_t id, uint32_t value) :
+ counterId(id), counterValue(value) {}
uint16_t counterId;
uint32_t counterValue;
};