From 827e4bf519ec1e4af2fb0b32d476b8b1c73b877c Mon Sep 17 00:00:00 2001 From: Derek Lamberti Date: Thu, 14 Oct 2021 00:38:35 +0100 Subject: Profile optimizer in Delegate Signed-off-by: Derek Lamberti Change-Id: Ic21e9e8ca1e3e7373db060e701c015623af29f14 --- delegate/src/armnn_external_delegate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/delegate/src/armnn_external_delegate.cpp b/delegate/src/armnn_external_delegate.cpp index fb327de442..4f583e80d4 100644 --- a/delegate/src/armnn_external_delegate.cpp +++ b/delegate/src/armnn_external_delegate.cpp @@ -276,6 +276,7 @@ TfLiteDelegate* tflite_plugin_create_delegate(char** options_keys, else if (std::string(options_keys[i]) == std::string("enable-internal-profiling")) { internalProfilingState = *options_values[i] != '0'; + optimizerOptions.m_ProfilingEnabled = internalProfilingState; } // Process internal-profiling-detail else if (std::string(options_keys[i]) == std::string("internal-profiling-detail")) -- cgit v1.2.1