ArmNN
 21.02
LabelsAndEventClasses.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
9 
10 #include <armnn/Types.hpp>
11 #include <DllExport.hpp>
12 
13 namespace armnn
14 {
15 
16 namespace profiling
17 {
18 
20 {
21 public:
22  // Labels (string value + GUID)
23  ARMNN_DLLEXPORT static std::string EMPTY_LABEL;
24  ARMNN_DLLEXPORT static std::string NAME_LABEL;
25  ARMNN_DLLEXPORT static std::string TYPE_LABEL;
26  ARMNN_DLLEXPORT static std::string INDEX_LABEL;
27  ARMNN_DLLEXPORT static std::string BACKENDID_LABEL;
28  ARMNN_DLLEXPORT static std::string CHILD_LABEL;
29  ARMNN_DLLEXPORT static std::string EXECUTION_OF_LABEL;
30  ARMNN_DLLEXPORT static std::string PROCESS_ID_LABEL;
39 
40  // Common types
41  ARMNN_DLLEXPORT static std::string LAYER;
42  ARMNN_DLLEXPORT static std::string WORKLOAD;
43  ARMNN_DLLEXPORT static std::string NETWORK;
44  ARMNN_DLLEXPORT static std::string CONNECTION;
45  ARMNN_DLLEXPORT static std::string INFERENCE;
46  ARMNN_DLLEXPORT static std::string WORKLOAD_EXECUTION;
53 
54  // Event Class GUIDs
55  // Start of Life (SOL)
59  // End of Life (EOL)
63 
64 private:
65  static ProfilingGuidGenerator m_GuidGenerator;
66 };
67 
68 } // namespace profiling
69 
70 } // namespace armnn
static ARMNN_DLLEXPORT ProfilingStaticGuid INFERENCE_GUID
static ARMNN_DLLEXPORT std::string WORKLOAD_EXECUTION
static ARMNN_DLLEXPORT std::string TYPE_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS_NAME_GUID
static ARMNN_DLLEXPORT std::string NAME_LABEL
Copyright (c) 2021 ARM Limited and Contributors.
static ARMNN_DLLEXPORT std::string BACKENDID_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid CONNECTION_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid WORKLOAD_GUID
static ARMNN_DLLEXPORT std::string EXECUTION_OF_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid WORKLOAD_EXECUTION_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_EOL_EVENT_CLASS
static ARMNN_DLLEXPORT ProfilingStaticGuid NAME_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS
static ARMNN_DLLEXPORT std::string NETWORK
#define ARMNN_DLLEXPORT
Definition: DllExport.hpp:17
static ARMNN_DLLEXPORT ProfilingStaticGuid LAYER_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid EXECUTION_OF_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_EOL_EVENT_CLASS_NAME_GUID
static ARMNN_DLLEXPORT std::string WORKLOAD
static ARMNN_DLLEXPORT std::string INDEX_LABEL
static ARMNN_DLLEXPORT std::string ARMNN_PROFILING_SOL_EVENT_CLASS_NAME
static ARMNN_DLLEXPORT std::string ARMNN_PROFILING_EOL_EVENT_CLASS_NAME
static ARMNN_DLLEXPORT ProfilingStaticGuid EMPTY_GUID
static ARMNN_DLLEXPORT std::string EMPTY_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid NETWORK_GUID
static ARMNN_DLLEXPORT std::string CONNECTION
static ARMNN_DLLEXPORT std::string PROCESS_ID_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid INDEX_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid TYPE_GUID
static ARMNN_DLLEXPORT std::string CHILD_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid PROCESS_ID_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid BACKENDID_GUID
static ARMNN_DLLEXPORT std::string INFERENCE
static ARMNN_DLLEXPORT ProfilingStaticGuid CHILD_GUID
static ARMNN_DLLEXPORT std::string LAYER