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/_packet_buffer_8hpp_source.xhtml | 125 +++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 20.02/_packet_buffer_8hpp_source.xhtml (limited to '20.02/_packet_buffer_8hpp_source.xhtml') diff --git a/20.02/_packet_buffer_8hpp_source.xhtml b/20.02/_packet_buffer_8hpp_source.xhtml new file mode 100644 index 0000000000..8be44fe020 --- /dev/null +++ b/20.02/_packet_buffer_8hpp_source.xhtml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + +ArmNN: src/profiling/PacketBuffer.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PacketBuffer.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 "IPacketBuffer.hpp"
9 
10 #include <memory>
11 
12 namespace armnn
13 {
14 
15 namespace profiling
16 {
17 
19 {
20 public:
21  PacketBuffer(unsigned int maxSize);
22 
24 
25  const unsigned char* GetReadableData() const override;
26 
27  unsigned int GetSize() const override;
28 
29  void MarkRead() override;
30 
31  void Commit(unsigned int size) override;
32 
33  void Release() override;
34 
35  unsigned char* GetWritableData() override;
36 
37 private:
38  unsigned int m_MaxSize;
39  unsigned int m_Size;
40  std::unique_ptr<unsigned char[]> m_Data;
41 };
42 
43 } // namespace profiling
44 
45 } // namespace armnn
PacketBuffer(unsigned int maxSize)
+ +
unsigned int GetSize() const override
+
Copyright (c) 2020 ARM Limited.
+
const unsigned char * GetReadableData() const override
+ +
void Commit(unsigned int size) override
+ + +
unsigned char * GetWritableData() override
+ + +
+
+ + + + -- cgit v1.2.1