From 17d34da9efab1e515b29755811b7ad7597aacb79 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Wed, 8 Dec 2021 16:15:12 +0000 Subject: Add addition timing logging output * Adds ExecuteNetwork when building the delegate only * Adds timings to delegate subgraph creation * Adds executions times Signed-off-by: Jan Eilers Change-Id: Ieff2f67ea8dbb6c2a708f8810e84a20485b7a631 --- include/armnn/INetwork.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index 6119f124e1..1d98821160 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -169,7 +169,8 @@ struct OptimizerOptions stream << "OptimizerOptions: \n"; stream << "\tReduceFp32ToFp16: " << m_ReduceFp32ToFp16 << "\n"; stream << "\tReduceFp32ToBf16: " << m_ReduceFp32ToBf16 << "\n"; - stream << "\tDebug: " << + stream << "\tDebug: " << m_Debug << "\n"; + stream << "\tShapeInferenceMethod: " << (m_shapeInferenceMethod == ShapeInferenceMethod::ValidateOnly ? "ValidateOnly" : "InferAndValidate") << "\n"; stream << "\tImportEnabled: " << m_ImportEnabled << "\n"; stream << "\tProfilingEnabled: " << m_ProfilingEnabled << "\n"; @@ -180,9 +181,9 @@ struct OptimizerOptions for (size_t i=0; i < optionsGroup.GetOptionCount(); i++) { const armnn::BackendOptions::BackendOption option = optionsGroup.GetOption(i); - stream << "\t\tBackend: " << optionsGroup.GetBackendId() - << "\t\t\tOption: " << option.GetName() - << "\t\t\tValue: " << std::string(option.GetValue().ToString()); + stream << "\t\tBackend: " << optionsGroup.GetBackendId() << "\n" + << "\t\t\tOption: " << option.GetName() << "\n" + << "\t\t\tValue: " << std::string(option.GetValue().ToString()) << "\n"; } } -- cgit v1.2.1