From de36e4a9c299028e792c3a5bd99ad0816d806077 Mon Sep 17 00:00:00 2001 From: Ryan OShea Date: Fri, 13 Mar 2020 16:26:19 +0000 Subject: IVGCVSW-3726 Upload ArmNN Doxygen files * Upload current ArmNN Doxygen files Signed-off-by: Ryan OShea Change-Id: I8989ed16ee40a99a4495b100bd009cf3e24a7285 --- ..._test_profiling_connection_bad_ack_packet.xhtml | 194 +++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 Documentation/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml (limited to 'Documentation/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml') diff --git a/Documentation/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml b/Documentation/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml new file mode 100644 index 0000000000..33b86338b6 --- /dev/null +++ b/Documentation/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + +ArmNN: TestProfilingConnectionBadAckPacket Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TestProfilingConnectionBadAckPacket Class Reference
+
+
+ +

#include <ProfilingTests.hpp>

+
+Inheritance diagram for TestProfilingConnectionBadAckPacket:
+
+
+ + +TestProfilingConnectionBase +IProfilingConnection + +
+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

Packet ReadPacket (uint32_t timeout) override
 
- Public Member Functions inherited from TestProfilingConnectionBase
 TestProfilingConnectionBase ()=default
 
 ~TestProfilingConnectionBase ()=default
 
bool IsOpen () const override
 
void Close () override
 
bool WritePacket (const unsigned char *buffer, uint32_t length) override
 
- Public Member Functions inherited from IProfilingConnection
virtual ~IProfilingConnection ()
 
+ + + + +

+Additional Inherited Members

- Public Attributes inherited from TestProfilingConnectionBase
bool m_FirstCall = true
 
+

Detailed Description

+
+

Definition at line 156 of file ProfilingTests.hpp.

+

Member Function Documentation

+ +

◆ ReadPacket()

+ +
+
+ + + + + +
+ + + + + + + + +
Packet ReadPacket (uint32_t timeout)
+
+inlineoverridevirtual
+
+ +

Reimplemented from TestProfilingConnectionBase.

+ +

Definition at line 159 of file ProfilingTests.hpp.

+ +

References armnn::IgnoreUnused().

+
160  {
161  IgnoreUnused(timeout);
162  // Connection Acknowledged Packet header (word 0, word 1 is always zero):
163  // 26:31 [6] packet_family: Control Packet Family, value 0b000000
164  // 16:25 [10] packet_id: Packet identifier, value 0b0000000001
165  // 8:15 [8] reserved: Reserved, value 0b00000000
166  // 0:7 [8] reserved: Reserved, value 0b00000000
167  uint32_t packetFamily = 0;
168  uint32_t packetId = 37; // Wrong packet id!!!
169  uint32_t header = ((packetFamily & 0x0000003F) << 26) | ((packetId & 0x000003FF) << 16);
170 
171  return Packet(header);
172  }
void IgnoreUnused(Ts &&...)
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1