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 /src/timelineDecoder/TimelineDecoder.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 'src/timelineDecoder/TimelineDecoder.hpp')
-rw-r--r-- | src/timelineDecoder/TimelineDecoder.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/timelineDecoder/TimelineDecoder.hpp b/src/timelineDecoder/TimelineDecoder.hpp index fc14603927..405673164b 100644 --- a/src/timelineDecoder/TimelineDecoder.hpp +++ b/src/timelineDecoder/TimelineDecoder.hpp @@ -31,20 +31,20 @@ public: using OnNewLabelCallback = void (*)(Model &, const Label); using OnNewRelationshipCallback = void (*)(Model &, const Relationship); - virtual ErrorCode CreateEntity(const Entity &) override; - virtual ErrorCode CreateEventClass(const EventClass &) override; - virtual ErrorCode CreateEvent(const Event &) override; - virtual ErrorCode CreateLabel(const Label &) override; - virtual ErrorCode CreateRelationship(const Relationship &) override; + virtual TimelineStatus CreateEntity(const Entity &) override; + virtual TimelineStatus CreateEventClass(const EventClass &) override; + virtual TimelineStatus CreateEvent(const Event &) override; + virtual TimelineStatus CreateLabel(const Label &) override; + virtual TimelineStatus CreateRelationship(const Relationship &) override; const Model& GetModel(); - ErrorCode SetEntityCallback(const OnNewEntityCallback); - ErrorCode SetEventClassCallback(const OnNewEventClassCallback); - ErrorCode SetEventCallback(const OnNewEventCallback); - ErrorCode SetLabelCallback(const OnNewLabelCallback); - ErrorCode SetRelationshipCallback(const OnNewRelationshipCallback); + TimelineStatus SetEntityCallback(const OnNewEntityCallback); + TimelineStatus SetEventClassCallback(const OnNewEventClassCallback); + TimelineStatus SetEventCallback(const OnNewEventCallback); + TimelineStatus SetLabelCallback(const OnNewLabelCallback); + TimelineStatus SetRelationshipCallback(const OnNewRelationshipCallback); void print(); |