From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_i_packet_buffer_8hpp_source.xhtml | 122 +++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 20.02/_i_packet_buffer_8hpp_source.xhtml (limited to '20.02/_i_packet_buffer_8hpp_source.xhtml') diff --git a/20.02/_i_packet_buffer_8hpp_source.xhtml b/20.02/_i_packet_buffer_8hpp_source.xhtml new file mode 100644 index 0000000000..d3a670cde1 --- /dev/null +++ b/20.02/_i_packet_buffer_8hpp_source.xhtml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + +ArmNN: src/profiling/IPacketBuffer.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IPacketBuffer.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <memory>
9 
10 namespace armnn
11 {
12 
13 namespace profiling
14 {
15 
16 class IReadOnlyPacketBuffer // interface used by the read thread
17 {
18 public:
20 
21  virtual const unsigned char* GetReadableData() const = 0;
22 
23  virtual unsigned int GetSize() const = 0;
24 
25  virtual void MarkRead() = 0;
26 };
27 
28 class IPacketBuffer : public IReadOnlyPacketBuffer // interface used by code that writes binary packets
29 {
30 public:
31  virtual ~IPacketBuffer() {}
32 
33  virtual void Commit(unsigned int size) = 0;
34 
35  virtual void Release() = 0;
36 
37  virtual unsigned char* GetWritableData() = 0;
38 };
39 
40 using IPacketBufferPtr = std::unique_ptr<IPacketBuffer>;
41 
42 } // namespace profiling
43 
44 } // namespace armnn
+
virtual unsigned int GetSize() const =0
+
Copyright (c) 2020 ARM Limited.
+
virtual const unsigned char * GetReadableData() const =0
+ + + + +
std::unique_ptr< IPacketBuffer > IPacketBufferPtr
+
+
+ + + + -- cgit v1.2.1