ArmNN
NotReleased
IProfilingConnection.hpp
Go to the documentation of this file.
1
//
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
12
namespace
armnn
13
{
14
15
namespace
profiling
16
{
17
18
class
IProfilingConnection
19
{
20
public
:
21
virtual
~IProfilingConnection
() {}
22
23
virtual
bool
IsOpen
()
const
= 0;
24
25
virtual
void
Close
() = 0;
26
27
virtual
bool
WritePacket
(
const
unsigned
char
* buffer, uint32_t length) = 0;
28
29
virtual
Packet
ReadPacket
(uint32_t timeout) = 0;
30
};
31
32
}
// namespace profiling
33
34
}
// namespace armnn
armnn::profiling::IProfilingConnection::ReadPacket
virtual Packet ReadPacket(uint32_t timeout)=0
armnn::profiling::IProfilingConnection::Close
virtual void Close()=0
armnn::profiling::IProfilingConnection
Definition:
IProfilingConnection.hpp:18
Packet.hpp
armnn::profiling::IProfilingConnection::WritePacket
virtual bool WritePacket(const unsigned char *buffer, uint32_t length)=0
armnn
Definition:
BackendHelper.hpp:11
armnn::profiling::IProfilingConnection::~IProfilingConnection
virtual ~IProfilingConnection()
Definition:
IProfilingConnection.hpp:21
armnn::profiling::Packet
Definition:
Packet.hpp:18
armnn::profiling::IProfilingConnection::IsOpen
virtual bool IsOpen() const =0
src
profiling
IProfilingConnection.hpp
Generated on Fri Mar 13 2020 16:06:58 for ArmNN by
1.8.13