aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/TimelineUtilityMethods.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/TimelineUtilityMethods.hpp')
-rw-r--r--src/profiling/TimelineUtilityMethods.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/profiling/TimelineUtilityMethods.hpp b/src/profiling/TimelineUtilityMethods.hpp
new file mode 100644
index 0000000000..22727c8b9a
--- /dev/null
+++ b/src/profiling/TimelineUtilityMethods.hpp
@@ -0,0 +1,33 @@
+//
+// Copyright © 2019 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include "ISendTimelinePacket.hpp"
+#include "ProfilingGuid.hpp"
+
+namespace armnn
+{
+
+namespace profiling
+{
+
+class TimelineUtilityMethods
+{
+public:
+ TimelineUtilityMethods(ISendTimelinePacket& sendTimelinePacket)
+ : m_SendTimelinePacket(sendTimelinePacket)
+ {}
+ ~TimelineUtilityMethods() = default;
+
+ ProfilingStaticGuid DeclareLabel(const std::string& labelName);
+
+private:
+ ISendTimelinePacket& m_SendTimelinePacket;
+};
+
+} // namespace profiling
+
+} // namespace armnn