From add078b7f9a658d52ee6e8fe6771ea0517c07674 Mon Sep 17 00:00:00 2001 From: mathad01 Date: Mon, 10 May 2021 16:51:20 +0100 Subject: IVGCVSW-5908 Update 21.05 Doxygen Documents Signed-off-by: mathad01 Change-Id: I95316d4fc5f9d10185492dc835bb2411c1daea7b --- ..._test_profiling_connection_bad_ack_packet.xhtml | 194 +++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 21.05/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml (limited to '21.05/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml') diff --git a/21.05/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml b/21.05/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml new file mode 100644 index 0000000000..3cf228dcf2 --- /dev/null +++ b/21.05/classarmnn_1_1profiling_1_1_test_profiling_connection_bad_ack_packet.xhtml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + +ArmNN: TestProfilingConnectionBadAckPacket Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TestProfilingConnectionBadAckPacket Class Reference
+
+
+ +

#include <ProfilingTests.hpp>

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

+Public Member Functions

arm::pipe::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 158 of file ProfilingTests.hpp.

+

Member Function Documentation

+ +

◆ ReadPacket()

+ +
+
+ + + + + +
+ + + + + + + + +
arm::pipe::Packet ReadPacket (uint32_t timeout)
+
+inlineoverridevirtual
+
+ +

Reimplemented from TestProfilingConnectionBase.

+ +

Definition at line 161 of file ProfilingTests.hpp.

+ +

References armnn::IgnoreUnused().

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