diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-23 23:01:26 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-23 23:43:35 +0000 |
commit | 3e9bc19ad523361e6b18057849e30c0c48183915 (patch) | |
tree | b7b012a9734ce39d054fc5d92302780fd838e5c8 /src/profiling/PacketBuffer.hpp | |
parent | 277618302d0f131eac0b6ac2015dd3eb09aa6ff9 (diff) | |
download | armnn-3e9bc19ad523361e6b18057849e30c0c48183915.tar.gz |
IVGCVSW-6706 Create the libpipeClient library
Change-Id: I2368aade38ad3808fab55d8a86cd659d4e95d91e
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/PacketBuffer.hpp')
-rw-r--r-- | src/profiling/PacketBuffer.hpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/profiling/PacketBuffer.hpp b/src/profiling/PacketBuffer.hpp deleted file mode 100644 index 3fa5c608fe..0000000000 --- a/src/profiling/PacketBuffer.hpp +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright © 2019 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include "IPacketBuffer.hpp" - -#include <memory> - -namespace arm -{ - -namespace pipe -{ - -class PacketBuffer : public IPacketBuffer -{ -public: - PacketBuffer(unsigned int maxSize); - - ~PacketBuffer() {} - - const unsigned char* GetReadableData() const override; - - unsigned int GetSize() const override; - - void MarkRead() override; - - void Commit(unsigned int size) override; - - void Release() override; - - unsigned char* GetWritableData() override; - - void Destroy() override; - -private: - unsigned int m_MaxSize; - unsigned int m_Size; - std::unique_ptr<unsigned char[]> m_Data; -}; - -} // namespace pipe - -} // namespace arm |