Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- 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: ProfilerManager 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 |  <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"> |
| 56 | var 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_1_profiler_manager.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> | |
| 99 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 100 | <a href="classarmnn_1_1_profiler_manager-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">ProfilerManager Class Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_profiling_8hpp_source.xhtml">Profiling.hpp</a>></code></p> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 109 | Public Member Functions</h2></td></tr> |
| 110 | <tr class="memitem:a029a40ab5d837b3d4f5d3900ceb6a8f9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler_manager.xhtml#a029a40ab5d837b3d4f5d3900ceb6a8f9">RegisterProfiler</a> (<a class="el" href="classarmnn_1_1_profiler.xhtml">Profiler</a> *profiler)</td></tr> |
| 111 | <tr class="separator:a029a40ab5d837b3d4f5d3900ceb6a8f9"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a18fdcafb1d421ba99c48205d93115936"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_profiler.xhtml">Profiler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler_manager.xhtml#a18fdcafb1d421ba99c48205d93115936">GetProfiler</a> ()</td></tr> |
| 113 | <tr class="separator:a18fdcafb1d421ba99c48205d93115936"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | </table><table class="memberdecls"> |
| 115 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 116 | Static Public Member Functions</h2></td></tr> |
| 117 | <tr class="memitem:a93857080c2523bf3395e7aa7e6024d5c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_1_1_profiler_manager.xhtml">ProfilerManager</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler_manager.xhtml#a93857080c2523bf3395e7aa7e6024d5c">GetInstance</a> ()</td></tr> |
| 118 | <tr class="separator:a93857080c2523bf3395e7aa7e6024d5c"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | </table> |
| 120 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 121 | <div class="textblock"> |
| 122 | <p class="definition">Definition at line <a class="el" href="_profiling_8hpp_source.xhtml#l00093">93</a> of file <a class="el" href="_profiling_8hpp_source.xhtml">Profiling.hpp</a>.</p> |
| 123 | </div><h2 class="groupheader">Member Function Documentation</h2> |
| 124 | <a id="a93857080c2523bf3395e7aa7e6024d5c"></a> |
| 125 | <h2 class="memtitle"><span class="permalink"><a href="#a93857080c2523bf3395e7aa7e6024d5c">◆ </a></span>GetInstance()</h2> |
| 126 | |
| 127 | <div class="memitem"> |
| 128 | <div class="memproto"> |
| 129 | <table class="mlabels"> |
| 130 | <tr> |
| 131 | <td class="mlabels-left"> |
| 132 | <table class="memname"> |
| 133 | <tr> |
| 134 | <td class="memname"><a class="el" href="classarmnn_1_1_profiler_manager.xhtml">ProfilerManager</a> & GetInstance </td> |
| 135 | <td>(</td> |
| 136 | <td class="paramname"></td><td>)</td> |
| 137 | <td></td> |
| 138 | </tr> |
| 139 | </table> |
| 140 | </td> |
| 141 | <td class="mlabels-right"> |
| 142 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 143 | </tr> |
| 144 | </table> |
| 145 | </div><div class="memdoc"> |
| 146 | |
| 147 | <p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.xhtml#l00487">487</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> |
| 148 | |
| 149 | <p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.xhtml#l00110">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00139">DetectionPostProcessImpl()</a>, <a class="el" href="_profiler_tests_8cpp_source.xhtml#l00023">armnn::GetProfilerEventSequenceSize()</a>, <a class="el" href="_json_printer_test_impl_8cpp_source.xhtml#l00120">GetSoftmaxProfilerJson()</a>, <a class="el" href="_loaded_network_8cpp_source.xhtml#l00085">LoadedNetwork::MakeLoadedNetwork()</a>, <a class="el" href="_unit_tests_8hpp_source.xhtml#l00063">RunTestFunction()</a>, and <a class="el" href="_profiling_8cpp_source.xhtml#l00177">Profiler::~Profiler()</a>.</p> |
| 150 | <div class="fragment"><div class="line"><a name="l00488"></a><span class="lineno"> 488</span> {</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  <span class="comment">// Global reference to the single ProfileManager instance allowed.</span></div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="keyword">static</span> ProfilerManager s_ProfilerManager;</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keywordflow">return</span> s_ProfilerManager;</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> }</div></div><!-- fragment --> |
| 151 | </div> |
| 152 | </div> |
| 153 | <a id="a18fdcafb1d421ba99c48205d93115936"></a> |
| 154 | <h2 class="memtitle"><span class="permalink"><a href="#a18fdcafb1d421ba99c48205d93115936">◆ </a></span>GetProfiler()</h2> |
| 155 | |
| 156 | <div class="memitem"> |
| 157 | <div class="memproto"> |
| 158 | <table class="memname"> |
| 159 | <tr> |
| 160 | <td class="memname"><a class="el" href="classarmnn_1_1_profiler.xhtml">Profiler</a> * GetProfiler </td> |
| 161 | <td>(</td> |
| 162 | <td class="paramname"></td><td>)</td> |
| 163 | <td></td> |
| 164 | </tr> |
| 165 | </table> |
| 166 | </div><div class="memdoc"> |
| 167 | |
| 168 | <p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.xhtml#l00499">499</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> |
| 169 | |
| 170 | <p class="reference">References <a class="el" href="_profiling_8cpp_source.xhtml#l00485">armnn::tl_Profiler</a>.</p> |
| 171 | |
| 172 | <p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.xhtml#l00110">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiler_tests_8cpp_source.xhtml#l00023">armnn::GetProfilerEventSequenceSize()</a>.</p> |
| 173 | <div class="fragment"><div class="line"><a name="l00500"></a><span class="lineno"> 500</span> {</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a680b729be51e88d93f2cbbdfeb5eaf4d">tl_Profiler</a>;</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a680b729be51e88d93f2cbbdfeb5eaf4d"><div class="ttname"><a href="namespacearmnn.xhtml#a680b729be51e88d93f2cbbdfeb5eaf4d">armnn::tl_Profiler</a></div><div class="ttdeci">thread_local Profiler * tl_Profiler</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8cpp_source.xhtml#l00485">Profiling.cpp:485</a></div></div> |
| 174 | </div><!-- fragment --> |
| 175 | </div> |
| 176 | </div> |
| 177 | <a id="a029a40ab5d837b3d4f5d3900ceb6a8f9"></a> |
| 178 | <h2 class="memtitle"><span class="permalink"><a href="#a029a40ab5d837b3d4f5d3900ceb6a8f9">◆ </a></span>RegisterProfiler()</h2> |
| 179 | |
| 180 | <div class="memitem"> |
| 181 | <div class="memproto"> |
| 182 | <table class="memname"> |
| 183 | <tr> |
| 184 | <td class="memname">void RegisterProfiler </td> |
| 185 | <td>(</td> |
| 186 | <td class="paramtype"><a class="el" href="classarmnn_1_1_profiler.xhtml">Profiler</a> * </td> |
| 187 | <td class="paramname"><em>profiler</em></td><td>)</td> |
| 188 | <td></td> |
| 189 | </tr> |
| 190 | </table> |
| 191 | </div><div class="memdoc"> |
| 192 | |
| 193 | <p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.xhtml#l00494">494</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> |
| 194 | |
| 195 | <p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.xhtml#l00110">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00139">DetectionPostProcessImpl()</a>, <a class="el" href="_profiler_tests_8cpp_source.xhtml#l00023">armnn::GetProfilerEventSequenceSize()</a>, <a class="el" href="_loaded_network_8cpp_source.xhtml#l00085">LoadedNetwork::MakeLoadedNetwork()</a>, <a class="el" href="_unit_tests_8hpp_source.xhtml#l00063">RunTestFunction()</a>, and <a class="el" href="_profiling_8cpp_source.xhtml#l00177">Profiler::~Profiler()</a>.</p> |
| 196 | <div class="fragment"><div class="line"><a name="l00495"></a><span class="lineno"> 495</span> {</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <a class="code" href="namespacearmnn.xhtml#a680b729be51e88d93f2cbbdfeb5eaf4d">tl_Profiler</a> = profiler;</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a680b729be51e88d93f2cbbdfeb5eaf4d"><div class="ttname"><a href="namespacearmnn.xhtml#a680b729be51e88d93f2cbbdfeb5eaf4d">armnn::tl_Profiler</a></div><div class="ttdeci">thread_local Profiler * tl_Profiler</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8cpp_source.xhtml#l00485">Profiling.cpp:485</a></div></div> |
| 197 | </div><!-- fragment --> |
| 198 | </div> |
| 199 | </div> |
| 200 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 201 | <li>src/armnn/<a class="el" href="_profiling_8hpp_source.xhtml">Profiling.hpp</a></li> |
| 202 | <li>src/armnn/<a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a></li> |
| 203 | </ul> |
| 204 | </div><!-- contents --> |
| 205 | </div><!-- doc-content --> |
| 206 | <!-- start footer part --> |
| 207 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 208 | <ul> |
| 209 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_profiler_manager.xhtml">ProfilerManager</a></li> |
| 210 | <li class="footer">Generated on Fri Mar 13 2020 16:09:19 for ArmNN by |
| 211 | <a href="http://www.doxygen.org/index.html"> |
| 212 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 213 | </ul> |
| 214 | </div> |
| 215 | </body> |
| 216 | </html> |