From f3fcf325a9b57d37db9acb9080416b104a733136 Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Mon, 11 May 2020 14:38:02 +0100 Subject: IVGCVSW-4794 Change ArmNN counters to report delta values Signed-off-by: Finn Williams Change-Id: I7957ee41fd700ee502cc14aa313a60664d4caec9 --- src/profiling/test/FileOnlyProfilingDecoratorTests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/profiling/test/FileOnlyProfilingDecoratorTests.cpp') 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. -- cgit v1.2.1