diff options
author | Finn Williams <Finn.Williams@arm.com> | 2020-05-11 14:38:02 +0100 |
---|---|---|
committer | finn.williams <finn.williams@arm.com> | 2020-05-13 10:13:19 +0000 |
commit | f3fcf325a9b57d37db9acb9080416b104a733136 (patch) | |
tree | 79753be262aff1068a646d2b1e0335592147d395 /src/profiling/PeriodicCounterCapture.cpp | |
parent | 94c97881d5971576eddca3416228b84156033395 (diff) | |
download | armnn-f3fcf325a9b57d37db9acb9080416b104a733136.tar.gz |
IVGCVSW-4794 Change ArmNN counters to report delta values
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I7957ee41fd700ee502cc14aa313a60664d4caec9
Diffstat (limited to 'src/profiling/PeriodicCounterCapture.cpp')
-rw-r--r-- | src/profiling/PeriodicCounterCapture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/PeriodicCounterCapture.cpp b/src/profiling/PeriodicCounterCapture.cpp index 4ad1d113b6..8ff5e7e049 100644 --- a/src/profiling/PeriodicCounterCapture.cpp +++ b/src/profiling/PeriodicCounterCapture.cpp @@ -73,7 +73,7 @@ void PeriodicCounterCapture::DispatchPeriodicCounterCapturePacket( } } -void PeriodicCounterCapture::Capture(const IReadCounterValues& readCounterValues) +void PeriodicCounterCapture::Capture(IReadCounterValues& readCounterValues) { do { @@ -103,7 +103,7 @@ void PeriodicCounterCapture::Capture(const IReadCounterValues& readCounterValues uint32_t counterValue = 0; try { - counterValue = readCounterValues.GetCounterValue(requestedId); + counterValue = readCounterValues.GetDeltaCounterValue(requestedId); } catch (const Exception& e) { |