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">
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);
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" />
25 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
27 <table cellspacing="0" cellpadding="0">
29 <tr style="height: 56px;">
30 <td id="projectalign" style="padding-left: 0.5em;">
31 <div id="projectname">ArmNN
32  <span id="projectnumber">NotReleased</span>
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');
44 <script type="text/javascript" src="menudata.js"></script>
45 <script type="text/javascript" src="menu.js"></script>
46 <script type="text/javascript">
48 initMenu('',true,false,'search.php','Search');
49 $(document).ready(function() { init_search(); });
52 <div id="main-nav"></div>
54 <div id="side-nav" class="ui-resizable side-nav-resizable">
56 <div id="nav-tree-contents">
57 <div id="nav-sync" class="sync"></div>
60 <div id="splitbar" style="-moz-user-select:none;"
61 class="ui-resizable-handle">
64 <script type="text/javascript">
65 $(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html','');});
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)">
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">
84 <a href="#pub-methods">Public Member Functions</a> |
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>
89 <div class="contents">
91 <p><code>#include <<a class="el" href="_profiling_tests_8hpp_source.html">ProfilingTests.hpp</a>></code></p>
92 <div class="dynheader">
93 Inheritance diagram for TestProfilingConnectionArmnnError:</div>
94 <div class="dyncontent">
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"/>
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"> </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"> </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> </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"> </td></tr>
109 <tr class="memitem:afb1d388dbb6bed7623ef1d3fb52fb52b"><td class="memItemLeft" align="right" valign="top">int </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"> </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="-"/> 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"> </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"> </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"> </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"> </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 </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"> </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 </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"> </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 </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"> </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="-"/> 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 </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"> </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="-"/> 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 </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"> </td></tr>
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 & Destructor Documentation</h2>
136 <a id="ac78cdd7a5d1ea251e57140b6935aec01"></a>
137 <h2 class="memtitle"><span class="permalink"><a href="#ac78cdd7a5d1ea251e57140b6935aec01">◆ </a></span>TestProfilingConnectionArmnnError()</h2>
139 <div class="memitem">
140 <div class="memproto">
141 <table class="mlabels">
143 <td class="mlabels-left">
144 <table class="memname">
146 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_armnn_error.html">TestProfilingConnectionArmnnError</a> </td>
148 <td class="paramname"></td><td>)</td>
153 <td class="mlabels-right">
154 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
157 </div><div class="memdoc">
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>  : m_ReadRequests(0)</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  {}</div></div><!-- fragment -->
163 <h2 class="groupheader">Member Function Documentation</h2>
164 <a id="afb1d388dbb6bed7623ef1d3fb52fb52b"></a>
165 <h2 class="memtitle"><span class="permalink"><a href="#afb1d388dbb6bed7623ef1d3fb52fb52b">◆ </a></span>ReadCalledCount()</h2>
167 <div class="memitem">
168 <div class="memproto">
169 <table class="mlabels">
171 <td class="mlabels-left">
172 <table class="memname">
174 <td class="memname">int ReadCalledCount </td>
176 <td class="paramname"></td><td>)</td>
181 <td class="mlabels-right">
182 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
185 </div><div class="memdoc">
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>  {</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span> m_ReadRequests.load();</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div></div><!-- fragment -->
191 <a id="a1adbda8257d3a74a0566e0d8407ff458"></a>
192 <h2 class="memtitle"><span class="permalink"><a href="#a1adbda8257d3a74a0566e0d8407ff458">◆ </a></span>ReadPacket()</h2>
194 <div class="memitem">
195 <div class="memproto">
196 <table class="mlabels">
198 <td class="mlabels-left">
199 <table class="memname">
201 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> ReadPacket </td>
203 <td class="paramtype">uint32_t </td>
204 <td class="paramname"><em>timeout</em></td><td>)</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>
213 </div><div class="memdoc">
215 <p>Reimplemented from <a class="el" href="classarmnn_1_1profiling_1_1_test_profiling_connection_base.html#a1adbda8257d3a74a0566e0d8407ff458">TestProfilingConnectionBase</a>.</p>
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>  {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  boost::ignore_unused(timeout);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  ++m_ReadRequests;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.html">armnn::Exception</a>(<span class="stringliteral">"Simulate a non-timeout error"</span>);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</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 -->
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>
225 </div><!-- contents -->
226 </div><!-- doc-content -->
227 <!-- start footer part -->
228 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
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>