diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-09 16:47:04 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-09 17:44:11 +0100 |
commit | d0613b56cea7eba0604e0548bddffd773a4eb554 (patch) | |
tree | 18e5a28c346018340910c456eedd56717ab01c9c /src/profiling/Packet.cpp | |
parent | 09ca49cdcfbe377da979a19df9bcdb7cbffc7b50 (diff) | |
download | armnn-d0613b56cea7eba0604e0548bddffd773a4eb554.tar.gz |
IVGCVSW-3937 Improve the Connection Acknowledged Handler
* The Connection Acknowledged Handler should report an error
is it's called while in a wrong state
* Stopping the threads in the ProfilingService before having
to start them again
* Updated the unit tests to check the changes
* Removed unnecessary Packet.cpp file
* Fixed memory leak
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: I8c4d33b4d97994df86fe6c9f8c659f880ec64c16
Diffstat (limited to 'src/profiling/Packet.cpp')
-rw-r--r-- | src/profiling/Packet.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/profiling/Packet.cpp b/src/profiling/Packet.cpp deleted file mode 100644 index 4cfa42bbc9..0000000000 --- a/src/profiling/Packet.cpp +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#include "Packet.hpp" - -namespace armnn -{ - -namespace profiling -{ - -std::uint32_t Packet::GetHeader() const -{ - return m_Header; -} - -std::uint32_t Packet::GetPacketFamily() const -{ - return m_PacketFamily; -} - -std::uint32_t Packet::GetPacketId() const -{ - return m_PacketId; -} - -std::uint32_t Packet::GetLength() const -{ - return m_Length; -} - -const char* const Packet::GetData() const -{ - return m_Data.get(); -} - -std::uint32_t Packet::GetPacketClass() const -{ - return (m_PacketId >> 3); -} - -std::uint32_t Packet::GetPacketType() const -{ - return (m_PacketId & 7); -} - -} // namespace profiling - -} // namespace armnn |