blob: c8387f2a83643d9cfb9532edb2065ca9a9a8cec1 [file] [log] [blame]
Aron Virginas-Tar1a0f6912019-08-23 15:18:44 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "Packet.hpp"
9
10#include <cstdint>
11
12namespace armnn
13{
14
15namespace profiling
16{
17
18class IProfilingConnection
19{
20public:
21 virtual bool IsOpen() = 0;
22
23 virtual void Close() = 0;
24
25 virtual bool WritePacket(const char* buffer, uint32_t length) = 0;
26
27 virtual Packet ReadPacket(uint32_t timeout) = 0;
28};
29
30} // namespace profiling
31
32} // namespace armnn