Jim Flynn | ab84575 | 2019-10-25 13:17:30 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2019 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
Jim Flynn | ab84575 | 2019-10-25 13:17:30 +0100 | [diff] [blame] | 8 | #include "ProfilingGuidGenerator.hpp" |
| 9 | |
janeil01 | c4946c7 | 2019-11-07 09:32:28 +0000 | [diff] [blame] | 10 | #include <armnn/Types.hpp> |
| 11 | |
Jim Flynn | ab84575 | 2019-10-25 13:17:30 +0100 | [diff] [blame] | 12 | namespace armnn |
| 13 | { |
| 14 | |
| 15 | namespace profiling |
| 16 | { |
| 17 | |
| 18 | class LabelsAndEventClasses |
| 19 | { |
| 20 | public: |
| 21 | // Labels (string value + GUID) |
| 22 | static std::string NAME_LABEL; |
| 23 | static std::string TYPE_LABEL; |
| 24 | static std::string INDEX_LABEL; |
Narumol Prangnawarat | df31cfe | 2019-11-22 11:26:06 +0000 | [diff] [blame^] | 25 | static std::string BACKENDID_LABEL; |
Jim Flynn | ab84575 | 2019-10-25 13:17:30 +0100 | [diff] [blame] | 26 | static ProfilingStaticGuid NAME_GUID; |
| 27 | static ProfilingStaticGuid TYPE_GUID; |
| 28 | static ProfilingStaticGuid INDEX_GUID; |
Narumol Prangnawarat | df31cfe | 2019-11-22 11:26:06 +0000 | [diff] [blame^] | 29 | static ProfilingStaticGuid BACKENDID_GUID; |
| 30 | |
| 31 | // Common types |
| 32 | static std::string LAYER; |
| 33 | static std::string WORKLOAD; |
| 34 | static std::string NETWORK; |
| 35 | static std::string CONNECTION; |
| 36 | static ProfilingStaticGuid LAYER_GUID; |
| 37 | static ProfilingStaticGuid WORKLOAD_GUID; |
| 38 | static ProfilingStaticGuid NETWORK_GUID; |
| 39 | static ProfilingStaticGuid CONNECTION_GUID; |
Jim Flynn | ab84575 | 2019-10-25 13:17:30 +0100 | [diff] [blame] | 40 | |
| 41 | // Event Class GUIDs |
| 42 | static ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS; |
| 43 | static ProfilingStaticGuid ARMNN_PROFILING_EOL_EVENT_CLASS; |
| 44 | |
| 45 | private: |
| 46 | static ProfilingGuidGenerator m_GuidGenerator; |
| 47 | }; |
| 48 | |
| 49 | } // namespace profiling |
| 50 | |
| 51 | } // namespace armnn |