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: NeonTimer 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_neon_timer.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-types">Public Types</a> | |
| 99 | <a href="#pub-methods">Public Member Functions</a> | |
| 100 | <a href="classarmnn_1_1_neon_timer-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">NeonTimer Class Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_neon_timer_8hpp_source.xhtml">NeonTimer.hpp</a>></code></p> |
| 107 | <div class="dynheader"> |
| 108 | Inheritance diagram for NeonTimer:</div> |
| 109 | <div class="dyncontent"> |
| 110 | <div class="center"> |
| 111 | <img src="classarmnn_1_1_neon_timer.png" usemap="#NeonTimer_map" alt=""/> |
| 112 | <map id="NeonTimer_map" name="NeonTimer_map"> |
| 113 | <area href="classarmnn_1_1_instrument.xhtml" alt="Instrument" shape="rect" coords="0,0,73,24"/> |
| 114 | </map> |
| 115 | </div></div> |
| 116 | <table class="memberdecls"> |
| 117 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 118 | Public Types</h2></td></tr> |
| 119 | <tr class="memitem:a278b62df38ce93dfb6de3fa2a711f5bb"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_neon_timer.xhtml#a278b62df38ce93dfb6de3fa2a711f5bb">KernelMeasurements</a> = std::vector< <a class="el" href="structarmnn_1_1_measurement.xhtml">Measurement</a> ></td></tr> |
| 120 | <tr class="separator:a278b62df38ce93dfb6de3fa2a711f5bb"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | </table><table class="memberdecls"> |
| 122 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 123 | Public Member Functions</h2></td></tr> |
| 124 | <tr class="memitem:a5c6f81ce68d345e58fc8619b70d417a1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_neon_timer.xhtml#a5c6f81ce68d345e58fc8619b70d417a1">NeonTimer</a> ()=default</td></tr> |
| 125 | <tr class="separator:a5c6f81ce68d345e58fc8619b70d417a1"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a429daeaff53e4e59cdac2ad3e99618c1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_neon_timer.xhtml#a429daeaff53e4e59cdac2ad3e99618c1">~NeonTimer</a> ()=default</td></tr> |
| 127 | <tr class="separator:a429daeaff53e4e59cdac2ad3e99618c1"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:a156f3866ca69d98b4d9e6e1c1b3ec7da"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_neon_timer.xhtml#a156f3866ca69d98b4d9e6e1c1b3ec7da">Start</a> () override</td></tr> |
| 129 | <tr class="separator:a156f3866ca69d98b4d9e6e1c1b3ec7da"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:a634c58de2126b4a4e6a2a093e60e1290"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_neon_timer.xhtml#a634c58de2126b4a4e6a2a093e60e1290">Stop</a> () override</td></tr> |
| 131 | <tr class="separator:a634c58de2126b4a4e6a2a093e60e1290"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a86ea36032637c02c045f2d433036a203"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="structarmnn_1_1_measurement.xhtml">Measurement</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_neon_timer.xhtml#a86ea36032637c02c045f2d433036a203">GetMeasurements</a> () const override</td></tr> |
| 133 | <tr class="separator:a86ea36032637c02c045f2d433036a203"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:ad47edad463024345ce1409153c259215"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_neon_timer.xhtml#ad47edad463024345ce1409153c259215">GetName</a> () const override</td></tr> |
| 135 | <tr class="separator:ad47edad463024345ce1409153c259215"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="inherit_header pub_methods_classarmnn_1_1_instrument"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_instrument')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_instrument.xhtml">Instrument</a></td></tr> |
| 137 | <tr class="memitem:a37a2de9b867820a7ab15b8dc8d62b153 inherit pub_methods_classarmnn_1_1_instrument"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_instrument.xhtml#a37a2de9b867820a7ab15b8dc8d62b153">~Instrument</a> ()</td></tr> |
| 138 | <tr class="separator:a37a2de9b867820a7ab15b8dc8d62b153 inherit pub_methods_classarmnn_1_1_instrument"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | </table> |
| 140 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 141 | <div class="textblock"> |
| 142 | <p class="definition">Definition at line <a class="el" href="_neon_timer_8hpp_source.xhtml#l00021">21</a> of file <a class="el" href="_neon_timer_8hpp_source.xhtml">NeonTimer.hpp</a>.</p> |
| 143 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 144 | <a id="a278b62df38ce93dfb6de3fa2a711f5bb"></a> |
| 145 | <h2 class="memtitle"><span class="permalink"><a href="#a278b62df38ce93dfb6de3fa2a711f5bb">◆ </a></span>KernelMeasurements</h2> |
| 146 | |
| 147 | <div class="memitem"> |
| 148 | <div class="memproto"> |
| 149 | <table class="memname"> |
| 150 | <tr> |
| 151 | <td class="memname">using <a class="el" href="classarmnn_1_1_neon_timer.xhtml#a278b62df38ce93dfb6de3fa2a711f5bb">KernelMeasurements</a> = std::vector<<a class="el" href="structarmnn_1_1_measurement.xhtml">Measurement</a>></td> |
| 152 | </tr> |
| 153 | </table> |
| 154 | </div><div class="memdoc"> |
| 155 | |
| 156 | <p class="definition">Definition at line <a class="el" href="_neon_timer_8hpp_source.xhtml#l00024">24</a> of file <a class="el" href="_neon_timer_8hpp_source.xhtml">NeonTimer.hpp</a>.</p> |
| 157 | |
| 158 | </div> |
| 159 | </div> |
| 160 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 161 | <a id="a5c6f81ce68d345e58fc8619b70d417a1"></a> |
| 162 | <h2 class="memtitle"><span class="permalink"><a href="#a5c6f81ce68d345e58fc8619b70d417a1">◆ </a></span>NeonTimer()</h2> |
| 163 | |
| 164 | <div class="memitem"> |
| 165 | <div class="memproto"> |
| 166 | <table class="mlabels"> |
| 167 | <tr> |
| 168 | <td class="mlabels-left"> |
| 169 | <table class="memname"> |
| 170 | <tr> |
| 171 | <td class="memname"><a class="el" href="classarmnn_1_1_neon_timer.xhtml">NeonTimer</a> </td> |
| 172 | <td>(</td> |
| 173 | <td class="paramname"></td><td>)</td> |
| 174 | <td></td> |
| 175 | </tr> |
| 176 | </table> |
| 177 | </td> |
| 178 | <td class="mlabels-right"> |
| 179 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 180 | </tr> |
| 181 | </table> |
| 182 | </div><div class="memdoc"> |
| 183 | |
| 184 | </div> |
| 185 | </div> |
| 186 | <a id="a429daeaff53e4e59cdac2ad3e99618c1"></a> |
| 187 | <h2 class="memtitle"><span class="permalink"><a href="#a429daeaff53e4e59cdac2ad3e99618c1">◆ </a></span>~NeonTimer()</h2> |
| 188 | |
| 189 | <div class="memitem"> |
| 190 | <div class="memproto"> |
| 191 | <table class="mlabels"> |
| 192 | <tr> |
| 193 | <td class="mlabels-left"> |
| 194 | <table class="memname"> |
| 195 | <tr> |
| 196 | <td class="memname">~<a class="el" href="classarmnn_1_1_neon_timer.xhtml">NeonTimer</a> </td> |
| 197 | <td>(</td> |
| 198 | <td class="paramname"></td><td>)</td> |
| 199 | <td></td> |
| 200 | </tr> |
| 201 | </table> |
| 202 | </td> |
| 203 | <td class="mlabels-right"> |
| 204 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 205 | </tr> |
| 206 | </table> |
| 207 | </div><div class="memdoc"> |
| 208 | |
| 209 | </div> |
| 210 | </div> |
| 211 | <h2 class="groupheader">Member Function Documentation</h2> |
| 212 | <a id="a86ea36032637c02c045f2d433036a203"></a> |
| 213 | <h2 class="memtitle"><span class="permalink"><a href="#a86ea36032637c02c045f2d433036a203">◆ </a></span>GetMeasurements()</h2> |
| 214 | |
| 215 | <div class="memitem"> |
| 216 | <div class="memproto"> |
| 217 | <table class="mlabels"> |
| 218 | <tr> |
| 219 | <td class="mlabels-left"> |
| 220 | <table class="memname"> |
| 221 | <tr> |
| 222 | <td class="memname">std::vector< <a class="el" href="structarmnn_1_1_measurement.xhtml">Measurement</a> > GetMeasurements </td> |
| 223 | <td>(</td> |
| 224 | <td class="paramname"></td><td>)</td> |
| 225 | <td> const</td> |
| 226 | </tr> |
| 227 | </table> |
| 228 | </td> |
| 229 | <td class="mlabels-right"> |
| 230 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 231 | </tr> |
| 232 | </table> |
| 233 | </div><div class="memdoc"> |
| 234 | |
| 235 | <p>Implements <a class="el" href="classarmnn_1_1_instrument.xhtml#a4055fcf05306a7478db7e192cf1e679d">Instrument</a>.</p> |
| 236 | |
| 237 | <p class="definition">Definition at line <a class="el" href="_neon_timer_8cpp_source.xhtml#l00045">45</a> of file <a class="el" href="_neon_timer_8cpp_source.xhtml">NeonTimer.cpp</a>.</p> |
| 238 | |
| 239 | <p class="reference">References <a class="el" href="_neon_timer_8cpp_source.xhtml#l00058">NeonTimer::GetName()</a>.</p> |
| 240 | <div class="fragment"><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>  std::vector<Measurement> measurements = m_Kernels;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> kernel_number = 0;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span> & kernel : measurements)</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>  std::string kernelName = std::string(this-><a class="code" href="classarmnn_1_1_neon_timer.xhtml#ad47edad463024345ce1409153c259215">GetName</a>()) + <span class="stringliteral">"/"</span> + std::to_string(kernel_number++) + <span class="stringliteral">": "</span> + kernel</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  .m_Name;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  kernel.m_Name = kernelName;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> measurements;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> }</div><div class="ttc" id="classarmnn_1_1_neon_timer_xhtml_ad47edad463024345ce1409153c259215"><div class="ttname"><a href="classarmnn_1_1_neon_timer.xhtml#ad47edad463024345ce1409153c259215">armnn::NeonTimer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdef"><b>Definition:</b> <a href="_neon_timer_8cpp_source.xhtml#l00058">NeonTimer.cpp:58</a></div></div> |
| 241 | </div><!-- fragment --> |
| 242 | </div> |
| 243 | </div> |
| 244 | <a id="ad47edad463024345ce1409153c259215"></a> |
| 245 | <h2 class="memtitle"><span class="permalink"><a href="#ad47edad463024345ce1409153c259215">◆ </a></span>GetName()</h2> |
| 246 | |
| 247 | <div class="memitem"> |
| 248 | <div class="memproto"> |
| 249 | <table class="mlabels"> |
| 250 | <tr> |
| 251 | <td class="mlabels-left"> |
| 252 | <table class="memname"> |
| 253 | <tr> |
| 254 | <td class="memname">const char * GetName </td> |
| 255 | <td>(</td> |
| 256 | <td class="paramname"></td><td>)</td> |
| 257 | <td> const</td> |
| 258 | </tr> |
| 259 | </table> |
| 260 | </td> |
| 261 | <td class="mlabels-right"> |
| 262 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 263 | </tr> |
| 264 | </table> |
| 265 | </div><div class="memdoc"> |
| 266 | |
| 267 | <p>Implements <a class="el" href="classarmnn_1_1_instrument.xhtml#afcc1c3a20bd2860e0ddd21674389246f">Instrument</a>.</p> |
| 268 | |
| 269 | <p class="definition">Definition at line <a class="el" href="_neon_timer_8cpp_source.xhtml#l00058">58</a> of file <a class="el" href="_neon_timer_8cpp_source.xhtml">NeonTimer.cpp</a>.</p> |
| 270 | |
| 271 | <p class="reference">Referenced by <a class="el" href="_neon_timer_test_8cpp_source.xhtml#l00031">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_neon_timer_8cpp_source.xhtml#l00045">NeonTimer::GetMeasurements()</a>.</p> |
| 272 | <div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> <span class="stringliteral">"NeonKernelTimer"</span>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div></div><!-- fragment --> |
| 273 | </div> |
| 274 | </div> |
| 275 | <a id="a156f3866ca69d98b4d9e6e1c1b3ec7da"></a> |
| 276 | <h2 class="memtitle"><span class="permalink"><a href="#a156f3866ca69d98b4d9e6e1c1b3ec7da">◆ </a></span>Start()</h2> |
| 277 | |
| 278 | <div class="memitem"> |
| 279 | <div class="memproto"> |
| 280 | <table class="mlabels"> |
| 281 | <tr> |
| 282 | <td class="mlabels-left"> |
| 283 | <table class="memname"> |
| 284 | <tr> |
| 285 | <td class="memname">void Start </td> |
| 286 | <td>(</td> |
| 287 | <td class="paramname"></td><td>)</td> |
| 288 | <td></td> |
| 289 | </tr> |
| 290 | </table> |
| 291 | </td> |
| 292 | <td class="mlabels-right"> |
| 293 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 294 | </tr> |
| 295 | </table> |
| 296 | </div><div class="memdoc"> |
| 297 | |
| 298 | <p>Implements <a class="el" href="classarmnn_1_1_instrument.xhtml#a63ce9b9c6710c0dae98f88d6c602313a">Instrument</a>.</p> |
| 299 | |
| 300 | <p class="definition">Definition at line <a class="el" href="_neon_timer_8cpp_source.xhtml#l00021">21</a> of file <a class="el" href="_neon_timer_8cpp_source.xhtml">NeonTimer.cpp</a>.</p> |
| 301 | |
| 302 | <p class="reference">Referenced by <a class="el" href="_neon_timer_test_8cpp_source.xhtml#l00037">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 303 | <div class="fragment"><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>  m_Kernels.clear();</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  BOOST_ASSERT(g_Interceptor->GetKernels() == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  g_Interceptor->SetKernels(&m_Kernels);</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>  m_RealSchedulerType = arm_compute::Scheduler::get_type();</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">//Note: We can't currently replace a custom scheduler</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">if</span>(m_RealSchedulerType != arm_compute::Scheduler::Type::CUSTOM)</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="comment">// Keep the real schedule and add NeonInterceptorScheduler as an interceptor</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  m_RealScheduler = &arm_compute::Scheduler::get();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  arm_compute::Scheduler::set(std::static_pointer_cast<arm_compute::IScheduler>(g_Interceptor));</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 --> |
| 304 | </div> |
| 305 | </div> |
| 306 | <a id="a634c58de2126b4a4e6a2a093e60e1290"></a> |
| 307 | <h2 class="memtitle"><span class="permalink"><a href="#a634c58de2126b4a4e6a2a093e60e1290">◆ </a></span>Stop()</h2> |
| 308 | |
| 309 | <div class="memitem"> |
| 310 | <div class="memproto"> |
| 311 | <table class="mlabels"> |
| 312 | <tr> |
| 313 | <td class="mlabels-left"> |
| 314 | <table class="memname"> |
| 315 | <tr> |
| 316 | <td class="memname">void Stop </td> |
| 317 | <td>(</td> |
| 318 | <td class="paramname"></td><td>)</td> |
| 319 | <td></td> |
| 320 | </tr> |
| 321 | </table> |
| 322 | </td> |
| 323 | <td class="mlabels-right"> |
| 324 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 325 | </tr> |
| 326 | </table> |
| 327 | </div><div class="memdoc"> |
| 328 | |
| 329 | <p>Implements <a class="el" href="classarmnn_1_1_instrument.xhtml#a4d7bebcc22c1b09cf961b83bf84033b6">Instrument</a>.</p> |
| 330 | |
| 331 | <p class="definition">Definition at line <a class="el" href="_neon_timer_8cpp_source.xhtml#l00037">37</a> of file <a class="el" href="_neon_timer_8cpp_source.xhtml">NeonTimer.cpp</a>.</p> |
| 332 | <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>  <span class="comment">// Restore real scheduler</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  g_Interceptor->SetKernels(<span class="keyword">nullptr</span>);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  arm_compute::Scheduler::set(m_RealSchedulerType);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  m_RealScheduler = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div></div><!-- fragment --> |
| 333 | </div> |
| 334 | </div> |
| 335 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 336 | <li>src/backends/neon/<a class="el" href="_neon_timer_8hpp_source.xhtml">NeonTimer.hpp</a></li> |
| 337 | <li>src/backends/neon/<a class="el" href="_neon_timer_8cpp_source.xhtml">NeonTimer.cpp</a></li> |
| 338 | </ul> |
| 339 | </div><!-- contents --> |
| 340 | </div><!-- doc-content --> |
| 341 | <!-- start footer part --> |
| 342 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 343 | <ul> |
| 344 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_neon_timer.xhtml">NeonTimer</a></li> |
| 345 | <li class="footer">Generated on Fri Mar 13 2020 16:09:19 for ArmNN by |
| 346 | <a href="http://www.doxygen.org/index.html"> |
| 347 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 348 | </ul> |
| 349 | </div> |
| 350 | </body> |
| 351 | </html> |