ArmNN
 20.02
LabelsAndEventClasses.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. 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 NAME_LABEL;
24  ARMNN_DLLEXPORT static std::string TYPE_LABEL;
25  ARMNN_DLLEXPORT static std::string INDEX_LABEL;
26  ARMNN_DLLEXPORT static std::string BACKENDID_LABEL;
31 
32  // Common types
33  ARMNN_DLLEXPORT static std::string LAYER;
34  ARMNN_DLLEXPORT static std::string WORKLOAD;
35  ARMNN_DLLEXPORT static std::string NETWORK;
36  ARMNN_DLLEXPORT static std::string CONNECTION;
37  ARMNN_DLLEXPORT static std::string INFERENCE;
38  ARMNN_DLLEXPORT static std::string WORKLOAD_EXECUTION;
45 
46  // Event Class GUIDs
49 
50 private:
51  static ProfilingGuidGenerator m_GuidGenerator;
52 };
53 
54 } // namespace profiling
55 
56 } // 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 std::string NAME_LABEL
Copyright (c) 2020 ARM Limited.
static ARMNN_DLLEXPORT std::string BACKENDID_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid CONNECTION_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid WORKLOAD_GUID
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 std::string WORKLOAD
static ARMNN_DLLEXPORT std::string INDEX_LABEL
static ARMNN_DLLEXPORT ProfilingStaticGuid NETWORK_GUID
static ARMNN_DLLEXPORT std::string CONNECTION
static ARMNN_DLLEXPORT ProfilingStaticGuid INDEX_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid TYPE_GUID
static ARMNN_DLLEXPORT ProfilingStaticGuid BACKENDID_GUID
static ARMNN_DLLEXPORT std::string INFERENCE
static ARMNN_DLLEXPORT std::string LAYER