aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/timelineDecoder/ITimelineDecoder.hpp
diff options
context:
space:
mode:
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