aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/timelineDecoder/ITimelineDecoder.hpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-02-26 10:25:26 +0000
committerJim Flynn <jim.flynn@arm.com>2020-03-04 14:24:29 +0000
commit8a2b4685fde869c46ad4ebb19cbfefc4adc2a654 (patch)
tree4f4c87fe502ebbc595ff60ee588183e3b230ad7c /tests/profiling/timelineDecoder/ITimelineDecoder.hpp
parenta97a0be5f16cb876d7226b733ac6aaa3b79dabd3 (diff)
downloadarmnn-8a2b4685fde869c46ad4ebb19cbfefc4adc2a654.tar.gz
IVGCVSW-4160 Make the ARM Developer Studio code a self contained build entity
!armnn:2773 Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I246cf0de04a1d29dd135cb0fc7e55bc5f0d4b854
Diffstat (limited to 'tests/profiling/timelineDecoder/ITimelineDecoder.hpp')
-rw-r--r--tests/profiling/timelineDecoder/ITimelineDecoder.hpp68
1 files changed, 0 insertions, 68 deletions
diff --git a/tests/profiling/timelineDecoder/ITimelineDecoder.hpp b/tests/profiling/timelineDecoder/ITimelineDecoder.hpp
deleted file mode 100644
index 7199b38d24..0000000000
--- a/tests/profiling/timelineDecoder/ITimelineDecoder.hpp
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Copyright © 2020 Arm Ltd. All rights reserved.
-// SPDX-License-Identifier: MIT
-//
-
-#pragma once
-
-#include <cstdint>
-#include <string>
-
-class ITimelineDecoder
-{
-
-public:
-
- enum class ErrorCode
- {
- ErrorCode_Success,
- ErrorCode_Fail
- };
-
- enum class RelationshipType
- {
- 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).
- };
-
- struct Entity
- {
- uint64_t m_Guid;
- };
-
- struct EventClass
- {
- uint64_t m_Guid;
- };
-
- struct Event
- {
- uint64_t m_Guid;
- uint64_t m_TimeStamp;
- uint64_t m_ThreadId;
- };
-
- struct Label
- {
- uint64_t m_Guid;
- std::string m_Name;
- };
-
- struct Relationship
- {
- RelationshipType m_RelationshipType;
- uint64_t m_Guid;
- uint64_t m_HeadGuid;
- uint64_t m_TailGuid;
- };
-
- virtual ~ITimelineDecoder() = default;
-
- virtual ErrorCode CreateEntity(const Entity&) = 0;
- virtual ErrorCode CreateEventClass(const EventClass&) = 0;
- virtual ErrorCode CreateEvent(const Event&) = 0;
- virtual ErrorCode CreateLabel(const Label&) = 0;
- virtual ErrorCode CreateRelationship(const Relationship&) = 0;
-}; \ No newline at end of file