blob: 4ccde856ef0561a614358864960329ae4a83ce03 [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!-- Copyright (c) 2020 ARM Limited. -->
2<!-- -->
3<!-- SPDX-License-Identifier: MIT -->
4<!-- -->
5<!-- HTML header for doxygen 1.8.13-->
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7<html xmlns="http://www.w3.org/1999/xhtml">
8<head>
9<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
10<meta http-equiv="X-UA-Compatible" content="IE=9"/>
11<meta name="generator" content="Doxygen 1.8.13"/>
12<meta name="robots" content="NOINDEX, NOFOLLOW" />
13<meta name="viewport" content="width=device-width, initial-scale=1"/>
14<title>ArmNN: RequestCounterDirectoryCommandHandler Class Reference</title>
15<link href="tabs.css" rel="stylesheet" type="text/css"/>
16<script type="text/javascript" src="jquery.js"></script>
17<script type="text/javascript" src="dynsections.js"></script>
18<link href="navtree.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="resize.js"></script>
20<script type="text/javascript" src="navtreedata.js"></script>
21<script type="text/javascript" src="navtree.js"></script>
22<script type="text/javascript">
23 $(document).ready(initResizable);
24</script>
25<link href="search/search.css" rel="stylesheet" type="text/css"/>
26<script type="text/javascript" src="search/searchdata.js"></script>
27<script type="text/javascript" src="search/search.js"></script>
28<script type="text/x-mathjax-config">
29 MathJax.Hub.Config({
30 extensions: ["tex2jax.js"],
31 jax: ["input/TeX","output/HTML-CSS"],
32});
33</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
34<link href="doxygen.css" rel="stylesheet" type="text/css" />
35<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
36</head>
37<body>
38<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
39<div id="titlearea">
40<table cellspacing="0" cellpadding="0">
41 <tbody>
42 <tr style="height: 56px;">
43 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
44 <td style="padding-left: 0.5em;">
45 <div id="projectname">
46 &#160;<span id="projectnumber">20.02</span>
47 </div>
48 </td>
49 </tr>
50 </tbody>
51</table>
52</div>
53<!-- end header part -->
54<!-- Generated by Doxygen 1.8.13 -->
55<script type="text/javascript">
56var searchBox = new SearchBox("searchBox", "search",false,'Search');
57</script>
58<script type="text/javascript" src="menudata.js"></script>
59<script type="text/javascript" src="menu.js"></script>
60<script type="text/javascript">
61$(function() {
62 initMenu('',true,false,'search.php','Search');
63 $(document).ready(function() { init_search(); });
64});
65</script>
66<div id="main-nav"></div>
67</div><!-- top -->
68<div id="side-nav" class="ui-resizable side-nav-resizable">
69 <div id="nav-tree">
70 <div id="nav-tree-contents">
71 <div id="nav-sync" class="sync"></div>
72 </div>
73 </div>
74 <div id="splitbar" style="-moz-user-select:none;"
75 class="ui-resizable-handle">
76 </div>
77</div>
78<script type="text/javascript">
79$(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.xhtml','');});
80</script>
81<div id="doc-content">
82<!-- window showing the filter options -->
83<div id="MSearchSelectWindow"
84 onmouseover="return searchBox.OnSearchSelectShow()"
85 onmouseout="return searchBox.OnSearchSelectHide()"
86 onkeydown="return searchBox.OnSearchSelectKey(event)">
87</div>
88
89<!-- iframe showing the search results (closed by default) -->
90<div id="MSearchResultsWindow">
91<iframe src="javascript:void(0)" frameborder="0"
92 name="MSearchResults" id="MSearchResults">
93</iframe>
94</div>
95
96<div class="header">
97 <div class="summary">
98<a href="#pub-methods">Public Member Functions</a> &#124;
99<a href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler-members.xhtml">List of all members</a> </div>
100 <div class="headertitle">
101<div class="title">RequestCounterDirectoryCommandHandler Class Reference</div> </div>
102</div><!--header-->
103<div class="contents">
104
105<p><code>#include &lt;<a class="el" href="_request_counter_directory_command_handler_8hpp_source.xhtml">RequestCounterDirectoryCommandHandler.hpp</a>&gt;</code></p>
106<div class="dynheader">
107Inheritance diagram for RequestCounterDirectoryCommandHandler:</div>
108<div class="dyncontent">
109 <div class="center">
110 <img src="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.png" usemap="#RequestCounterDirectoryCommandHandler_map" alt=""/>
111 <map id="RequestCounterDirectoryCommandHandler_map" name="RequestCounterDirectoryCommandHandler_map">
112<area href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml" alt="CommandHandlerFunctor" shape="rect" coords="0,0,254,24"/>
113</map>
114 </div></div>
115<table class="memberdecls">
116<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
117Public Member Functions</h2></td></tr>
118<tr class="memitem:a3fa2552140e3d08173b137178b53a13a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.xhtml#a3fa2552140e3d08173b137178b53a13a">RequestCounterDirectoryCommandHandler</a> (uint32_t familyId, uint32_t packetId, uint32_t version, <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a> &amp;counterDirectory, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">ISendCounterPacket</a> &amp;sendCounterPacket, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml">ISendTimelinePacket</a> &amp;sendTimelinePacket, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml">ProfilingStateMachine</a> &amp;profilingStateMachine)</td></tr>
119<tr class="separator:a3fa2552140e3d08173b137178b53a13a"><td class="memSeparator" colspan="2">&#160;</td></tr>
120<tr class="memitem:a0a4b0531c573c4474c241b778c5f5897"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.xhtml#a0a4b0531c573c4474c241b778c5f5897">operator()</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_packet.xhtml">Packet</a> &amp;packet) override</td></tr>
121<tr class="separator:a0a4b0531c573c4474c241b778c5f5897"><td class="memSeparator" colspan="2">&#160;</td></tr>
122<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="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml">CommandHandlerFunctor</a></td></tr>
123<tr class="memitem:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a> (uint32_t familyId, uint32_t packetId, uint32_t version)</td></tr>
124<tr class="separator:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
125<tr class="memitem:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a52df705001d502e24a079bd8e0c1e956">GetFamilyId</a> () const</td></tr>
126<tr class="separator:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
127<tr class="memitem:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a17b980d48f35a31c27a227e8ceae5402">GetPacketId</a> () const</td></tr>
128<tr class="separator:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
129<tr class="memitem:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a7a9568e40773e80ab38c1a7dac4e7089">GetVersion</a> () const</td></tr>
130<tr class="separator:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
131<tr class="memitem:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a05aaf089b3b02e13bc728e2c8c94cb4e">~CommandHandlerFunctor</a> ()</td></tr>
132<tr class="separator:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
133</table>
134<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
135<div class="textblock">
136<p class="definition">Definition at line <a class="el" href="_request_counter_directory_command_handler_8hpp_source.xhtml#l00020">20</a> of file <a class="el" href="_request_counter_directory_command_handler_8hpp_source.xhtml">RequestCounterDirectoryCommandHandler.hpp</a>.</p>
137</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
138<a id="a3fa2552140e3d08173b137178b53a13a"></a>
139<h2 class="memtitle"><span class="permalink"><a href="#a3fa2552140e3d08173b137178b53a13a">&#9670;&nbsp;</a></span>RequestCounterDirectoryCommandHandler()</h2>
140
141<div class="memitem">
142<div class="memproto">
143<table class="mlabels">
144 <tr>
145 <td class="mlabels-left">
146 <table class="memname">
147 <tr>
148 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.xhtml">RequestCounterDirectoryCommandHandler</a> </td>
149 <td>(</td>
150 <td class="paramtype">uint32_t&#160;</td>
151 <td class="paramname"><em>familyId</em>, </td>
152 </tr>
153 <tr>
154 <td class="paramkey"></td>
155 <td></td>
156 <td class="paramtype">uint32_t&#160;</td>
157 <td class="paramname"><em>packetId</em>, </td>
158 </tr>
159 <tr>
160 <td class="paramkey"></td>
161 <td></td>
162 <td class="paramtype">uint32_t&#160;</td>
163 <td class="paramname"><em>version</em>, </td>
164 </tr>
165 <tr>
166 <td class="paramkey"></td>
167 <td></td>
168 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a> &amp;&#160;</td>
169 <td class="paramname"><em>counterDirectory</em>, </td>
170 </tr>
171 <tr>
172 <td class="paramkey"></td>
173 <td></td>
174 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">ISendCounterPacket</a> &amp;&#160;</td>
175 <td class="paramname"><em>sendCounterPacket</em>, </td>
176 </tr>
177 <tr>
178 <td class="paramkey"></td>
179 <td></td>
180 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml">ISendTimelinePacket</a> &amp;&#160;</td>
181 <td class="paramname"><em>sendTimelinePacket</em>, </td>
182 </tr>
183 <tr>
184 <td class="paramkey"></td>
185 <td></td>
186 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml">ProfilingStateMachine</a> &amp;&#160;</td>
187 <td class="paramname"><em>profilingStateMachine</em>&#160;</td>
188 </tr>
189 <tr>
190 <td></td>
191 <td>)</td>
192 <td></td><td></td>
193 </tr>
194 </table>
195 </td>
196 <td class="mlabels-right">
197<span class="mlabels"><span class="mlabel">inline</span></span> </td>
198 </tr>
199</table>
200</div><div class="memdoc">
201
202<p class="definition">Definition at line <a class="el" href="_request_counter_directory_command_handler_8hpp_source.xhtml#l00024">24</a> of file <a class="el" href="_request_counter_directory_command_handler_8hpp_source.xhtml">RequestCounterDirectoryCommandHandler.hpp</a>.</p>
203
204<p class="reference">References <a class="el" href="_request_counter_directory_command_handler_8cpp_source.xhtml#l00016">RequestCounterDirectoryCommandHandler::operator()()</a>.</p>
205<div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; : <a class="code" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a>(familyId, packetId, version)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; , m_CounterDirectory(counterDirectory)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; , m_SendCounterPacket(sendCounterPacket)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; , m_SendTimelinePacket(sendTimelinePacket)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; , m_StateMachine(profilingStateMachine)</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; {}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_functor_xhtml_ad88cf21899e5a0ee2d803eabf3f5dd04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#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.xhtml#l00023">CommandHandlerFunctor.hpp:23</a></div></div>
206</div><!-- fragment -->
207</div>
208</div>
209<h2 class="groupheader">Member Function Documentation</h2>
210<a id="a0a4b0531c573c4474c241b778c5f5897"></a>
211<h2 class="memtitle"><span class="permalink"><a href="#a0a4b0531c573c4474c241b778c5f5897">&#9670;&nbsp;</a></span>operator()()</h2>
212
213<div class="memitem">
214<div class="memproto">
215<table class="mlabels">
216 <tr>
217 <td class="mlabels-left">
218 <table class="memname">
219 <tr>
220 <td class="memname">void operator() </td>
221 <td>(</td>
222 <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_packet.xhtml">Packet</a> &amp;&#160;</td>
223 <td class="paramname"><em>packet</em></td><td>)</td>
224 <td></td>
225 </tr>
226 </table>
227 </td>
228 <td class="mlabels-right">
229<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
230 </tr>
231</table>
232</div><div class="memdoc">
233
234<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#aee5d34e255ea616c6b4d6877eb3c9fad">CommandHandlerFunctor</a>.</p>
235
236<p class="definition">Definition at line <a class="el" href="_request_counter_directory_command_handler_8cpp_source.xhtml#l00016">16</a> of file <a class="el" href="_request_counter_directory_command_handler_8cpp_source.xhtml">RequestCounterDirectoryCommandHandler.cpp</a>.</p>
237
238<p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::Active</a>, <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="_packet_8hpp_source.xhtml#l00070">Packet::GetPacketFamily()</a>, <a class="el" href="_packet_8hpp_source.xhtml#l00071">Packet::GetPacketId()</a>, <a class="el" href="_profiling_state_machine_8hpp_source.xhtml#l00059">armnn::profiling::GetProfilingStateName()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml#ae3331355e62b6008340c27e82be9a851">ISendCounterPacket::SendCounterDirectoryPacket()</a>, <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml#a4025973da19ce55930abfd8b6df4edbe">ISendTimelinePacket::SendTimelineMessageDirectoryPackage()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, and <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>.</p>
239
240<p class="reference">Referenced by <a class="el" href="_request_counter_directory_command_handler_8hpp_source.xhtml#l00024">RequestCounterDirectoryCommandHandler::RequestCounterDirectoryCommandHandler()</a>.</p>
241<div class="fragment"><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">&quot;Request Counter Directory Comand Handler invoked while in an &quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="stringliteral">&quot;wrong state: %1%&quot;</span>)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; % <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa6851e58c103f77fcf83b722b4b81e9d">GetProfilingStateName</a>(currentState)));</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">ProfilingState::Active</a>:</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="comment">// Process the packet</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordflow">if</span> (!(packet.GetPacketFamily() == 0u &amp;&amp; packet.GetPacketId() == 3u))</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.xhtml">armnn::InvalidArgumentException</a>(boost::str(boost::format(<span class="stringliteral">&quot;Expected Packet family = 0, id = 3 but &quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="stringliteral">&quot;received family = %1%, id = %2%&quot;</span>)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; % packet.GetPacketFamily()</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; % packet.GetPacketId()));</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; }</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <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>&#160; m_SendCounterPacket.<a class="code" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml#ae3331355e62b6008340c27e82be9a851">SendCounterDirectoryPacket</a>(m_CounterDirectory);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; m_SendTimelinePacket.<a class="code" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml#a4025973da19ce55930abfd8b6df4edbe">SendTimelineMessageDirectoryPackage</a>();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">&quot;Unknown profiling service state: %1%&quot;</span>)</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; % static_cast&lt;int&gt;(currentState)));</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#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.xhtml#l00031">ProfilingStateMachine.cpp:31</a></div></div>
242<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div>
243<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::ProfilingState::Active</a></div></div>
244<div class="ttc" id="classarmnn_1_1_invalid_argument_exception_xhtml"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.xhtml">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00080">Exceptions.hpp:80</a></div></div>
245<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div>
246<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</a></div></div>
247<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">armnn::profiling::ProfilingState</a></div><div class="ttdeci">ProfilingState</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.xhtml#l00018">ProfilingStateMachine.hpp:18</a></div></div>
248<div class="ttc" id="classarmnn_1_1profiling_1_1_i_send_counter_packet_xhtml_ae3331355e62b6008340c27e82be9a851"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml#ae3331355e62b6008340c27e82be9a851">armnn::profiling::ISendCounterPacket::SendCounterDirectoryPacket</a></div><div class="ttdeci">virtual void SendCounterDirectoryPacket(const ICounterDirectory &amp;counterDirectory)=0</div><div class="ttdoc">Create and write a CounterDirectoryPacket from the parameters to the buffer. </div></div>
249<div class="ttc" id="classarmnn_1_1profiling_1_1_i_send_timeline_packet_xhtml_a4025973da19ce55930abfd8b6df4edbe"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml#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>
250<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa6851e58c103f77fcf83b722b4b81e9d"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#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.xhtml#l00059">ProfilingStateMachine.hpp:59</a></div></div>
251</div><!-- fragment -->
252</div>
253</div>
254<hr/>The documentation for this class was generated from the following files:<ul>
255<li>src/profiling/<a class="el" href="_request_counter_directory_command_handler_8hpp_source.xhtml">RequestCounterDirectoryCommandHandler.hpp</a></li>
256<li>src/profiling/<a class="el" href="_request_counter_directory_command_handler_8cpp_source.xhtml">RequestCounterDirectoryCommandHandler.cpp</a></li>
257</ul>
258</div><!-- contents -->
259</div><!-- doc-content -->
260<!-- start footer part -->
261<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
262 <ul>
263 <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1profiling.xhtml">profiling</a></li><li class="navelem"><a class="el" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.xhtml">RequestCounterDirectoryCommandHandler</a></li>
264 <li class="footer">Generated on Fri Mar 13 2020 16:09:21 for ArmNN by
265 <a href="http://www.doxygen.org/index.html">
266 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
267 </ul>
268</div>
269</body>
270</html>