diff options
author | Colm Donelan <Colm.Donelan@arm.com> | 2020-05-20 16:12:19 +0100 |
---|---|---|
committer | Colm Donelan <Colm.Donelan@arm.com> | 2020-05-29 10:28:40 +0100 |
commit | a983e4699082a0b1ef685bab7354f2ad9cd37a44 (patch) | |
tree | 4fa94e7ab27053461b481cfbdc1b7c17ca475ac6 /20.05/classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml | |
parent | 764d50a3271dea43a6e9273e6dfd98990281c654 (diff) | |
download | armnn-a983e4699082a0b1ef685bab7354f2ad9cd37a44.tar.gz |
Updating Doxygen documentation for 20.05 release.
Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Diffstat (limited to '20.05/classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml')
-rw-r--r-- | 20.05/classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml | 277 |
1 files changed, 277 insertions, 0 deletions
diff --git a/20.05/classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml b/20.05/classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml new file mode 100644 index 0000000000..278a93a06a --- /dev/null +++ b/20.05/classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml @@ -0,0 +1,277 @@ +<!-- 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: ActivateTimelineReportingCommandHandler 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.05</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_activate_timeline_reporting_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_activate_timeline_reporting_command_handler-members.xhtml">List of all members</a> </div> + <div class="headertitle"> +<div class="title">ActivateTimelineReportingCommandHandler Class Reference</div> </div> +</div><!--header--> +<div class="contents"> + +<p><code>#include <<a class="el" href="_activate_timeline_reporting_command_handler_8hpp_source.xhtml">ActivateTimelineReportingCommandHandler.hpp</a>></code></p> +<div class="dynheader"> +Inheritance diagram for ActivateTimelineReportingCommandHandler:</div> +<div class="dyncontent"> + <div class="center"> + <img src="classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.png" usemap="#ActivateTimelineReportingCommandHandler_map" alt=""/> + <map id="ActivateTimelineReportingCommandHandler_map" name="ActivateTimelineReportingCommandHandler_map"> +<area href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml" alt="CommandHandlerFunctor" shape="rect" coords="0,0,258,24"/> +</map> + </div></div> +<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:ad6f863f2d7b2af4d50449b43409ae593"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml#ad6f863f2d7b2af4d50449b43409ae593">ActivateTimelineReportingCommandHandler</a> (uint32_t familyId, uint32_t packetId, uint32_t version, <a class="el" href="classarmnn_1_1profiling_1_1_send_timeline_packet.xhtml">SendTimelinePacket</a> &sendTimelinePacket, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml">ProfilingStateMachine</a> &profilingStateMachine, <a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< <a class="el" href="classarmnn_1_1profiling_1_1_i_report_structure.xhtml">IReportStructure</a> &> reportStructure, std::atomic< bool > &timelineReporting, <a class="el" href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml">INotifyBackends</a> &notifyBackends)</td></tr> +<tr class="separator:ad6f863f2d7b2af4d50449b43409ae593"><td class="memSeparator" colspan="2"> </td></tr> +<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_activate_timeline_reporting_command_handler.xhtml#a0a4b0531c573c4474c241b778c5f5897">operator()</a> (const Packet &packet) override</td></tr> +<tr class="separator:a0a4b0531c573c4474c241b778c5f5897"><td class="memSeparator" colspan="2"> </td></tr> +<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.xhtml">CommandHandlerFunctor</a></td></tr> +<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.xhtml#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a> (uint32_t familyId, uint32_t packetId, uint32_t version)</td></tr> +<tr class="separator:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> +<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.xhtml#a52df705001d502e24a079bd8e0c1e956">GetFamilyId</a> () const</td></tr> +<tr class="separator:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> +<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.xhtml#a17b980d48f35a31c27a227e8ceae5402">GetPacketId</a> () const</td></tr> +<tr class="separator:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> +<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.xhtml#a7a9568e40773e80ab38c1a7dac4e7089">GetVersion</a> () const</td></tr> +<tr class="separator:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2"> </td></tr> +<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.xhtml#a05aaf089b3b02e13bc728e2c8c94cb4e">~CommandHandlerFunctor</a> ()</td></tr> +<tr class="separator:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><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="_activate_timeline_reporting_command_handler_8hpp_source.xhtml#l00025">25</a> of file <a class="el" href="_activate_timeline_reporting_command_handler_8hpp_source.xhtml">ActivateTimelineReportingCommandHandler.hpp</a>.</p> +</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> +<a id="ad6f863f2d7b2af4d50449b43409ae593"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ad6f863f2d7b2af4d50449b43409ae593">◆ </a></span>ActivateTimelineReportingCommandHandler()</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_activate_timeline_reporting_command_handler.xhtml">ActivateTimelineReportingCommandHandler</a> </td> + <td>(</td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>familyId</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>packetId</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>version</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_send_timeline_packet.xhtml">SendTimelinePacket</a> & </td> + <td class="paramname"><em>sendTimelinePacket</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml">ProfilingStateMachine</a> & </td> + <td class="paramname"><em>profilingStateMachine</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< <a class="el" href="classarmnn_1_1profiling_1_1_i_report_structure.xhtml">IReportStructure</a> &> </td> + <td class="paramname"><em>reportStructure</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">std::atomic< bool > & </td> + <td class="paramname"><em>timelineReporting</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml">INotifyBackends</a> & </td> + <td class="paramname"><em>notifyBackends</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="_activate_timeline_reporting_command_handler_8hpp_source.xhtml#l00028">28</a> of file <a class="el" href="_activate_timeline_reporting_command_handler_8hpp_source.xhtml">ActivateTimelineReportingCommandHandler.hpp</a>.</p> + +<p class="reference">References <a class="el" href="_activate_timeline_reporting_command_handler_8cpp_source.xhtml#l00018">ActivateTimelineReportingCommandHandler::operator()()</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_functor.xhtml#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a>(familyId, packetId, version),</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  m_SendTimelinePacket(sendTimelinePacket),</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  m_StateMachine(profilingStateMachine),</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  m_TimelineReporting(timelineReporting),</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  m_BackendNotifier(notifyBackends),</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  m_ReportStructure(reportStructure)</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {}</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> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Member Function Documentation</h2> +<a id="a0a4b0531c573c4474c241b778c5f5897"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0a4b0531c573c4474c241b778c5f5897">◆ </a></span>operator()()</h2> + +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">void operator() </td> + <td>(</td> + <td class="paramtype">const Packet & </td> + <td class="paramname"><em>packet</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#aee5d34e255ea616c6b4d6877eb3c9fad">CommandHandlerFunctor</a>.</p> + +<p class="definition">Definition at line <a class="el" href="_activate_timeline_reporting_command_handler_8cpp_source.xhtml#l00018">18</a> of file <a class="el" href="_activate_timeline_reporting_command_handler_8cpp_source.xhtml">ActivateTimelineReportingCommandHandler.cpp</a>.</p> + +<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="_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_notify_backends.xhtml#ab278fa8a7fd571fde569c9f569e4d82c">INotifyBackends::NotifyBackendsForTimelineReporting()</a>, <a class="el" href="_send_timeline_packet_8cpp_source.xhtml#l00122">SendTimelinePacket::SendTimelineMessageDirectoryPackage()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00030">TimelineUtilityMethods::SendWellKnownLabelsAndEventClasses()</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> + +<p class="reference">Referenced by <a class="el" href="_activate_timeline_reporting_command_handler_8hpp_source.xhtml#l00028">ActivateTimelineReportingCommandHandler::ActivateTimelineReportingCommandHandler()</a>.</p> +<div class="fragment"><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <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="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">if</span> (!m_ReportStructure.has_value())</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">throw</span> <a class="code" href="classarmnn_1_1_exception.xhtml">armnn::Exception</a>(std::string(<span class="stringliteral">"Profiling Service constructor must be initialised with an "</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="stringliteral">"IReportStructure argument in order to run timeline reporting"</span>));</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  }</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>  <span class="keywordflow">switch</span> ( currentState )</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">throw</span> RuntimeException(boost::str(</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  boost::format(<span class="stringliteral">"Activate Timeline Reporting Command Handler invoked while in a wrong state: %1%"</span>)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  % <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa6851e58c103f77fcf83b722b4b81e9d">GetProfilingStateName</a>(currentState)));</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">ProfilingState::Active</a>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">if</span> ( !( packet.GetPacketFamily() == 0u && packet.GetPacketId() == 6u ))</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.xhtml">armnn::Exception</a>(std::string(<span class="stringliteral">"Expected Packet family = 0, id = 6 but received family ="</span>)</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  + std::to_string(packet.GetPacketFamily())</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  + <span class="stringliteral">" id = "</span> + std::to_string(packet.GetPacketId()));</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  m_SendTimelinePacket.<a class="code" href="classarmnn_1_1profiling_1_1_send_timeline_packet.xhtml#afd0d8c7ed93283f25fd8a1d1e433842f">SendTimelineMessageDirectoryPackage</a>();</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>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a1c3dd40f5b8c4b878f783addf7d08e2f">TimelineUtilityMethods::SendWellKnownLabelsAndEventClasses</a>(m_SendTimelinePacket);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  m_TimelineReporting = <span class="keyword">true</span>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  m_ReportStructure.value().ReportStructure();</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  m_BackendNotifier.<a class="code" href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml#ab278fa8a7fd571fde569c9f569e4d82c">NotifyBackendsForTimelineReporting</a>();</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</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="l00057"></a><span class="lineno"> 57</span>  % static_cast<int>(currentState)));</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> }</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> +<div class="ttc" id="classarmnn_1_1profiling_1_1_i_notify_backends_xhtml_ab278fa8a7fd571fde569c9f569e4d82c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml#ab278fa8a7fd571fde569c9f569e4d82c">armnn::profiling::INotifyBackends::NotifyBackendsForTimelineReporting</a></div><div class="ttdeci">virtual void NotifyBackendsForTimelineReporting()=0</div></div> +<div class="ttc" id="classarmnn_1_1profiling_1_1_send_timeline_packet_xhtml_afd0d8c7ed93283f25fd8a1d1e433842f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_timeline_packet.xhtml#afd0d8c7ed93283f25fd8a1d1e433842f">armnn::profiling::SendTimelinePacket::SendTimelineMessageDirectoryPackage</a></div><div class="ttdeci">void SendTimelineMessageDirectoryPackage() override</div><div class="ttdoc">Create and write a TimelineMessageDirectoryPackage in the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="_send_timeline_packet_8cpp_source.xhtml#l00122">SendTimelinePacket.cpp:122</a></div></div> +<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> +<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> +<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> +<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> +<div class="ttc" id="classarmnn_1_1_exception_xhtml"><div class="ttname"><a href="classarmnn_1_1_exception.xhtml">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.xhtml#l00046">Exceptions.hpp:46</a></div></div> +<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> +<div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a1c3dd40f5b8c4b878f783addf7d08e2f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a1c3dd40f5b8c4b878f783addf7d08e2f">armnn::profiling::TimelineUtilityMethods::SendWellKnownLabelsAndEventClasses</a></div><div class="ttdeci">static void SendWellKnownLabelsAndEventClasses(ISendTimelinePacket &timelinePacket)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00030">TimelineUtilityMethods.cpp:30</a></div></div> +<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> +</div><!-- fragment --> +</div> +</div> +<hr/>The documentation for this class was generated from the following files:<ul> +<li>src/profiling/<a class="el" href="_activate_timeline_reporting_command_handler_8hpp_source.xhtml">ActivateTimelineReportingCommandHandler.hpp</a></li> +<li>src/profiling/<a class="el" href="_activate_timeline_reporting_command_handler_8cpp_source.xhtml">ActivateTimelineReportingCommandHandler.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_activate_timeline_reporting_command_handler.xhtml">ActivateTimelineReportingCommandHandler</a></li> + <li class="footer">Generated on Fri May 29 2020 10:20:55 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> |