From a983e4699082a0b1ef685bab7354f2ad9cd37a44 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 20 May 2020 16:12:19 +0100 Subject: Updating Doxygen documentation for 20.05 release. Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14 Signed-off-by: Colm Donelan --- .../_socket_profiling_connection_8hpp_source.xhtml | 123 +++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 20.05/_socket_profiling_connection_8hpp_source.xhtml (limited to '20.05/_socket_profiling_connection_8hpp_source.xhtml') diff --git a/20.05/_socket_profiling_connection_8hpp_source.xhtml b/20.05/_socket_profiling_connection_8hpp_source.xhtml new file mode 100644 index 0000000000..dd1352bf5d --- /dev/null +++ b/20.05/_socket_profiling_connection_8hpp_source.xhtml @@ -0,0 +1,123 @@ + + + + + + + + + + + + + +ArmNN: src/profiling/SocketProfilingConnection.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SocketProfilingConnection.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. 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  Packet ReadPacket(uint32_t timeout) final;
26 
27 private:
28 
29  // Read a full packet from the socket.
30  Packet ReceivePacket();
31 
32  // To indicate we want to use an abstract UDS ensure the first character of the address is 0.
33  const char* m_GatorNamespace = "\0gatord_namespace";
34  armnnUtils::Sockets::PollFd m_Socket[1]{};
35 };
36 
37 } // namespace profiling
38 } // namespace armnn
+ +
Copyright (c) 2020 ARM Limited.
+ + + + +
bool WritePacket(const unsigned char *buffer, uint32_t length) final
+ + +
+
+ + + + -- cgit v1.2.1