aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-11-06 15:30:54 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-11-15 15:12:45 +0000
commit34a407d4a95830ff9fad05e2bff34dcfc631c931 (patch)
treeff8673a7ea0ffa493885017400a3ea543fce96f9 /tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp
parent30db8ad8b15e5d0e94ae2ff64c246350885c4b6b (diff)
downloadarmnn-34a407d4a95830ff9fad05e2bff34dcfc631c931.tar.gz
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 <matteo.martincigh@arm.com> Change-Id: I58f15fde54adc6414ca9fd5fb8d6157cad867339
Diffstat (limited to 'tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp')
-rw-r--r--tests/profiling/timelineDecoder/TimelineDirectoryCaptureCommandHandler.hpp8
1 files changed, 5 insertions, 3 deletions
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<profiling::SwTraceMessage> m_SwTraceMessages;
private:
@@ -44,4 +46,4 @@ private:
} //namespace gatordmock
-} //namespace armnn \ No newline at end of file
+} //namespace armnn