| <!-- 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: TimelineModel 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_timeline_model.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_timeline_model-members.xhtml">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">TimelineModel Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p><code>#include <<a class="el" href="_timeline_model_8hpp_source.xhtml">TimelineModel.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:ac7862ad233ee72a56f4344d60af6424e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_model.xhtml#ac7862ad233ee72a56f4344d60af6424e">AddLabel</a> (const <a class="el" href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a> &label)</td></tr> |
| <tr class="separator:ac7862ad233ee72a56f4344d60af6424e"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:acf92758924263e61fea775a36ae49d21"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_model.xhtml#acf92758924263e61fea775a36ae49d21">AddEntity</a> (uint64_t guid)</td></tr> |
| <tr class="separator:acf92758924263e61fea775a36ae49d21"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a57ec6effa2de39fee721fe3c4d0e3c86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_entity.xhtml">Entity</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_model.xhtml#a57ec6effa2de39fee721fe3c4d0e3c86">findEntity</a> (uint64_t id)</td></tr> |
| <tr class="separator:a57ec6effa2de39fee721fe3c4d0e3c86"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa843e2f9628e20b0c6211b5d02a8b79c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_model.xhtml#aa843e2f9628e20b0c6211b5d02a8b79c">AddRelationship</a> (const <a class="el" href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a> &relationship)</td></tr> |
| <tr class="separator:aa843e2f9628e20b0c6211b5d02a8b79c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8db25f5859a4b75ffc326ae7f4851015"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_model_relationship.xhtml">ModelRelationship</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_model.xhtml#a8db25f5859a4b75ffc326ae7f4851015">findRelationship</a> (uint64_t id)</td></tr> |
| <tr class="separator:a8db25f5859a4b75ffc326ae7f4851015"><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="_timeline_model_8hpp_source.xhtml#l00051">51</a> of file <a class="el" href="_timeline_model_8hpp_source.xhtml">TimelineModel.hpp</a>.</p> |
| </div><h2 class="groupheader">Member Function Documentation</h2> |
| <a id="acf92758924263e61fea775a36ae49d21"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#acf92758924263e61fea775a36ae49d21">◆ </a></span>AddEntity()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void AddEntity </td> |
| <td>(</td> |
| <td class="paramtype">uint64_t </td> |
| <td class="paramname"><em>guid</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_timeline_model_8cpp_source.xhtml#l00019">19</a> of file <a class="el" href="_timeline_model_8cpp_source.xhtml">TimelineModel.cpp</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_test_timeline_packet_handler_8cpp_source.xhtml#l00092">TimelineMessageDecoder::CreateEntity()</a>.</p> |
| <div class="fragment"><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>  m_Entities.emplace(guid, guid);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="ac7862ad233ee72a56f4344d60af6424e"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ac7862ad233ee72a56f4344d60af6424e">◆ </a></span>AddLabel()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void AddLabel </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a> & </td> |
| <td class="paramname"><em>label</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_timeline_model_8cpp_source.xhtml#l00014">14</a> of file <a class="el" href="_timeline_model_8cpp_source.xhtml">TimelineModel.cpp</a>.</p> |
| |
| <p class="reference">References <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00061">ITimelineDecoder::Label::m_Guid</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_test_timeline_packet_handler_8cpp_source.xhtml#l00117">TimelineMessageDecoder::CreateLabel()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  m_LabelMap.emplace(label.<a class="code" href="struct_i_timeline_decoder_1_1_label.xhtml#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a>, label);</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> }</div><div class="ttc" id="struct_i_timeline_decoder_1_1_label_xhtml_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_label.xhtml#ab6b3b4830bf0417aa54e88663048075a">ITimelineDecoder::Label::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00061">ITimelineDecoder.hpp:61</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="aa843e2f9628e20b0c6211b5d02a8b79c"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aa843e2f9628e20b0c6211b5d02a8b79c">◆ </a></span>AddRelationship()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void AddRelationship </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a> & </td> |
| <td class="paramname"><em>relationship</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_timeline_model_8cpp_source.xhtml#l00037">37</a> of file <a class="el" href="_timeline_model_8cpp_source.xhtml">TimelineModel.cpp</a>.</p> |
| |
| <p class="reference">References <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00068">ITimelineDecoder::Relationship::m_Guid</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_test_timeline_packet_handler_8cpp_source.xhtml#l00123">TimelineMessageDecoder::CreateRelationship()</a>.</p> |
| <div class="fragment"><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>  m_Relationships.emplace(relationship.<a class="code" href="struct_i_timeline_decoder_1_1_relationship.xhtml#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a>, relationship);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div><div class="ttc" id="struct_i_timeline_decoder_1_1_relationship_xhtml_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_relationship.xhtml#ab6b3b4830bf0417aa54e88663048075a">ITimelineDecoder::Relationship::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00068">ITimelineDecoder.hpp:68</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a57ec6effa2de39fee721fe3c4d0e3c86"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a57ec6effa2de39fee721fe3c4d0e3c86">◆ </a></span>findEntity()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_entity.xhtml">Entity</a> * findEntity </td> |
| <td>(</td> |
| <td class="paramtype">uint64_t </td> |
| <td class="paramname"><em>id</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_timeline_model_8cpp_source.xhtml#l00024">24</a> of file <a class="el" href="_timeline_model_8cpp_source.xhtml">TimelineModel.cpp</a>.</p> |
| <div class="fragment"><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>  <span class="keyword">auto</span> iter = m_Entities.find(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">if</span> (iter != m_Entities.end())</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>  <span class="keywordflow">return</span> &(iter->second);</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">else</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a8db25f5859a4b75ffc326ae7f4851015"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a8db25f5859a4b75ffc326ae7f4851015">◆ </a></span>findRelationship()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_model_relationship.xhtml">ModelRelationship</a> * findRelationship </td> |
| <td>(</td> |
| <td class="paramtype">uint64_t </td> |
| <td class="paramname"><em>id</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p class="definition">Definition at line <a class="el" href="_timeline_model_8cpp_source.xhtml#l00042">42</a> of file <a class="el" href="_timeline_model_8cpp_source.xhtml">TimelineModel.cpp</a>.</p> |
| <div class="fragment"><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>  <span class="keyword">auto</span> iter = m_Relationships.find(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">if</span> (iter != m_Relationships.end())</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">return</span> &(iter->second);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  }</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li>src/profiling/test/<a class="el" href="_timeline_model_8hpp_source.xhtml">TimelineModel.hpp</a></li> |
| <li>src/profiling/test/<a class="el" href="_timeline_model_8cpp_source.xhtml">TimelineModel.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_timeline_model.xhtml">TimelineModel</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> |