aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/LabelsAndEventClasses.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/LabelsAndEventClasses.hpp')
-rw-r--r--src/profiling/LabelsAndEventClasses.hpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/profiling/LabelsAndEventClasses.hpp b/src/profiling/LabelsAndEventClasses.hpp
new file mode 100644
index 0000000000..07aeb81099
--- /dev/null
+++ b/src/profiling/LabelsAndEventClasses.hpp
@@ -0,0 +1,38 @@
+//
+// Copyright © 2019 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include "ProfilingGuid.hpp"
+#include "ProfilingGuidGenerator.hpp"
+
+namespace armnn
+{
+
+namespace profiling
+{
+
+class LabelsAndEventClasses
+{
+public:
+ // Labels (string value + GUID)
+ static std::string NAME_LABEL;
+ static std::string TYPE_LABEL;
+ static std::string INDEX_LABEL;
+ static ProfilingStaticGuid NAME_GUID;
+ static ProfilingStaticGuid TYPE_GUID;
+ static ProfilingStaticGuid INDEX_GUID;
+
+ // Event Class GUIDs
+ static ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS;
+ static ProfilingStaticGuid ARMNN_PROFILING_EOL_EVENT_CLASS;
+
+private:
+ static ProfilingGuidGenerator m_GuidGenerator;
+};
+
+} // namespace profiling
+
+} // namespace armnn