From 8a2b4685fde869c46ad4ebb19cbfefc4adc2a654 Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Wed, 26 Feb 2020 10:25:26 +0000 Subject: IVGCVSW-4160 Make the ARM Developer Studio code a self contained build entity !armnn:2773 Signed-off-by: Finn Williams Change-Id: I246cf0de04a1d29dd135cb0fc7e55bc5f0d4b854 --- .../TimelineCaptureCommandHandler.hpp | 57 ---------------------- 1 file changed, 57 deletions(-) delete mode 100644 tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.hpp (limited to 'tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.hpp') diff --git a/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.hpp b/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.hpp deleted file mode 100644 index 9cdbbdc32a..0000000000 --- a/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.hpp +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright © 2019 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include "ITimelineDecoder.hpp" - -#include -#include -#include - -namespace armnn -{ - -namespace gatordmock -{ - -class TimelineCaptureCommandHandler : public profiling::CommandHandlerFunctor -{ - // Utils - uint32_t uint32_t_size = sizeof(uint32_t); - uint32_t uint64_t_size = sizeof(uint64_t); - - using ReadFunction = void (TimelineCaptureCommandHandler::*)(const unsigned char*, uint32_t); - -public: - TimelineCaptureCommandHandler(uint32_t familyId, - uint32_t packetId, - uint32_t version, - ITimelineDecoder& timelineDecoder, - uint32_t threadId_size) - : CommandHandlerFunctor(familyId, packetId, version) - , m_TimelineDecoder(timelineDecoder) - , m_ThreadIdSize(threadId_size) - {} - - void operator()(const armnn::profiling::Packet& packet) override; - - void ReadLabel(const unsigned char* data, uint32_t offset); - void ReadEntity(const unsigned char* data, uint32_t offset); - void ReadEventClass(const unsigned char* data, uint32_t offset); - void ReadRelationship(const unsigned char* data, uint32_t offset); - void ReadEvent(const unsigned char* data, uint32_t offset); - -private: - void ParseData(const armnn::profiling::Packet& packet); - - ITimelineDecoder& m_TimelineDecoder; - const uint32_t m_ThreadIdSize; - static const ReadFunction m_ReadFunctions[]; -}; - -} //namespace gatordmock - -} //namespace armnn -- cgit v1.2.1