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/NullProfilingConnection.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/NullProfilingConnection.hpp')
-rw-r--r-- | src/profiling/NullProfilingConnection.hpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/profiling/NullProfilingConnection.hpp b/src/profiling/NullProfilingConnection.hpp deleted file mode 100644 index a5f8dae90d..0000000000 --- a/src/profiling/NullProfilingConnection.hpp +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright © 2020 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include "IProfilingConnection.hpp" - -#include <common/include/IgnoreUnused.hpp> - -namespace arm -{ - -namespace pipe -{ - -class NullProfilingConnection : public IProfilingConnection -{ - virtual bool IsOpen() const override { return true; }; - - virtual void Close() override {}; - - virtual bool WritePacket(const unsigned char* buffer, uint32_t length) override - { - arm::pipe::IgnoreUnused(buffer); - arm::pipe::IgnoreUnused(length); - return true; - }; - - virtual Packet ReadPacket(uint32_t timeout) override - { - arm::pipe::IgnoreUnused(timeout); - return Packet(0); - } - -}; - -} // namespace pipe - -} // namespace arm |