| <!-- Copyright (c) 2020 ARM Limited. --> |
| <!-- --> |
| <!-- SPDX-License-Identifier: MIT --> |
| <!-- --> |
| <!-- HTML header for doxygen 1.8.13--> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.13"/> |
| <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>ArmNN: CommandHandler Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| </script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <script type="text/x-mathjax-config"> |
| MathJax.Hub.Config({ |
| extensions: ["tex2jax.js"], |
| jax: ["input/TeX","output/HTML-CSS"], |
| }); |
| </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname"> |
|  <span id="projectnumber">20.02</span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.13 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| </script> |
| <div id="main-nav"></div> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| $(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_command_handler.xhtml','');}); |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="classarmnn_1_1profiling_1_1_command_handler-members.xhtml">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">CommandHandler Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p><code>#include <<a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a>></code></p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:a602f1b64401712a87c2ef276f469368d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#a602f1b64401712a87c2ef276f469368d">CommandHandler</a> (uint32_t timeout, bool stopAfterTimeout, <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml">CommandHandlerRegistry</a> &commandHandlerRegistry, <a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">PacketVersionResolver</a> &packetVersionResolver)</td></tr> |
| <tr class="separator:a602f1b64401712a87c2ef276f469368d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a5f937b7610842eb70d0376221da7bb07"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#a5f937b7610842eb70d0376221da7bb07">~CommandHandler</a> ()</td></tr> |
| <tr class="separator:a5f937b7610842eb70d0376221da7bb07"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa2a07b9715323faee8cd53a623f25c7f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#aa2a07b9715323faee8cd53a623f25c7f">SetTimeout</a> (uint32_t timeout)</td></tr> |
| <tr class="separator:aa2a07b9715323faee8cd53a623f25c7f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad6feb3bc1f64bb41467da55d30e9403f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#ad6feb3bc1f64bb41467da55d30e9403f">SetStopAfterTimeout</a> (bool stopAfterTimeout)</td></tr> |
| <tr class="separator:ad6feb3bc1f64bb41467da55d30e9403f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af5f886492fa5da4ff3cde1769e9da2cb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#af5f886492fa5da4ff3cde1769e9da2cb">Start</a> (<a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> &profilingConnection)</td></tr> |
| <tr class="separator:af5f886492fa5da4ff3cde1769e9da2cb"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a17a237457e57625296e6b24feb19c60a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#a17a237457e57625296e6b24feb19c60a">Stop</a> ()</td></tr> |
| <tr class="separator:a17a237457e57625296e6b24feb19c60a"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad201152b05beda61e51e3594ff07c8fe"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#ad201152b05beda61e51e3594ff07c8fe">IsRunning</a> () const</td></tr> |
| <tr class="separator:ad201152b05beda61e51e3594ff07c8fe"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"> |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8hpp_source.xhtml#l00021">21</a> of file <a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a>.</p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="a602f1b64401712a87c2ef276f469368d"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a602f1b64401712a87c2ef276f469368d">◆ </a></span>CommandHandler()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml">CommandHandler</a> </td> |
| <td>(</td> |
| <td class="paramtype">uint32_t </td> |
| <td class="paramname"><em>timeout</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>stopAfterTimeout</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml">CommandHandlerRegistry</a> & </td> |
| <td class="paramname"><em>commandHandlerRegistry</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">PacketVersionResolver</a> & </td> |
| <td class="paramname"><em>packetVersionResolver</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8hpp_source.xhtml#l00024">24</a> of file <a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  : m_Timeout(timeout)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  , m_StopAfterTimeout(stopAfterTimeout)</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  , m_IsRunning(<span class="keyword">false</span>)</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  , m_KeepRunning(<span class="keyword">false</span>)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  , m_CommandThread()</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  , m_CommandHandlerRegistry(commandHandlerRegistry)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  , m_PacketVersionResolver(packetVersionResolver)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  {}</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a5f937b7610842eb70d0376221da7bb07"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a5f937b7610842eb70d0376221da7bb07">◆ </a></span>~CommandHandler()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml">CommandHandler</a> </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8hpp_source.xhtml#l00036">36</a> of file <a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a>.</p> |
| |
| <p class="reference">References <a class="el" href="_command_handler_8cpp_source.xhtml#l00034">CommandHandler::Stop()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> { <a class="code" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#a17a237457e57625296e6b24feb19c60a">Stop</a>(); }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_xhtml_a17a237457e57625296e6b24feb19c60a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler.xhtml#a17a237457e57625296e6b24feb19c60a">armnn::profiling::CommandHandler::Stop</a></div><div class="ttdeci">void Stop()</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_8cpp_source.xhtml#l00034">CommandHandler.cpp:34</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a id="ad201152b05beda61e51e3594ff07c8fe"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ad201152b05beda61e51e3594ff07c8fe">◆ </a></span>IsRunning()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool IsRunning </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8hpp_source.xhtml#l00043">43</a> of file <a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00131">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_command_handler_8cpp_source.xhtml#l00017">CommandHandler::Start()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> { <span class="keywordflow">return</span> m_IsRunning.load(); }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="ad6feb3bc1f64bb41467da55d30e9403f"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ad6feb3bc1f64bb41467da55d30e9403f">◆ </a></span>SetStopAfterTimeout()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void SetStopAfterTimeout </td> |
| <td>(</td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>stopAfterTimeout</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8hpp_source.xhtml#l00039">39</a> of file <a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a>.</p> |
| |
| <p class="reference">References <a class="el" href="_command_handler_8cpp_source.xhtml#l00017">CommandHandler::Start()</a>, and <a class="el" href="_command_handler_8cpp_source.xhtml#l00034">CommandHandler::Stop()</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00131">BOOST_AUTO_TEST_CASE()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> { m_StopAfterTimeout.store(stopAfterTimeout); }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="aa2a07b9715323faee8cd53a623f25c7f"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aa2a07b9715323faee8cd53a623f25c7f">◆ </a></span>SetTimeout()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void SetTimeout </td> |
| <td>(</td> |
| <td class="paramtype">uint32_t </td> |
| <td class="paramname"><em>timeout</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8hpp_source.xhtml#l00038">38</a> of file <a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> { m_Timeout.store(timeout); }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="af5f886492fa5da4ff3cde1769e9da2cb"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#af5f886492fa5da4ff3cde1769e9da2cb">◆ </a></span>Start()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void Start </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> & </td> |
| <td class="paramname"><em>profilingConnection</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8cpp_source.xhtml#l00017">17</a> of file <a class="el" href="_command_handler_8cpp_source.xhtml">CommandHandler.cpp</a>.</p> |
| |
| <p class="reference">References <a class="el" href="_command_handler_8hpp_source.xhtml#l00043">CommandHandler::IsRunning()</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00131">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_command_handler_8hpp_source.xhtml#l00039">CommandHandler::SetStopAfterTimeout()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00089">ProfilingService::Update()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#ad201152b05beda61e51e3594ff07c8fe">IsRunning</a>())</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">return</span>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  }</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">if</span> (m_CommandThread.joinable())</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  m_CommandThread.join();</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  m_IsRunning.store(<span class="keyword">true</span>);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  m_KeepRunning.store(<span class="keyword">true</span>);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  m_CommandThread = std::thread(&CommandHandler::HandleCommands, <span class="keyword">this</span>, std::ref(profilingConnection));</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_xhtml_ad201152b05beda61e51e3594ff07c8fe"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler.xhtml#ad201152b05beda61e51e3594ff07c8fe">armnn::profiling::CommandHandler::IsRunning</a></div><div class="ttdeci">bool IsRunning() const</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_8hpp_source.xhtml#l00043">CommandHandler.hpp:43</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a17a237457e57625296e6b24feb19c60a"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a17a237457e57625296e6b24feb19c60a">◆ </a></span>Stop()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void Stop </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_command_handler_8cpp_source.xhtml#l00034">34</a> of file <a class="el" href="_command_handler_8cpp_source.xhtml">CommandHandler.cpp</a>.</p> |
| |
| <p class="reference">References <a class="el" href="_logging_8hpp_source.xhtml#l00163">ARMNN_LOG</a>, <a class="el" href="_encode_version_8hpp_source.xhtml#l00045">Version::GetEncodedValue()</a>, <a class="el" href="_command_handler_registry_8cpp_source.xhtml#l00035">CommandHandlerRegistry::GetFunctor()</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="_packet_8hpp_source.xhtml#l00077">Packet::IsEmpty()</a>, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml#a8a3511046982c64efa3e3833d749e5ef">IProfilingConnection::IsOpen()</a>, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml#a935e16d85893a31f23cd78e47b85466d">IProfilingConnection::ReadPacket()</a>, <a class="el" href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver::ResolvePacketVersion()</a>, <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407a7b83d3f08fa392b79e3f553b585971cd">armnn::warning</a>, and <a class="el" href="_exceptions_8cpp_source.xhtml#l00032">Exception::what()</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00131">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00296">ProfilingService::GetSendTimelinePacket()</a>, <a class="el" href="_command_handler_8hpp_source.xhtml#l00039">CommandHandler::SetStopAfterTimeout()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00089">ProfilingService::Update()</a>, and <a class="el" href="_command_handler_8hpp_source.xhtml#l00036">CommandHandler::~CommandHandler()</a>.</p> |
| <div class="fragment"><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>  m_KeepRunning.store(<span class="keyword">false</span>);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">if</span> (m_CommandThread.joinable())</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  m_CommandThread.join();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li>src/profiling/<a class="el" href="_command_handler_8hpp_source.xhtml">CommandHandler.hpp</a></li> |
| <li>src/profiling/<a class="el" href="_command_handler_8cpp_source.xhtml">CommandHandler.cpp</a></li> |
| </ul> |
| </div><!-- contents --> |
| </div><!-- doc-content --> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="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_command_handler.xhtml">CommandHandler</a></li> |
| <li class="footer">Generated on Fri Mar 13 2020 16:09:20 for ArmNN by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |