IVGCVSW-4794 Fix ArmNN Counters incorrectly set to delta
* Change all ArmNN counters to absolute
* Fix bug in the DirectoryCaptureCommandHandler where the offsets of the
m_CounterClass and m_CounterInterpolation were swapped
* Fix bug in the DirectoryCaptureCommandHandler where the offsets of the
m_DeviceUid and m_CounterSetUid were swapped
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: If396628306757088aa0acf739fb3e4f240b4394b
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp
index d87ed0b..294a294 100644
--- a/src/profiling/ProfilingService.cpp
+++ b/src/profiling/ProfilingService.cpp
@@ -327,7 +327,7 @@
m_CounterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
armnn::profiling::NETWORK_LOADS,
"ArmNN_Runtime",
- 0,
+ 1,
0,
1.f,
"Network loads",
@@ -343,7 +343,7 @@
m_CounterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
armnn::profiling::NETWORK_UNLOADS,
"ArmNN_Runtime",
- 0,
+ 1,
0,
1.f,
"Network unloads",
@@ -359,7 +359,7 @@
m_CounterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
armnn::profiling::REGISTERED_BACKENDS,
"ArmNN_Runtime",
- 0,
+ 1,
0,
1.f,
"Backends registered",
@@ -375,7 +375,7 @@
m_CounterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
armnn::profiling::UNREGISTERED_BACKENDS,
"ArmNN_Runtime",
- 0,
+ 1,
0,
1.f,
"Backends unregistered",
@@ -391,7 +391,7 @@
m_CounterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
armnn::profiling::INFERENCES_RUN,
"ArmNN_Runtime",
- 0,
+ 1,
0,
1.f,
"Inferences run",