Few minor updates to BuildGuideAndroidNDK.md file
[platform/upstream/armnn.git] / Documentation / classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.13"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>ArmNN: TestProfilingConnectionArmnnError Class Reference</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="navtree.css" rel="stylesheet" type="text/css"/>
13 <script type="text/javascript" src="resize.js"></script>
14 <script type="text/javascript" src="navtreedata.js"></script>
15 <script type="text/javascript" src="navtree.js"></script>
16 <script type="text/javascript">
17   $(document).ready(initResizable);
18 </script>
19 <link href="search/search.css" rel="stylesheet" type="text/css"/>
20 <script type="text/javascript" src="search/searchdata.js"></script>
21 <script type="text/javascript" src="search/search.js"></script>
22 <link href="doxygen.css" rel="stylesheet" type="text/css" />
23 </head>
24 <body>
25 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26 <div id="titlearea">
27 <table cellspacing="0" cellpadding="0">
28  <tbody>
29  <tr style="height: 56px;">
30   <td id="projectalign" style="padding-left: 0.5em;">
31    <div id="projectname">ArmNN
32    &#160;<span id="projectnumber">NotReleased</span>
33    </div>
34   </td>
35  </tr>
36  </tbody>
37 </table>
38 </div>
39 <!-- end header part -->
40 <!-- Generated by Doxygen 1.8.13 -->
41 <script type="text/javascript">
42 var searchBox = new SearchBox("searchBox", "search",false,'Search');
43 </script>
44 <script type="text/javascript" src="menudata.js"></script>
45 <script type="text/javascript" src="menu.js"></script>
46 <script type="text/javascript">
47 $(function() {
48   initMenu('',true,false,'search.php','Search');
49   $(document).ready(function() { init_search(); });
50 });
51 </script>
52 <div id="main-nav"></div>
53 </div><!-- top -->
54 <div id="side-nav" class="ui-resizable side-nav-resizable">
55   <div id="nav-tree">
56     <div id="nav-tree-contents">
57       <div id="nav-sync" class="sync"></div>
58     </div>
59   </div>
60   <div id="splitbar" style="-moz-user-select:none;" 
61        class="ui-resizable-handle">
62   </div>
63 </div>
64 <script type="text/javascript">
65 $(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html','');});
66 </script>
67 <div id="doc-content">
68 <!-- window showing the filter options -->
69 <div id="MSearchSelectWindow"
70      onmouseover="return searchBox.OnSearchSelectShow()"
71      onmouseout="return searchBox.OnSearchSelectHide()"
72      onkeydown="return searchBox.OnSearchSelectKey(event)">
73 </div>
74
75 <!-- iframe showing the search results (closed by default) -->
76 <div id="MSearchResultsWindow">
77 <iframe src="javascript:void(0)" frameborder="0" 
78         name="MSearchResults" id="MSearchResults">
79 </iframe>
80 </div>
81
82 <div class="header">
83   <div class="summary">
84 <a href="#pub-methods">Public Member Functions</a> &#124;
85 <a href="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error-members.html">List of all members</a>  </div>
86   <div class="headertitle">
87 <div class="title">TestProfilingConnectionArmnnError Class Reference</div>  </div>
88 </div><!--header-->
89 <div class="contents">
90
91 <p><code>#include &lt;<a class="el" href="_profiling_tests_8hpp_source.html">ProfilingTests.hpp</a>&gt;</code></p>
92 <div class="dynheader">
93 Inheritance diagram for TestProfilingConnectionArmnnError:</div>
94 <div class="dyncontent">
95  <div class="center">
96   <img src="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.png" usemap="#TestProfilingConnectionArmnnError_map" alt=""/>
97   <map id="TestProfilingConnectionArmnnError_map" name="TestProfilingConnectionArmnnError_map">
98 <area href="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html" alt="TestProfilingConnectionBase" shape="rect" coords="0,56,213,80"/>
99 <area href="classarmnn_1_1profiling_1_1_i_profiling_connection.html" alt="IProfilingConnection" shape="rect" coords="0,0,213,24"/>
100 </map>
101  </div></div>
102 <table class="memberdecls">
103 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
104 Public Member Functions</h2></td></tr>
105 <tr class="memitem:ac78cdd7a5d1ea251e57140b6935aec01"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html#ac78cdd7a5d1ea251e57140b6935aec01">TestProfilingConnectionArmnnError</a> ()</td></tr>
106 <tr class="separator:ac78cdd7a5d1ea251e57140b6935aec01"><td class="memSeparator" colspan="2">&#160;</td></tr>
107 <tr class="memitem:a1adbda8257d3a74a0566e0d8407ff458"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html#a1adbda8257d3a74a0566e0d8407ff458">ReadPacket</a> (uint32_t timeout) override</td></tr>
108 <tr class="separator:a1adbda8257d3a74a0566e0d8407ff458"><td class="memSeparator" colspan="2">&#160;</td></tr>
109 <tr class="memitem:afb1d388dbb6bed7623ef1d3fb52fb52b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html#afb1d388dbb6bed7623ef1d3fb52fb52b">ReadCalledCount</a> ()</td></tr>
110 <tr class="separator:afb1d388dbb6bed7623ef1d3fb52fb52b"><td class="memSeparator" colspan="2">&#160;</td></tr>
111 <tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html">TestProfilingConnectionBase</a></td></tr>
112 <tr class="memitem:abfb705bcb10894813d612267dcb1be70 inherit pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#abfb705bcb10894813d612267dcb1be70">TestProfilingConnectionBase</a> ()=default</td></tr>
113 <tr class="separator:abfb705bcb10894813d612267dcb1be70 inherit pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
114 <tr class="memitem:aab93b740524e1d31882e71eab460cbc2 inherit pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#aab93b740524e1d31882e71eab460cbc2">~TestProfilingConnectionBase</a> ()=default</td></tr>
115 <tr class="separator:aab93b740524e1d31882e71eab460cbc2 inherit pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
116 <tr class="memitem:a91bdc9d5497d47f5d707418beb83b140 inherit pub_methods_classarmnn_1_1profiling_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="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#a91bdc9d5497d47f5d707418beb83b140">IsOpen</a> () const override</td></tr>
117 <tr class="separator:a91bdc9d5497d47f5d707418beb83b140 inherit pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
118 <tr class="memitem:a0f9aecd570c4e5e6d41337f0e2f1adf5 inherit pub_methods_classarmnn_1_1profiling_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="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#a0f9aecd570c4e5e6d41337f0e2f1adf5">Close</a> () override</td></tr>
119 <tr class="separator:a0f9aecd570c4e5e6d41337f0e2f1adf5 inherit pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
120 <tr class="memitem:a42eb542b5a1d73d00c4ce474140bb78c inherit pub_methods_classarmnn_1_1profiling_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="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#a42eb542b5a1d73d00c4ce474140bb78c">WritePacket</a> (const unsigned char *buffer, uint32_t length) override</td></tr>
121 <tr class="separator:a42eb542b5a1d73d00c4ce474140bb78c inherit pub_methods_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
122 <tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.html">IProfilingConnection</a></td></tr>
123 <tr class="memitem:a8c5a75b8ee005a7aa9391f3991480d74 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.html#a8c5a75b8ee005a7aa9391f3991480d74">~IProfilingConnection</a> ()</td></tr>
124 <tr class="separator:a8c5a75b8ee005a7aa9391f3991480d74 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
125 </table><table class="memberdecls">
126 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
127 Additional Inherited Members</h2></td></tr>
128 <tr class="inherit_header pub_attribs_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classarmnn_1_1profiling_1_1_test_profiling_connection_base')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html">TestProfilingConnectionBase</a></td></tr>
129 <tr class="memitem:a4d3bb34842f24c4f16e09dad7fee71e8 inherit pub_attribs_classarmnn_1_1profiling_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="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#a4d3bb34842f24c4f16e09dad7fee71e8">m_FirstCall</a> = <a class="el" href="_ref_layer_tests_8cpp.html#a37f1c3ccc9fc906be85185350dd83d48">true</a></td></tr>
130 <tr class="separator:a4d3bb34842f24c4f16e09dad7fee71e8 inherit pub_attribs_classarmnn_1_1profiling_1_1_test_profiling_connection_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
131 </table>
132 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
133 <div class="textblock">
134 <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.html#l00133">133</a> of file <a class="el" href="_profiling_tests_8hpp_source.html">ProfilingTests.hpp</a>.</p>
135 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
136 <a id="ac78cdd7a5d1ea251e57140b6935aec01"></a>
137 <h2 class="memtitle"><span class="permalink"><a href="#ac78cdd7a5d1ea251e57140b6935aec01">&#9670;&nbsp;</a></span>TestProfilingConnectionArmnnError()</h2>
138
139 <div class="memitem">
140 <div class="memproto">
141 <table class="mlabels">
142   <tr>
143   <td class="mlabels-left">
144       <table class="memname">
145         <tr>
146           <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html">TestProfilingConnectionArmnnError</a> </td>
147           <td>(</td>
148           <td class="paramname"></td><td>)</td>
149           <td></td>
150         </tr>
151       </table>
152   </td>
153   <td class="mlabels-right">
154 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
155   </tr>
156 </table>
157 </div><div class="memdoc">
158
159 <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.html#l00136">136</a> of file <a class="el" href="_profiling_tests_8hpp_source.html">ProfilingTests.hpp</a>.</p>
160 <div class="fragment"><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        : m_ReadRequests(0)</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    {}</div></div><!-- fragment -->
161 </div>
162 </div>
163 <h2 class="groupheader">Member Function Documentation</h2>
164 <a id="afb1d388dbb6bed7623ef1d3fb52fb52b"></a>
165 <h2 class="memtitle"><span class="permalink"><a href="#afb1d388dbb6bed7623ef1d3fb52fb52b">&#9670;&nbsp;</a></span>ReadCalledCount()</h2>
166
167 <div class="memitem">
168 <div class="memproto">
169 <table class="mlabels">
170   <tr>
171   <td class="mlabels-left">
172       <table class="memname">
173         <tr>
174           <td class="memname">int ReadCalledCount </td>
175           <td>(</td>
176           <td class="paramname"></td><td>)</td>
177           <td></td>
178         </tr>
179       </table>
180   </td>
181   <td class="mlabels-right">
182 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
183   </tr>
184 </table>
185 </div><div class="memdoc">
186
187 <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.html#l00147">147</a> of file <a class="el" href="_profiling_tests_8hpp_source.html">ProfilingTests.hpp</a>.</p>
188 <div class="fragment"><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    {</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <span class="keywordflow">return</span> m_ReadRequests.load();</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    }</div></div><!-- fragment -->
189 </div>
190 </div>
191 <a id="a1adbda8257d3a74a0566e0d8407ff458"></a>
192 <h2 class="memtitle"><span class="permalink"><a href="#a1adbda8257d3a74a0566e0d8407ff458">&#9670;&nbsp;</a></span>ReadPacket()</h2>
193
194 <div class="memitem">
195 <div class="memproto">
196 <table class="mlabels">
197   <tr>
198   <td class="mlabels-left">
199       <table class="memname">
200         <tr>
201           <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> ReadPacket </td>
202           <td>(</td>
203           <td class="paramtype">uint32_t&#160;</td>
204           <td class="paramname"><em>timeout</em></td><td>)</td>
205           <td></td>
206         </tr>
207       </table>
208   </td>
209   <td class="mlabels-right">
210 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
211   </tr>
212 </table>
213 </div><div class="memdoc">
214
215 <p>Reimplemented from <a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#a1adbda8257d3a74a0566e0d8407ff458">TestProfilingConnectionBase</a>.</p>
216
217 <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.html#l00140">140</a> of file <a class="el" href="_profiling_tests_8hpp_source.html">ProfilingTests.hpp</a>.</p>
218 <div class="fragment"><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    {</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        boost::ignore_unused(timeout);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        ++m_ReadRequests;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.html">armnn::Exception</a>(<span class="stringliteral">&quot;Simulate a non-timeout error&quot;</span>);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    }</div><div class="ttc" id="classarmnn_1_1_exception_html"><div class="ttname"><a href="classarmnn_1_1_exception.html">armnn::Exception</a></div><div class="ttdoc">Base class for all ArmNN exceptions so that users can filter to just those. </div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00046">Exceptions.hpp:46</a></div></div>
219 </div><!-- fragment -->
220 </div>
221 </div>
222 <hr/>The documentation for this class was generated from the following file:<ul>
223 <li>src/profiling/test/<a class="el" href="_profiling_tests_8hpp_source.html">ProfilingTests.hpp</a></li>
224 </ul>
225 </div><!-- contents -->
226 </div><!-- doc-content -->
227 <!-- start footer part -->
228 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
229   <ul>
230     <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1profiling.html">profiling</a></li><li class="navelem"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html">TestProfilingConnectionArmnnError</a></li>
231     <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by
232     <a href="http://www.doxygen.org/index.html">
233     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
234   </ul>
235 </div>
236 </body>
237 </html>