diff options
Diffstat (limited to 'include/armnn/profiling/ITimelineDecoder.hpp')
-rw-r--r-- | include/armnn/profiling/ITimelineDecoder.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/armnn/profiling/ITimelineDecoder.hpp b/include/armnn/profiling/ITimelineDecoder.hpp index 3a02bb5599..5d22ad8e3d 100644 --- a/include/armnn/profiling/ITimelineDecoder.hpp +++ b/include/armnn/profiling/ITimelineDecoder.hpp @@ -27,6 +27,18 @@ public: LabelLink /// Head uses label Tail (Tail MUST be a guid of a label). }; + static char const* GetRelationshipAsCString(RelationshipType rType) + { + switch (rType) + { + case RelationshipType::RetentionLink: return "RetentionLink"; + case RelationshipType::ExecutionLink: return "ExecutionLink"; + case RelationshipType::DataLink: return "DataLink"; + case RelationshipType::LabelLink: return "LabelLink"; + default: return "Unknown"; + } + } + struct Entity { uint64_t m_Guid; |