aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-05-11 14:38:02 +0100
committerfinn.williams <finn.williams@arm.com>2020-05-13 10:13:19 +0000
commitf3fcf325a9b57d37db9acb9080416b104a733136 (patch)
tree79753be262aff1068a646d2b1e0335592147d395 /src/profiling/test/FileOnlyProfilingDecoratorTests.cpp
parent94c97881d5971576eddca3416228b84156033395 (diff)
downloadarmnn-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/test/FileOnlyProfilingDecoratorTests.cpp')
-rw-r--r--src/profiling/test/FileOnlyProfilingDecoratorTests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp b/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp
index 964489478e..164a94a9ec 100644
--- a/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp
+++ b/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp
@@ -141,7 +141,8 @@ BOOST_AUTO_TEST_CASE(DumpOutgoingValidFileEndToEnd, * boost::unit_test::disabled
// Increment a counter.
BOOST_CHECK(profilingService.IsCounterRegistered(0) == true);
profilingService.IncrementCounterValue(0);
- BOOST_CHECK(profilingService.GetCounterValue(0) > 0);
+ BOOST_CHECK(profilingService.GetAbsoluteCounterValue(0) > 0);
+ BOOST_CHECK(profilingService.GetDeltaCounterValue(0) > 0);
// At this point the profiling service is active and we've activated all the counters. Waiting a collection
// period should be enough to have some data in the file.