diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ExecuteNetwork/ArmNNExecutor.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ExecuteNetwork/ArmNNExecutor.cpp b/tests/ExecuteNetwork/ArmNNExecutor.cpp index 42d41ef169..58655c1814 100644 --- a/tests/ExecuteNetwork/ArmNNExecutor.cpp +++ b/tests/ExecuteNetwork/ArmNNExecutor.cpp @@ -212,6 +212,10 @@ void ArmNNExecutor::ExecuteSync() std::vector<const void*> ArmNNExecutor::Execute() { + ARMNN_LOG(info) << "Inferences began at: " + << std::chrono::duration_cast<std::chrono::nanoseconds>(armnn::GetTimeNow().time_since_epoch()).count() + << " ns\n"; + if(m_Params.m_ThreadPoolSize == 0) { ExecuteSync(); @@ -220,6 +224,11 @@ std::vector<const void*> ArmNNExecutor::Execute() { ExecuteAsync(); } + + ARMNN_LOG(info) << "Inferences ended at: " + << std::chrono::duration_cast<std::chrono::nanoseconds>(armnn::GetTimeNow().time_since_epoch()).count() + << " ns\n"; + std::vector<const void*> results; for (auto& output : m_OutputStorage) { |