diff options
author | Keith Davis <keith.davis@arm.com> | 2020-03-05 16:25:28 +0000 |
---|---|---|
committer | Keith Davis Arm <keith.davis@arm.com> | 2020-03-09 16:11:25 +0000 |
commit | 97da5e2e6c8aaaf4249af60e8305431315226f15 (patch) | |
tree | c36f01055cbf0f9577bca95f64ca6de42c923a77 /include/armnn/profiling/ITimelineDecoder.hpp | |
parent | 53d092d34c1e9924151d8d3a228c04620c1baf5c (diff) | |
download | armnn-97da5e2e6c8aaaf4249af60e8305431315226f15.tar.gz |
IVGCVSW-4541 Modify Timeline Packet construction
* Changed TimelinePacket encoding so that there is only one header for
multiple timeline swtrace messages
* Refactored function names to have more suitable description
* Refactored CodeStyle to coincide with ArmNN coding standards
* Refactored profiling test names to be descriptive
* Refactored ErrorCode name to TimelineStatus
* Updated existing unit tests
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I83bd4bb9e7393617bca97eba96a6e1388916e5b0
Diffstat (limited to 'include/armnn/profiling/ITimelineDecoder.hpp')
-rw-r--r-- | include/armnn/profiling/ITimelineDecoder.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/armnn/profiling/ITimelineDecoder.hpp b/include/armnn/profiling/ITimelineDecoder.hpp index 7199b38d24..3a02bb5599 100644 --- a/include/armnn/profiling/ITimelineDecoder.hpp +++ b/include/armnn/profiling/ITimelineDecoder.hpp @@ -13,10 +13,10 @@ class ITimelineDecoder public: - enum class ErrorCode + enum class TimelineStatus { - ErrorCode_Success, - ErrorCode_Fail + TimelineStatus_Success, + TimelineStatus_Fail }; enum class RelationshipType @@ -60,9 +60,9 @@ public: 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; + virtual TimelineStatus CreateEntity(const Entity&) = 0; + virtual TimelineStatus CreateEventClass(const EventClass&) = 0; + virtual TimelineStatus CreateEvent(const Event&) = 0; + virtual TimelineStatus CreateLabel(const Label&) = 0; + virtual TimelineStatus CreateRelationship(const Relationship&) = 0; };
\ No newline at end of file |