aboutsummaryrefslogtreecommitdiff
path: root/tests/ExecuteNetwork/ArmNNExecutor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ExecuteNetwork/ArmNNExecutor.cpp')
-rw-r--r--tests/ExecuteNetwork/ArmNNExecutor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ExecuteNetwork/ArmNNExecutor.cpp b/tests/ExecuteNetwork/ArmNNExecutor.cpp
index b894db8049..b655ef8bc3 100644
--- a/tests/ExecuteNetwork/ArmNNExecutor.cpp
+++ b/tests/ExecuteNetwork/ArmNNExecutor.cpp
@@ -184,7 +184,7 @@ void ArmNNExecutor::ExecuteSync()
const auto inferenceDuration = armnn::GetTimeDuration(start_time);
// If profiling is enabled print out the results
- if(profiler && profiler->IsProfilingEnabled())
+ if(profiler && profiler->IsProfilingEnabled() && x == (m_Params.m_Iterations - 1))
{
profiler->Print(std::cout);
}