blob: 590d51a12d045287d70e0157d7f250cc779ec037 [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.13"/>
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
8<title>ArmNN: ProfilerManager Class Reference</title>
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="dynsections.js"></script>
12<link href="navtree.css" rel="stylesheet" type="text/css"/>
13<script type="text/javascript" src="resize.js"></script>
14<script type="text/javascript" src="navtreedata.js"></script>
15<script type="text/javascript" src="navtree.js"></script>
16<script type="text/javascript">
17 $(document).ready(initResizable);
18</script>
19<link href="search/search.css" rel="stylesheet" type="text/css"/>
20<script type="text/javascript" src="search/searchdata.js"></script>
21<script type="text/javascript" src="search/search.js"></script>
22<link href="doxygen.css" rel="stylesheet" type="text/css" />
23</head>
24<body>
25<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26<div id="titlearea">
27<table cellspacing="0" cellpadding="0">
28 <tbody>
29 <tr style="height: 56px;">
30 <td id="projectalign" style="padding-left: 0.5em;">
31 <div id="projectname">ArmNN
32 &#160;<span id="projectnumber">NotReleased</span>
33 </div>
34 </td>
35 </tr>
36 </tbody>
37</table>
38</div>
39<!-- end header part -->
40<!-- Generated by Doxygen 1.8.13 -->
41<script type="text/javascript">
42var searchBox = new SearchBox("searchBox", "search",false,'Search');
43</script>
44<script type="text/javascript" src="menudata.js"></script>
45<script type="text/javascript" src="menu.js"></script>
46<script type="text/javascript">
47$(function() {
48 initMenu('',true,false,'search.php','Search');
49 $(document).ready(function() { init_search(); });
50});
51</script>
52<div id="main-nav"></div>
53</div><!-- top -->
54<div id="side-nav" class="ui-resizable side-nav-resizable">
55 <div id="nav-tree">
56 <div id="nav-tree-contents">
57 <div id="nav-sync" class="sync"></div>
58 </div>
59 </div>
60 <div id="splitbar" style="-moz-user-select:none;"
61 class="ui-resizable-handle">
62 </div>
63</div>
64<script type="text/javascript">
65$(document).ready(function(){initNavTree('classarmnn_1_1_profiler_manager.html','');});
66</script>
67<div id="doc-content">
68<!-- window showing the filter options -->
69<div id="MSearchSelectWindow"
70 onmouseover="return searchBox.OnSearchSelectShow()"
71 onmouseout="return searchBox.OnSearchSelectHide()"
72 onkeydown="return searchBox.OnSearchSelectKey(event)">
73</div>
74
75<!-- iframe showing the search results (closed by default) -->
76<div id="MSearchResultsWindow">
77<iframe src="javascript:void(0)" frameborder="0"
78 name="MSearchResults" id="MSearchResults">
79</iframe>
80</div>
81
82<div class="header">
83 <div class="summary">
84<a href="#pub-methods">Public Member Functions</a> &#124;
85<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
86<a href="classarmnn_1_1_profiler_manager-members.html">List of all members</a> </div>
87 <div class="headertitle">
88<div class="title">ProfilerManager Class Reference</div> </div>
89</div><!--header-->
90<div class="contents">
91
92<p><code>#include &lt;<a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a>&gt;</code></p>
93<table class="memberdecls">
94<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
95Public Member Functions</h2></td></tr>
96<tr class="memitem:a029a40ab5d837b3d4f5d3900ceb6a8f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler_manager.html#a029a40ab5d837b3d4f5d3900ceb6a8f9">RegisterProfiler</a> (<a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> *profiler)</td></tr>
97<tr class="separator:a029a40ab5d837b3d4f5d3900ceb6a8f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
98<tr class="memitem:a18fdcafb1d421ba99c48205d93115936"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler_manager.html#a18fdcafb1d421ba99c48205d93115936">GetProfiler</a> ()</td></tr>
99<tr class="separator:a18fdcafb1d421ba99c48205d93115936"><td class="memSeparator" colspan="2">&#160;</td></tr>
100</table><table class="memberdecls">
101<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
102Static Public Member Functions</h2></td></tr>
103<tr class="memitem:a93857080c2523bf3395e7aa7e6024d5c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_1_1_profiler_manager.html">ProfilerManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler_manager.html#a93857080c2523bf3395e7aa7e6024d5c">GetInstance</a> ()</td></tr>
104<tr class="separator:a93857080c2523bf3395e7aa7e6024d5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
105</table>
106<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
107<div class="textblock">
108<p class="definition">Definition at line <a class="el" href="_profiling_8hpp_source.html#l00094">94</a> of file <a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a>.</p>
109</div><h2 class="groupheader">Member Function Documentation</h2>
110<a id="a93857080c2523bf3395e7aa7e6024d5c"></a>
111<h2 class="memtitle"><span class="permalink"><a href="#a93857080c2523bf3395e7aa7e6024d5c">&#9670;&nbsp;</a></span>GetInstance()</h2>
112
113<div class="memitem">
114<div class="memproto">
115<table class="mlabels">
116 <tr>
117 <td class="mlabels-left">
118 <table class="memname">
119 <tr>
120 <td class="memname"><a class="el" href="classarmnn_1_1_profiler_manager.html">ProfilerManager</a> &amp; GetInstance </td>
121 <td>(</td>
122 <td class="paramname"></td><td>)</td>
123 <td></td>
124 </tr>
125 </table>
126 </td>
127 <td class="mlabels-right">
128<span class="mlabels"><span class="mlabel">static</span></span> </td>
129 </tr>
130</table>
131</div><div class="memdoc">
132
133<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00486">486</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
134
135<p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.html#l00109">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.html#l00139">DetectionPostProcessImpl()</a>, <a class="el" href="_profiler_tests_8cpp_source.html#l00022">armnn::GetProfilerEventSequenceSize()</a>, <a class="el" href="_json_printer_test_impl_8cpp_source.html#l00120">GetSoftmaxProfilerJson()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00085">LoadedNetwork::MakeLoadedNetwork()</a>, <a class="el" href="_unit_tests_8hpp_source.html#l00063">RunTestFunction()</a>, and <a class="el" href="_profiling_8cpp_source.html#l00176">Profiler::~Profiler()</a>.</p>
136<div class="fragment"><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160;{</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="comment">// Global reference to the single ProfileManager instance allowed.</span></div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; <span class="keyword">static</span> ProfilerManager s_ProfilerManager;</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; <span class="keywordflow">return</span> s_ProfilerManager;</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160;}</div></div><!-- fragment -->
137</div>
138</div>
139<a id="a18fdcafb1d421ba99c48205d93115936"></a>
140<h2 class="memtitle"><span class="permalink"><a href="#a18fdcafb1d421ba99c48205d93115936">&#9670;&nbsp;</a></span>GetProfiler()</h2>
141
142<div class="memitem">
143<div class="memproto">
144 <table class="memname">
145 <tr>
146 <td class="memname"><a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> * GetProfiler </td>
147 <td>(</td>
148 <td class="paramname"></td><td>)</td>
149 <td></td>
150 </tr>
151 </table>
152</div><div class="memdoc">
153
154<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00498">498</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
155
156<p class="reference">References <a class="el" href="_profiling_8cpp_source.html#l00484">armnn::tl_Profiler</a>.</p>
157
158<p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.html#l00109">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiler_tests_8cpp_source.html#l00022">armnn::GetProfilerEventSequenceSize()</a>.</p>
159<div class="fragment"><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;{</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a680b729be51e88d93f2cbbdfeb5eaf4d">tl_Profiler</a>;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;}</div><div class="ttc" id="namespacearmnn_html_a680b729be51e88d93f2cbbdfeb5eaf4d"><div class="ttname"><a href="namespacearmnn.html#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.html#l00484">Profiling.cpp:484</a></div></div>
160</div><!-- fragment -->
161</div>
162</div>
163<a id="a029a40ab5d837b3d4f5d3900ceb6a8f9"></a>
164<h2 class="memtitle"><span class="permalink"><a href="#a029a40ab5d837b3d4f5d3900ceb6a8f9">&#9670;&nbsp;</a></span>RegisterProfiler()</h2>
165
166<div class="memitem">
167<div class="memproto">
168 <table class="memname">
169 <tr>
170 <td class="memname">void RegisterProfiler </td>
171 <td>(</td>
172 <td class="paramtype"><a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> *&#160;</td>
173 <td class="paramname"><em>profiler</em></td><td>)</td>
174 <td></td>
175 </tr>
176 </table>
177</div><div class="memdoc">
178
179<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00493">493</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
180
181<p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.html#l00109">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.html#l00139">DetectionPostProcessImpl()</a>, <a class="el" href="_profiler_tests_8cpp_source.html#l00022">armnn::GetProfilerEventSequenceSize()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00085">LoadedNetwork::MakeLoadedNetwork()</a>, <a class="el" href="_unit_tests_8hpp_source.html#l00063">RunTestFunction()</a>, and <a class="el" href="_profiling_8cpp_source.html#l00176">Profiler::~Profiler()</a>.</p>
182<div class="fragment"><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160;{</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160; <a class="code" href="namespacearmnn.html#a680b729be51e88d93f2cbbdfeb5eaf4d">tl_Profiler</a> = profiler;</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160;}</div><div class="ttc" id="namespacearmnn_html_a680b729be51e88d93f2cbbdfeb5eaf4d"><div class="ttname"><a href="namespacearmnn.html#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.html#l00484">Profiling.cpp:484</a></div></div>
183</div><!-- fragment -->
184</div>
185</div>
186<hr/>The documentation for this class was generated from the following files:<ul>
187<li>src/armnn/<a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a></li>
188<li>src/armnn/<a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a></li>
189</ul>
190</div><!-- contents -->
191</div><!-- doc-content -->
192<!-- start footer part -->
193<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
194 <ul>
195 <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_profiler_manager.html">ProfilerManager</a></li>
196 <li class="footer">Generated on Fri Mar 13 2020 16:07:04 for ArmNN by
197 <a href="http://www.doxygen.org/index.html">
198 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
199 </ul>
200</div>
201</body>
202</html>