blob: fa125490cc9d08cb0567a114d6429b5f111ee03c [file] [log] [blame]
Jim Flynnab845752019-10-25 13:17:30 +01001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Jim Flynnab845752019-10-25 13:17:30 +01008#include "ProfilingGuidGenerator.hpp"
9
janeil01c4946c72019-11-07 09:32:28 +000010#include <armnn/Types.hpp>
Rob Hughesa91479c2020-01-07 09:40:12 +000011#include <DllExport.hpp>
janeil01c4946c72019-11-07 09:32:28 +000012
Jim Flynnab845752019-10-25 13:17:30 +010013namespace armnn
14{
15
16namespace profiling
17{
18
19class LabelsAndEventClasses
20{
21public:
22 // Labels (string value + GUID)
Rob Hughesa91479c2020-01-07 09:40:12 +000023 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;
27 ARMNN_DLLEXPORT static ProfilingStaticGuid NAME_GUID;
28 ARMNN_DLLEXPORT static ProfilingStaticGuid TYPE_GUID;
29 ARMNN_DLLEXPORT static ProfilingStaticGuid INDEX_GUID;
30 ARMNN_DLLEXPORT static ProfilingStaticGuid BACKENDID_GUID;
Narumol Prangnawaratdf31cfe2019-11-22 11:26:06 +000031
32 // Common types
Rob Hughesa91479c2020-01-07 09:40:12 +000033 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;
39 ARMNN_DLLEXPORT static ProfilingStaticGuid LAYER_GUID;
40 ARMNN_DLLEXPORT static ProfilingStaticGuid WORKLOAD_GUID;
41 ARMNN_DLLEXPORT static ProfilingStaticGuid NETWORK_GUID;
42 ARMNN_DLLEXPORT static ProfilingStaticGuid CONNECTION_GUID;
43 ARMNN_DLLEXPORT static ProfilingStaticGuid INFERENCE_GUID;
44 ARMNN_DLLEXPORT static ProfilingStaticGuid WORKLOAD_EXECUTION_GUID;
Jim Flynnab845752019-10-25 13:17:30 +010045
46 // Event Class GUIDs
Rob Hughesa91479c2020-01-07 09:40:12 +000047 ARMNN_DLLEXPORT static ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS;
48 ARMNN_DLLEXPORT static ProfilingStaticGuid ARMNN_PROFILING_EOL_EVENT_CLASS;
Jim Flynnab845752019-10-25 13:17:30 +010049
50private:
51 static ProfilingGuidGenerator m_GuidGenerator;
52};
53
54} // namespace profiling
55
56} // namespace armnn