aboutsummaryrefslogtreecommitdiff
path: root/22.05.01/classarm_1_1pipe_1_1_test_profiling_connection_bad_ack_packet.xhtml
blob: 97d9a5ddfb7c24011856f2c8af7a43b11248569e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!-- Copyright (c) 2020 ARM Limited. -->
<!--                                 -->
<!-- SPDX-License-Identifier: MIT    -->
<!--                                 -->
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: TestProfilingConnectionBadAckPacket Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
  <td style="padding-left: 0.5em;">
   <div id="projectname">
   &#160;<span id="projectnumber">22.05.01</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm_1_1pipe_1_1_test_profiling_connection_bad_ack_packet.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classarm_1_1pipe_1_1_test_profiling_connection_bad_ack_packet-members.xhtml">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TestProfilingConnectionBadAckPacket Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TestProfilingConnectionBadAckPacket:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classarm_1_1pipe_1_1_test_profiling_connection_bad_ack_packet.png" usemap="#TestProfilingConnectionBadAckPacket_map" alt=""/>
  <map id="TestProfilingConnectionBadAckPacket_map" name="TestProfilingConnectionBadAckPacket_map">
<area href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml" alt="TestProfilingConnectionBase" shape="rect" coords="0,56,228,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a47c113357d105d4f7a549a058e5661ab"><td class="memItemLeft" align="right" valign="top">arm::pipe::Packet&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_bad_ack_packet.xhtml#a47c113357d105d4f7a549a058e5661ab">ReadPacket</a> (uint32_t timeout) override</td></tr>
<tr class="separator:a47c113357d105d4f7a549a058e5661ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml">TestProfilingConnectionBase</a></td></tr>
<tr class="memitem:abfb705bcb10894813d612267dcb1be70 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml#abfb705bcb10894813d612267dcb1be70">TestProfilingConnectionBase</a> ()=default</td></tr>
<tr class="separator:abfb705bcb10894813d612267dcb1be70 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab93b740524e1d31882e71eab460cbc2 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml#aab93b740524e1d31882e71eab460cbc2">~TestProfilingConnectionBase</a> ()=default</td></tr>
<tr class="separator:aab93b740524e1d31882e71eab460cbc2 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91bdc9d5497d47f5d707418beb83b140 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml#a91bdc9d5497d47f5d707418beb83b140">IsOpen</a> () const override</td></tr>
<tr class="separator:a91bdc9d5497d47f5d707418beb83b140 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f9aecd570c4e5e6d41337f0e2f1adf5 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml#a0f9aecd570c4e5e6d41337f0e2f1adf5">Close</a> () override</td></tr>
<tr class="separator:a0f9aecd570c4e5e6d41337f0e2f1adf5 inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42eb542b5a1d73d00c4ce474140bb78c inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml#a42eb542b5a1d73d00c4ce474140bb78c">WritePacket</a> (const unsigned char *buffer, uint32_t length) override</td></tr>
<tr class="separator:a42eb542b5a1d73d00c4ce474140bb78c inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47c113357d105d4f7a549a058e5661ab inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">arm::pipe::Packet&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml#a47c113357d105d4f7a549a058e5661ab">ReadPacket</a> (uint32_t timeout) override</td></tr>
<tr class="separator:a47c113357d105d4f7a549a058e5661ab inherit pub_methods_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classarm_1_1pipe_1_1_test_profiling_connection_base"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classarm_1_1pipe_1_1_test_profiling_connection_base')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml">TestProfilingConnectionBase</a></td></tr>
<tr class="memitem:a4d3bb34842f24c4f16e09dad7fee71e8 inherit pub_attribs_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_base.xhtml#a4d3bb34842f24c4f16e09dad7fee71e8">m_FirstCall</a> = true</td></tr>
<tr class="separator:a4d3bb34842f24c4f16e09dad7fee71e8 inherit pub_attribs_classarm_1_1pipe_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00119">119</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a47c113357d105d4f7a549a058e5661ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47c113357d105d4f7a549a058e5661ab">&#9670;&nbsp;</a></span>ReadPacket()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">arm::pipe::Packet ReadPacket </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>timeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00122">122</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p>

<p class="reference">References <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</a>.</p>
<div class="fragment"><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    {</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">arm::pipe::IgnoreUnused</a>(timeout);</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="comment">// Connection Acknowledged Packet header (word 0, word 1 is always zero):</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="comment">// 26:31 [6]  packet_family: Control Packet Family, value 0b000000</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        <span class="comment">// 16:25 [10] packet_id: Packet identifier, value 0b0000000001</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        <span class="comment">// 8:15  [8]  reserved: Reserved, value 0b00000000</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="comment">// 0:7   [8]  reserved: Reserved, value 0b00000000</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        uint32_t packetFamily = 0;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        uint32_t packetId     = 37;    <span class="comment">// Wrong packet id!!!</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        uint32_t header       = ((packetFamily &amp; 0x0000003F) &lt;&lt; 26) | ((packetId &amp; 0x000003FF) &lt;&lt; 16);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keywordflow">return</span> arm::pipe::Packet(header);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    }</div><div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &amp;&amp;...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/profiling/test/<a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm.xhtml">arm</a></li><li class="navelem"><a class="el" href="namespacearm_1_1pipe.xhtml">pipe</a></li><li class="navelem"><a class="el" href="classarm_1_1pipe_1_1_test_profiling_connection_bad_ack_packet.xhtml">TestProfilingConnectionBadAckPacket</a></li>
    <li class="footer">Generated on Fri Jun 17 2022 13:20:29 for ArmNN by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>