Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 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: RequestCounterDirectoryCommandHandler 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 |  <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_request_counter_directory_command_handler.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> | |
| 85 | <a href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler-members.html">List of all members</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">RequestCounterDirectoryCommandHandler Class Reference</div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | |
| 91 | <p><code>#include <<a class="el" href="_request_counter_directory_command_handler_8hpp_source.html">RequestCounterDirectoryCommandHandler.hpp</a>></code></p> |
| 92 | <div class="dynheader"> |
| 93 | Inheritance diagram for RequestCounterDirectoryCommandHandler:</div> |
| 94 | <div class="dyncontent"> |
| 95 | <div class="center"> |
| 96 | <img src="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.png" usemap="#RequestCounterDirectoryCommandHandler_map" alt=""/> |
| 97 | <map id="RequestCounterDirectoryCommandHandler_map" name="RequestCounterDirectoryCommandHandler_map"> |
| 98 | <area href="classarmnn_1_1profiling_1_1_command_handler_functor.html" alt="CommandHandlerFunctor" shape="rect" coords="0,0,254,24"/> |
| 99 | </map> |
| 100 | </div></div> |
| 101 | <table class="memberdecls"> |
| 102 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 103 | Public Member Functions</h2></td></tr> |
| 104 | <tr class="memitem:a3fa2552140e3d08173b137178b53a13a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.html#a3fa2552140e3d08173b137178b53a13a">RequestCounterDirectoryCommandHandler</a> (uint32_t familyId, uint32_t packetId, uint32_t version, <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.html">ICounterDirectory</a> &counterDirectory, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html">ISendCounterPacket</a> &sendCounterPacket, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html">ISendTimelinePacket</a> &sendTimelinePacket, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html">ProfilingStateMachine</a> &profilingStateMachine)</td></tr> |
| 105 | <tr class="separator:a3fa2552140e3d08173b137178b53a13a"><td class="memSeparator" colspan="2"> </td></tr> |
| 106 | <tr class="memitem:a0a4b0531c573c4474c241b778c5f5897"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.html#a0a4b0531c573c4474c241b778c5f5897">operator()</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> &packet) override</td></tr> |
| 107 | <tr class="separator:a0a4b0531c573c4474c241b778c5f5897"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.html">CommandHandlerFunctor</a></td></tr> |
| 109 | <tr class="memitem:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.html#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a> (uint32_t familyId, uint32_t packetId, uint32_t version)</td></tr> |
| 110 | <tr class="separator:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.html#a52df705001d502e24a079bd8e0c1e956">GetFamilyId</a> () const</td></tr> |
| 112 | <tr class="separator:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.html#a17b980d48f35a31c27a227e8ceae5402">GetPacketId</a> () const</td></tr> |
| 114 | <tr class="separator:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.html#a7a9568e40773e80ab38c1a7dac4e7089">GetVersion</a> () const</td></tr> |
| 116 | <tr class="separator:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.html#a05aaf089b3b02e13bc728e2c8c94cb4e">~CommandHandlerFunctor</a> ()</td></tr> |
| 118 | <tr class="separator:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | </table> |
| 120 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 121 | <div class="textblock"> |
| 122 | <p class="definition">Definition at line <a class="el" href="_request_counter_directory_command_handler_8hpp_source.html#l00020">20</a> of file <a class="el" href="_request_counter_directory_command_handler_8hpp_source.html">RequestCounterDirectoryCommandHandler.hpp</a>.</p> |
| 123 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 124 | <a id="a3fa2552140e3d08173b137178b53a13a"></a> |
| 125 | <h2 class="memtitle"><span class="permalink"><a href="#a3fa2552140e3d08173b137178b53a13a">◆ </a></span>RequestCounterDirectoryCommandHandler()</h2> |
| 126 | |
| 127 | <div class="memitem"> |
| 128 | <div class="memproto"> |
| 129 | <table class="mlabels"> |
| 130 | <tr> |
| 131 | <td class="mlabels-left"> |
| 132 | <table class="memname"> |
| 133 | <tr> |
| 134 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.html">RequestCounterDirectoryCommandHandler</a> </td> |
| 135 | <td>(</td> |
| 136 | <td class="paramtype">uint32_t </td> |
| 137 | <td class="paramname"><em>familyId</em>, </td> |
| 138 | </tr> |
| 139 | <tr> |
| 140 | <td class="paramkey"></td> |
| 141 | <td></td> |
| 142 | <td class="paramtype">uint32_t </td> |
| 143 | <td class="paramname"><em>packetId</em>, </td> |
| 144 | </tr> |
| 145 | <tr> |
| 146 | <td class="paramkey"></td> |
| 147 | <td></td> |
| 148 | <td class="paramtype">uint32_t </td> |
| 149 | <td class="paramname"><em>version</em>, </td> |
| 150 | </tr> |
| 151 | <tr> |
| 152 | <td class="paramkey"></td> |
| 153 | <td></td> |
| 154 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.html">ICounterDirectory</a> & </td> |
| 155 | <td class="paramname"><em>counterDirectory</em>, </td> |
| 156 | </tr> |
| 157 | <tr> |
| 158 | <td class="paramkey"></td> |
| 159 | <td></td> |
| 160 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html">ISendCounterPacket</a> & </td> |
| 161 | <td class="paramname"><em>sendCounterPacket</em>, </td> |
| 162 | </tr> |
| 163 | <tr> |
| 164 | <td class="paramkey"></td> |
| 165 | <td></td> |
| 166 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html">ISendTimelinePacket</a> & </td> |
| 167 | <td class="paramname"><em>sendTimelinePacket</em>, </td> |
| 168 | </tr> |
| 169 | <tr> |
| 170 | <td class="paramkey"></td> |
| 171 | <td></td> |
| 172 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html">ProfilingStateMachine</a> & </td> |
| 173 | <td class="paramname"><em>profilingStateMachine</em> </td> |
| 174 | </tr> |
| 175 | <tr> |
| 176 | <td></td> |
| 177 | <td>)</td> |
| 178 | <td></td><td></td> |
| 179 | </tr> |
| 180 | </table> |
| 181 | </td> |
| 182 | <td class="mlabels-right"> |
| 183 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 184 | </tr> |
| 185 | </table> |
| 186 | </div><div class="memdoc"> |
| 187 | |
| 188 | <p class="definition">Definition at line <a class="el" href="_request_counter_directory_command_handler_8hpp_source.html#l00024">24</a> of file <a class="el" href="_request_counter_directory_command_handler_8hpp_source.html">RequestCounterDirectoryCommandHandler.hpp</a>.</p> |
| 189 | |
| 190 | <p class="reference">References <a class="el" href="_request_counter_directory_command_handler_8cpp_source.html#l00016">RequestCounterDirectoryCommandHandler::operator()()</a>.</p> |
| 191 | <div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  : <a class="code" href="classarmnn_1_1profiling_1_1_command_handler_functor.html#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a>(familyId, packetId, version)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  , m_CounterDirectory(counterDirectory)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  , m_SendCounterPacket(sendCounterPacket)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  , m_SendTimelinePacket(sendTimelinePacket)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  , m_StateMachine(profilingStateMachine)</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  {}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_functor_html_ad88cf21899e5a0ee2d803eabf3f5dd04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_functor.html#ad88cf21899e5a0ee2d803eabf3f5dd04">armnn::profiling::CommandHandlerFunctor::CommandHandlerFunctor</a></div><div class="ttdeci">CommandHandlerFunctor(uint32_t familyId, uint32_t packetId, uint32_t version)</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_functor_8hpp_source.html#l00023">CommandHandlerFunctor.hpp:23</a></div></div> |
| 192 | </div><!-- fragment --> |
| 193 | </div> |
| 194 | </div> |
| 195 | <h2 class="groupheader">Member Function Documentation</h2> |
| 196 | <a id="a0a4b0531c573c4474c241b778c5f5897"></a> |
| 197 | <h2 class="memtitle"><span class="permalink"><a href="#a0a4b0531c573c4474c241b778c5f5897">◆ </a></span>operator()()</h2> |
| 198 | |
| 199 | <div class="memitem"> |
| 200 | <div class="memproto"> |
| 201 | <table class="mlabels"> |
| 202 | <tr> |
| 203 | <td class="mlabels-left"> |
| 204 | <table class="memname"> |
| 205 | <tr> |
| 206 | <td class="memname">void operator() </td> |
| 207 | <td>(</td> |
| 208 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> & </td> |
| 209 | <td class="paramname"><em>packet</em></td><td>)</td> |
| 210 | <td></td> |
| 211 | </tr> |
| 212 | </table> |
| 213 | </td> |
| 214 | <td class="mlabels-right"> |
| 215 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 216 | </tr> |
| 217 | </table> |
| 218 | </div><div class="memdoc"> |
| 219 | |
| 220 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.html#aee5d34e255ea616c6b4d6877eb3c9fad">CommandHandlerFunctor</a>.</p> |
| 221 | |
| 222 | <p class="definition">Definition at line <a class="el" href="_request_counter_directory_command_handler_8cpp_source.html#l00016">16</a> of file <a class="el" href="_request_counter_directory_command_handler_8cpp_source.html">RequestCounterDirectoryCommandHandler.cpp</a>.</p> |
| 223 | |
| 224 | <p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::Active</a>, <a class="el" href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="_packet_8hpp_source.html#l00070">Packet::GetPacketFamily()</a>, <a class="el" href="_packet_8hpp_source.html#l00071">Packet::GetPacketId()</a>, <a class="el" href="_profiling_state_machine_8hpp_source.html#l00059">armnn::profiling::GetProfilingStateName()</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html#ae3331355e62b6008340c27e82be9a851">ISendCounterPacket::SendCounterDirectoryPacket()</a>, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html#a4025973da19ce55930abfd8b6df4edbe">ISendTimelinePacket::SendTimelineMessageDirectoryPackage()</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, and <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>.</p> |
| 225 | |
| 226 | <p class="reference">Referenced by <a class="el" href="_request_counter_directory_command_handler_8hpp_source.html#l00024">RequestCounterDirectoryCommandHandler::RequestCounterDirectoryCommandHandler()</a>.</p> |
| 227 | <div class="fragment"><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">"Request Counter Directory Comand Handler invoked while in an "</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="stringliteral">"wrong state: %1%"</span>)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  % <a class="code" href="namespacearmnn_1_1profiling.html#aa6851e58c103f77fcf83b722b4b81e9d">GetProfilingStateName</a>(currentState)));</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">ProfilingState::Active</a>:</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// Process the packet</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">if</span> (!(packet.GetPacketFamily() == 0u && packet.GetPacketId() == 3u))</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a>(boost::str(boost::format(<span class="stringliteral">"Expected Packet family = 0, id = 3 but "</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="stringliteral">"received family = %1%, id = %2%"</span>)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  % packet.GetPacketFamily()</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  % packet.GetPacketId()));</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// Send all the packet required for the handshake with the external profiling service</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  m_SendCounterPacket.<a class="code" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html#ae3331355e62b6008340c27e82be9a851">SendCounterDirectoryPacket</a>(m_CounterDirectory);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  m_SendTimelinePacket.<a class="code" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html#a4025973da19ce55930abfd8b6df4edbe">SendTimelineMessageDirectoryPackage</a>();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">"Unknown profiling service state: %1%"</span>)</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  % static_cast<int>(currentState)));</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_i_send_counter_packet_html_ae3331355e62b6008340c27e82be9a851"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html#ae3331355e62b6008340c27e82be9a851">armnn::profiling::ISendCounterPacket::SendCounterDirectoryPacket</a></div><div class="ttdeci">virtual void SendCounterDirectoryPacket(const ICounterDirectory &counterDirectory)=0</div><div class="ttdoc">Create and write a CounterDirectoryPacket from the parameters to the buffer. </div></div> |
| 228 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div> |
| 229 | <div class="ttc" id="classarmnn_1_1profiling_1_1_i_send_timeline_packet_html_a4025973da19ce55930abfd8b6df4edbe"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html#a4025973da19ce55930abfd8b6df4edbe">armnn::profiling::ISendTimelinePacket::SendTimelineMessageDirectoryPackage</a></div><div class="ttdeci">virtual void SendTimelineMessageDirectoryPackage()=0</div><div class="ttdoc">Create and write a TimelineMessageDirectoryPackage in the buffer. </div></div> |
| 230 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">armnn::profiling::ProfilingState</a></div><div class="ttdeci">ProfilingState</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.html#l00018">ProfilingStateMachine.hpp:18</a></div></div> |
| 231 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</a></div></div> |
| 232 | <div class="ttc" id="classarmnn_1_1_invalid_argument_exception_html"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00080">Exceptions.hpp:80</a></div></div> |
| 233 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_html_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine.cpp:31</a></div></div> |
| 234 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div> |
| 235 | <div class="ttc" id="namespacearmnn_1_1profiling_html_aa6851e58c103f77fcf83b722b4b81e9d"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#aa6851e58c103f77fcf83b722b4b81e9d">armnn::profiling::GetProfilingStateName</a></div><div class="ttdeci">constexpr char const * GetProfilingStateName(ProfilingState state)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.html#l00059">ProfilingStateMachine.hpp:59</a></div></div> |
| 236 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::ProfilingState::Active</a></div></div> |
| 237 | </div><!-- fragment --> |
| 238 | </div> |
| 239 | </div> |
| 240 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 241 | <li>src/profiling/<a class="el" href="_request_counter_directory_command_handler_8hpp_source.html">RequestCounterDirectoryCommandHandler.hpp</a></li> |
| 242 | <li>src/profiling/<a class="el" href="_request_counter_directory_command_handler_8cpp_source.html">RequestCounterDirectoryCommandHandler.cpp</a></li> |
| 243 | </ul> |
| 244 | </div><!-- contents --> |
| 245 | </div><!-- doc-content --> |
| 246 | <!-- start footer part --> |
| 247 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 248 | <ul> |
| 249 | <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_request_counter_directory_command_handler.html">RequestCounterDirectoryCommandHandler</a></li> |
| 250 | <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by |
| 251 | <a href="http://www.doxygen.org/index.html"> |
| 252 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 253 | </ul> |
| 254 | </div> |
| 255 | </body> |
| 256 | </html> |