IVGCVSW-4316 Promote ISendTimelinePacket and IProfilingGuidGenerator
As part of IVGCVSW-4316 we need to expose ISendTimelinePacket and
IProfilingGuidGenerator to enable them to be used by backends for
profiling. This also required moving ProfilingRelationshipType from
ProfilingUtils.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I58cc64e32ecfffa5231c9d2028522ed58d0ddf31
diff --git a/src/profiling/ProfilingUtils.hpp b/src/profiling/ProfilingUtils.hpp
index 9bbe421..a63f255 100644
--- a/src/profiling/ProfilingUtils.hpp
+++ b/src/profiling/ProfilingUtils.hpp
@@ -6,6 +6,7 @@
#pragma once
#include <armnn/Exceptions.hpp>
+#include <armnn/profiling/ISendTimelinePacket.hpp>
#include "ICounterDirectory.hpp"
#include "IPacketBuffer.hpp"
@@ -16,8 +17,8 @@
#include <cstring>
#include <memory>
#include <string>
-#include <vector>
#include <thread>
+#include <vector>
namespace armnn
{
@@ -197,14 +198,6 @@
BufferExhaustion
};
-enum class ProfilingRelationshipType
-{
- RetentionLink, /// Head retains(parents) Tail
- ExecutionLink, /// Head execution start depends on Tail execution completion
- DataLink, /// Head uses data of Tail
- LabelLink /// Head uses label Tail (Tail MUST be a guid of a label).
-};
-
uint32_t CalculateSizeOfPaddedSwString(const std::string& str);
SwTraceMessage ReadSwTraceMessage(const unsigned char*, unsigned int& offset);