blob: 97f7b55477fbed2b5ffd6775d165731c9ace6662 [file] [log] [blame]
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "Packet.hpp"
#include <cstdint>
namespace armnn
{
namespace profiling
{
class IProfilingConnection
{
public:
virtual ~IProfilingConnection() {}
virtual bool IsOpen() = 0;
virtual void Close() = 0;
virtual bool WritePacket(const unsigned char* buffer, uint32_t length) = 0;
virtual Packet ReadPacket(uint32_t timeout) = 0;
};
} // namespace profiling
} // namespace armnn