From 3e9bc19ad523361e6b18057849e30c0c48183915 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Wed, 23 Mar 2022 23:01:26 +0000 Subject: IVGCVSW-6706 Create the libpipeClient library Change-Id: I2368aade38ad3808fab55d8a86cd659d4e95d91e Signed-off-by: Jim Flynn --- src/profiling/NullProfilingConnection.hpp | 41 ------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/profiling/NullProfilingConnection.hpp (limited to 'src/profiling/NullProfilingConnection.hpp') 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 - -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 -- cgit v1.2.1