aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingUtils.hpp
diff options
context:
space:
mode:
authorColm Donelan <Colm.Donelan@arm.com>2020-01-24 16:27:02 +0000
committerColm Donelan <Colm.Donelan@arm.com>2020-01-28 12:01:42 +0000
commit5ccb33da0565e0bf2279318f1e7ad597afcc0367 (patch)
tree0266241d45ea8d0b0055c78ee0f28ee8cbc3a462 /src/profiling/ProfilingUtils.hpp
parent03b6b410321923bac7ed2eb1507f524953c9a464 (diff)
downloadarmnn-5ccb33da0565e0bf2279318f1e7ad597afcc0367.tar.gz
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
Diffstat (limited to 'src/profiling/ProfilingUtils.hpp')
-rw-r--r--src/profiling/ProfilingUtils.hpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/profiling/ProfilingUtils.hpp b/src/profiling/ProfilingUtils.hpp
index 9bbe421817..a63f255aea 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 @@ enum class TimelinePacketStatus
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);