aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2021-12-08 16:15:12 +0000
committerJan Eilers <jan.eilers@arm.com>2021-12-08 16:15:12 +0000
commit17d34da9efab1e515b29755811b7ad7597aacb79 (patch)
tree7c5db433ad7eab8c82f58a452a879e4940735986 /include
parent6a71bb538dd67a38b321b5f2066784afd26e8c22 (diff)
downloadarmnn-17d34da9efab1e515b29755811b7ad7597aacb79.tar.gz
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 <jan.eilers@arm.com> Change-Id: Ieff2f67ea8dbb6c2a708f8810e84a20485b7a631
Diffstat (limited to 'include')
-rw-r--r--include/armnn/INetwork.hpp9
1 files changed, 5 insertions, 4 deletions
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";
}
}