ArmNN
 25.11
Loading...
Searching...
No Matches
Markers.hpp
Go to the documentation of this file.
1//
2// Copyright © 2024 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8namespace armnn
9{
10
11/**
12 * This empty macro has been inserted at the end of LoadedNetwork constructor. It marks the point after Arm NN has
13 * created all workloads associated with an optimized network and the network is ready for execution.
14 */
15#define MARK_OPTIMIZED_NETWORK_LOADED()
16
17/**
18 * This empty macro has been inserted at LoadedNetwork::Execute. It marks the point just before Arm NN will:
19 * - perform any copy/import operation on subgraph inputs.
20 * - execute all the workloads in this subgraph.
21 * - perform any copy/export operation on subgraph outputs.
22 */
23#define MARK_INFERENCE_EXECUTION_BEGIN()
24
25/**
26 * This empty macro has been inserted at LoadedNetwork::Execute. It marks the point just after Arm NN has executed
27 * all workloads in this subgraph and processed any copy/export operation on subgraph output.
28 */
29#define MARK_INFERENCE_EXECUTION_END()
30
31/**
32 * This empty macro has been inserted at LoadedNetwork::Execute. It marks the point just before a workload begins
33 * execution.
34 */
35#define MARK_WORKLOAD_EXECUTION_BEGIN()
36
37/**
38* This empty macro has been inserted at LoadedNetwork::Execute. It marks the point just after a workload completes
39* execution.
40 */
41#define MARK_WORKLOAD_EXECUTION_END()
42
43} //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.