aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/LoadedNetwork.hpp
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2020-06-19 14:33:05 +0100
committerDerek Lamberti <derek.lamberti@arm.com>2020-06-25 11:36:51 +0100
commita08d29b815987e98e7f45519e6a55eee0f085e5f (patch)
treec098756dd4d067ad3500b6d89cae32a3f4299193 /src/armnn/LoadedNetwork.hpp
parentd5ba9aad6fa12345744d442ba0d865686ae3aea3 (diff)
downloadarmnn-a08d29b815987e98e7f45519e6a55eee0f085e5f.tar.gz
Minor improvement of inference profiling
* Start inference profiling at the actual beginning * Add profiling events for EnqueueInputs and EnqueueOutputs * Add profiling event for working memory allocation * Refactor Execute body to remove code duplication * forward arguments to constructors rather than copy Change-Id: Iacab85f0a02e88e2423885f86f97e4dba4037319 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/armnn/LoadedNetwork.hpp')
-rw-r--r--src/armnn/LoadedNetwork.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/LoadedNetwork.hpp b/src/armnn/LoadedNetwork.hpp
index 918375ac38..8c2103019e 100644
--- a/src/armnn/LoadedNetwork.hpp
+++ b/src/armnn/LoadedNetwork.hpp
@@ -59,7 +59,7 @@ public:
void SendNetworkStructure();
private:
- void AllocateWorkingMemory();
+ void AllocateWorkingMemory(std::lock_guard<std::mutex>& lock);
LoadedNetwork(std::unique_ptr<OptimizedNetwork> net,
const INetworkProperties& networkProperties,