From f86be93b7492b381370cae7bf71eca8572a0cbae Mon Sep 17 00:00:00 2001 From: Matthew Sloyan Date: Tue, 24 Aug 2021 16:27:15 +0100 Subject: IVGCVSW-5924 Update 21.08 Doxygen Documents * Also updated latest symlink. Signed-off-by: Matthew Sloyan Change-Id: If9b4e0e52464abdf797b9eb858ae19bcc64c2aea --- .../_socket_profiling_connection_8hpp_source.xhtml | 123 +++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 21.08/_socket_profiling_connection_8hpp_source.xhtml (limited to '21.08/_socket_profiling_connection_8hpp_source.xhtml') diff --git a/21.08/_socket_profiling_connection_8hpp_source.xhtml b/21.08/_socket_profiling_connection_8hpp_source.xhtml new file mode 100644 index 0000000000..3641aec805 --- /dev/null +++ b/21.08/_socket_profiling_connection_8hpp_source.xhtml @@ -0,0 +1,123 @@ + + + + + + + + + + + + + +ArmNN: src/profiling/SocketProfilingConnection.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SocketProfilingConnection.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 
8 #include <Runtime.hpp>
9 #include <common/include/NetworkSockets.hpp>
10 
11 #pragma once
12 
13 namespace armnn
14 {
15 namespace profiling
16 {
17 
19 {
20 public:
22  bool IsOpen() const final;
23  void Close() final;
24  bool WritePacket(const unsigned char* buffer, uint32_t length) final;
25  arm::pipe::Packet ReadPacket(uint32_t timeout) final;
26 
27 private:
28 
29  // Read a full packet from the socket.
30  arm::pipe::Packet ReceivePacket();
31 
32 #ifndef __APPLE__
33  // To indicate we want to use an abstract UDS ensure the first character of the address is 0.
34  const char* m_GatorNamespace = "\0gatord_namespace";
35 #else
36  // MACOSX does not support abstract UDS
37  const char* m_GatorNamespace = "/tmp/gatord_namespace";
38 #endif
39  arm::pipe::PollFd m_Socket[1]{};
40 };
41 
42 } // namespace profiling
43 } // namespace armnn
+ +
Copyright (c) 2021 ARM Limited and Contributors.
+
arm::pipe::Packet ReadPacket(uint32_t timeout) final
+ + + + +
bool WritePacket(const unsigned char *buffer, uint32_t length) final
+ +
+
+ + + + -- cgit v1.2.1