From 34a407d4a95830ff9fad05e2bff34dcfc631c931 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Wed, 6 Nov 2019 15:30:54 +0000 Subject: IVGCVSW-4072 Add stream header to Timeline Message Directory packet * Refactored the WriteTimelineMessageDirectoryPacket function * Added the stream header to the packet * Updated decoders/parsers * Updated unit tests accordingly * Minor refactoring Signed-off-by: Matteo Martincigh Change-Id: I58f15fde54adc6414ca9fd5fb8d6157cad867339 --- .../timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp') diff --git a/tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp b/tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp index 3a575d7fef..36a82b5510 100644 --- a/tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp +++ b/tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp @@ -20,6 +20,7 @@ namespace gatordmock class TimelineDirectoryCaptureCommandHandler : public profiling::CommandHandlerFunctor { // Utils + uint32_t uint8_t_size = sizeof(uint8_t); uint32_t uint32_t_size = sizeof(uint32_t); public: @@ -27,12 +28,13 @@ public: uint32_t packetId, uint32_t version, bool quietOperation = false) - : CommandHandlerFunctor(familyId, packetId, version) - , m_QuietOperation(quietOperation) + : CommandHandlerFunctor(familyId, packetId, version) + , m_QuietOperation(quietOperation) {} void operator()(const armnn::profiling::Packet& packet) override; + profiling::SwTraceHeader m_SwTraceHeader; std::vector m_SwTraceMessages; private: @@ -44,4 +46,4 @@ private: } //namespace gatordmock -} //namespace armnn \ No newline at end of file +} //namespace armnn -- cgit v1.2.1