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: CaptureData 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_1profiling_1_1_capture_data.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="classarmnn_1_1profiling_1_1_capture_data-members.xhtml">List of all members</a> </div> |
| 100 | <div class="headertitle"> |
| 101 | <div class="title">CaptureData Class Reference</div> </div> |
| 102 | </div><!--header--> |
| 103 | <div class="contents"> |
| 104 | |
| 105 | <p><code>#include <<a class="el" href="_holder_8hpp_source.xhtml">Holder.hpp</a>></code></p> |
| 106 | <table class="memberdecls"> |
| 107 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 108 | Public Member Functions</h2></td></tr> |
| 109 | <tr class="memitem:a73f0c60fd40a3eadde0fa4f4a7577674"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#a73f0c60fd40a3eadde0fa4f4a7577674">CaptureData</a> ()</td></tr> |
| 110 | <tr class="separator:a73f0c60fd40a3eadde0fa4f4a7577674"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:a68c959a2ba4e410f4c9cac0f72a662df"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#a68c959a2ba4e410f4c9cac0f72a662df">CaptureData</a> (uint32_t capturePeriod, std::vector< uint16_t > &counterIds, std::set< <a class="el" href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a> > activeBackends)</td></tr> |
| 112 | <tr class="separator:a68c959a2ba4e410f4c9cac0f72a662df"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:af9e60e440b5281bd8c11d07ac6201570"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#af9e60e440b5281bd8c11d07ac6201570">CaptureData</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> &captureData)</td></tr> |
| 114 | <tr class="separator:af9e60e440b5281bd8c11d07ac6201570"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a204425f8f2aad46072de8e0b79fd6479"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#a204425f8f2aad46072de8e0b79fd6479">operator=</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> &other)</td></tr> |
| 116 | <tr class="separator:a204425f8f2aad46072de8e0b79fd6479"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a6cf584d99e273ff766db068b9fb040c5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#a6cf584d99e273ff766db068b9fb040c5">SetActiveBackends</a> (const std::set< <a class="el" href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a> > &activeBackends)</td></tr> |
| 118 | <tr class="separator:a6cf584d99e273ff766db068b9fb040c5"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:afe10396cc1bc0b90637e6070351661e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#afe10396cc1bc0b90637e6070351661e9">SetCapturePeriod</a> (uint32_t capturePeriod)</td></tr> |
| 120 | <tr class="separator:afe10396cc1bc0b90637e6070351661e9"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:af3d98d2ad9e92c4aa5fe7ef4732ac143"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#af3d98d2ad9e92c4aa5fe7ef4732ac143">SetCounterIds</a> (const std::vector< uint16_t > &counterIds)</td></tr> |
| 122 | <tr class="separator:af3d98d2ad9e92c4aa5fe7ef4732ac143"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a8386da56facf23364a6005a4769bf962"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#a8386da56facf23364a6005a4769bf962">GetCapturePeriod</a> () const</td></tr> |
| 124 | <tr class="separator:a8386da56facf23364a6005a4769bf962"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a47fc9ce6c654658dfeb9f8ed2071885e"><td class="memItemLeft" align="right" valign="top">const std::vector< uint16_t > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#a47fc9ce6c654658dfeb9f8ed2071885e">GetCounterIds</a> () const</td></tr> |
| 126 | <tr class="separator:a47fc9ce6c654658dfeb9f8ed2071885e"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:ae2a1f8f8ed6bb8676cdf908e1f22e5e7"><td class="memItemLeft" align="right" valign="top">const std::set< <a class="el" href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#ae2a1f8f8ed6bb8676cdf908e1f22e5e7">GetActiveBackends</a> () const</td></tr> |
| 128 | <tr class="separator:ae2a1f8f8ed6bb8676cdf908e1f22e5e7"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a42fa1ecb21b0d8c69e42c4b6a9a7444d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml#a42fa1ecb21b0d8c69e42c4b6a9a7444d">IsCounterIdInCaptureData</a> (uint16_t counterId)</td></tr> |
| 130 | <tr class="separator:a42fa1ecb21b0d8c69e42c4b6a9a7444d"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | </table> |
| 132 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 133 | <div class="textblock"> |
| 134 | <p class="definition">Definition at line <a class="el" href="_holder_8hpp_source.xhtml#l00019">19</a> of file <a class="el" href="_holder_8hpp_source.xhtml">Holder.hpp</a>.</p> |
| 135 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 136 | <a id="a73f0c60fd40a3eadde0fa4f4a7577674"></a> |
| 137 | <h2 class="memtitle"><span class="permalink"><a href="#a73f0c60fd40a3eadde0fa4f4a7577674">◆ </a></span>CaptureData() <span class="overload">[1/3]</span></h2> |
| 138 | |
| 139 | <div class="memitem"> |
| 140 | <div class="memproto"> |
| 141 | <table class="mlabels"> |
| 142 | <tr> |
| 143 | <td class="mlabels-left"> |
| 144 | <table class="memname"> |
| 145 | <tr> |
| 146 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> </td> |
| 147 | <td>(</td> |
| 148 | <td class="paramname"></td><td>)</td> |
| 149 | <td></td> |
| 150 | </tr> |
| 151 | </table> |
| 152 | </td> |
| 153 | <td class="mlabels-right"> |
| 154 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 155 | </tr> |
| 156 | </table> |
| 157 | </div><div class="memdoc"> |
| 158 | |
| 159 | <p class="definition">Definition at line <a class="el" href="_holder_8hpp_source.xhtml#l00022">22</a> of file <a class="el" href="_holder_8hpp_source.xhtml">Holder.hpp</a>.</p> |
| 160 | <div class="fragment"><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  : <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a>(0)</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  , m_CounterIds()</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  , m_ActiveBackends(){}</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a9a702f9af6f619f04b6accd536581917"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a></div><div class="ttdeci">options m_CapturePeriod</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00050">FileOnlyProfilingDecoratorTests.cpp:50</a></div></div> |
| 161 | </div><!-- fragment --> |
| 162 | </div> |
| 163 | </div> |
| 164 | <a id="a68c959a2ba4e410f4c9cac0f72a662df"></a> |
| 165 | <h2 class="memtitle"><span class="permalink"><a href="#a68c959a2ba4e410f4c9cac0f72a662df">◆ </a></span>CaptureData() <span class="overload">[2/3]</span></h2> |
| 166 | |
| 167 | <div class="memitem"> |
| 168 | <div class="memproto"> |
| 169 | <table class="mlabels"> |
| 170 | <tr> |
| 171 | <td class="mlabels-left"> |
| 172 | <table class="memname"> |
| 173 | <tr> |
| 174 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> </td> |
| 175 | <td>(</td> |
| 176 | <td class="paramtype">uint32_t </td> |
| 177 | <td class="paramname"><em>capturePeriod</em>, </td> |
| 178 | </tr> |
| 179 | <tr> |
| 180 | <td class="paramkey"></td> |
| 181 | <td></td> |
| 182 | <td class="paramtype">std::vector< uint16_t > & </td> |
| 183 | <td class="paramname"><em>counterIds</em>, </td> |
| 184 | </tr> |
| 185 | <tr> |
| 186 | <td class="paramkey"></td> |
| 187 | <td></td> |
| 188 | <td class="paramtype">std::set< <a class="el" href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a> > </td> |
| 189 | <td class="paramname"><em>activeBackends</em> </td> |
| 190 | </tr> |
| 191 | <tr> |
| 192 | <td></td> |
| 193 | <td>)</td> |
| 194 | <td></td><td></td> |
| 195 | </tr> |
| 196 | </table> |
| 197 | </td> |
| 198 | <td class="mlabels-right"> |
| 199 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 200 | </tr> |
| 201 | </table> |
| 202 | </div><div class="memdoc"> |
| 203 | |
| 204 | <p class="definition">Definition at line <a class="el" href="_holder_8hpp_source.xhtml#l00026">26</a> of file <a class="el" href="_holder_8hpp_source.xhtml">Holder.hpp</a>.</p> |
| 205 | <div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  : <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a>(capturePeriod)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  , m_CounterIds(counterIds)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  , m_ActiveBackends(activeBackends){}</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a9a702f9af6f619f04b6accd536581917"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a></div><div class="ttdeci">options m_CapturePeriod</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00050">FileOnlyProfilingDecoratorTests.cpp:50</a></div></div> |
| 206 | </div><!-- fragment --> |
| 207 | </div> |
| 208 | </div> |
| 209 | <a id="af9e60e440b5281bd8c11d07ac6201570"></a> |
| 210 | <h2 class="memtitle"><span class="permalink"><a href="#af9e60e440b5281bd8c11d07ac6201570">◆ </a></span>CaptureData() <span class="overload">[3/3]</span></h2> |
| 211 | |
| 212 | <div class="memitem"> |
| 213 | <div class="memproto"> |
| 214 | <table class="mlabels"> |
| 215 | <tr> |
| 216 | <td class="mlabels-left"> |
| 217 | <table class="memname"> |
| 218 | <tr> |
| 219 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> </td> |
| 220 | <td>(</td> |
| 221 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> & </td> |
| 222 | <td class="paramname"><em>captureData</em></td><td>)</td> |
| 223 | <td></td> |
| 224 | </tr> |
| 225 | </table> |
| 226 | </td> |
| 227 | <td class="mlabels-right"> |
| 228 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 229 | </tr> |
| 230 | </table> |
| 231 | </div><div class="memdoc"> |
| 232 | |
| 233 | <p class="definition">Definition at line <a class="el" href="_holder_8hpp_source.xhtml#l00030">30</a> of file <a class="el" href="_holder_8hpp_source.xhtml">Holder.hpp</a>.</p> |
| 234 | |
| 235 | <p class="reference">References <a class="el" href="_holder_8cpp_source.xhtml#l00039">CaptureData::GetActiveBackends()</a>, <a class="el" href="_holder_8cpp_source.xhtml#l00044">CaptureData::GetCapturePeriod()</a>, <a class="el" href="_holder_8cpp_source.xhtml#l00049">CaptureData::GetCounterIds()</a>, <a class="el" href="_holder_8cpp_source.xhtml#l00061">CaptureData::IsCounterIdInCaptureData()</a>, <a class="el" href="_holder_8cpp_source.xhtml#l00015">CaptureData::operator=()</a>, <a class="el" href="_holder_8cpp_source.xhtml#l00024">CaptureData::SetActiveBackends()</a>, <a class="el" href="_holder_8cpp_source.xhtml#l00029">CaptureData::SetCapturePeriod()</a>, and <a class="el" href="_holder_8cpp_source.xhtml#l00034">CaptureData::SetCounterIds()</a>.</p> |
| 236 | <div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  : <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a>(captureData.m_CapturePeriod)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  , m_CounterIds(captureData.m_CounterIds)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  , m_ActiveBackends(captureData.m_ActiveBackends){}</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a9a702f9af6f619f04b6accd536581917"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a></div><div class="ttdeci">options m_CapturePeriod</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00050">FileOnlyProfilingDecoratorTests.cpp:50</a></div></div> |
| 237 | </div><!-- fragment --> |
| 238 | </div> |
| 239 | </div> |
| 240 | <h2 class="groupheader">Member Function Documentation</h2> |
| 241 | <a id="ae2a1f8f8ed6bb8676cdf908e1f22e5e7"></a> |
| 242 | <h2 class="memtitle"><span class="permalink"><a href="#ae2a1f8f8ed6bb8676cdf908e1f22e5e7">◆ </a></span>GetActiveBackends()</h2> |
| 243 | |
| 244 | <div class="memitem"> |
| 245 | <div class="memproto"> |
| 246 | <table class="memname"> |
| 247 | <tr> |
| 248 | <td class="memname">const std::set< <a class="el" href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a> > & GetActiveBackends </td> |
| 249 | <td>(</td> |
| 250 | <td class="paramname"></td><td>)</td> |
| 251 | <td> const</td> |
| 252 | </tr> |
| 253 | </table> |
| 254 | </div><div class="memdoc"> |
| 255 | |
| 256 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00039">39</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 257 | |
| 258 | <p class="reference">Referenced by <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>, and <a class="el" href="_periodic_counter_selection_command_handler_8cpp_source.xhtml#l00059">PeriodicCounterSelectionCommandHandler::operator()()</a>.</p> |
| 259 | <div class="fragment"><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> m_ActiveBackends;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div></div><!-- fragment --> |
| 260 | </div> |
| 261 | </div> |
| 262 | <a id="a8386da56facf23364a6005a4769bf962"></a> |
| 263 | <h2 class="memtitle"><span class="permalink"><a href="#a8386da56facf23364a6005a4769bf962">◆ </a></span>GetCapturePeriod()</h2> |
| 264 | |
| 265 | <div class="memitem"> |
| 266 | <div class="memproto"> |
| 267 | <table class="memname"> |
| 268 | <tr> |
| 269 | <td class="memname">uint32_t GetCapturePeriod </td> |
| 270 | <td>(</td> |
| 271 | <td class="paramname"></td><td>)</td> |
| 272 | <td> const</td> |
| 273 | </tr> |
| 274 | </table> |
| 275 | </div><div class="memdoc"> |
| 276 | |
| 277 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00044">44</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 278 | |
| 279 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00549">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00066">BackendProfiling::GetActiveCounters()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00050">BackendProfiling::GetCounterStatus()</a>, and <a class="el" href="_periodic_counter_selection_command_handler_8cpp_source.xhtml#l00059">PeriodicCounterSelectionCommandHandler::operator()()</a>.</p> |
| 280 | <div class="fragment"><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>  <span class="keywordflow">return</span> <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a9a702f9af6f619f04b6accd536581917"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a></div><div class="ttdeci">options m_CapturePeriod</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00050">FileOnlyProfilingDecoratorTests.cpp:50</a></div></div> |
| 281 | </div><!-- fragment --> |
| 282 | </div> |
| 283 | </div> |
| 284 | <a id="a47fc9ce6c654658dfeb9f8ed2071885e"></a> |
| 285 | <h2 class="memtitle"><span class="permalink"><a href="#a47fc9ce6c654658dfeb9f8ed2071885e">◆ </a></span>GetCounterIds()</h2> |
| 286 | |
| 287 | <div class="memitem"> |
| 288 | <div class="memproto"> |
| 289 | <table class="memname"> |
| 290 | <tr> |
| 291 | <td class="memname">const std::vector< uint16_t > & GetCounterIds </td> |
| 292 | <td>(</td> |
| 293 | <td class="paramname"></td><td>)</td> |
| 294 | <td> const</td> |
| 295 | </tr> |
| 296 | </table> |
| 297 | </div><div class="memdoc"> |
| 298 | |
| 299 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00049">49</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 300 | |
| 301 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00549">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00066">BackendProfiling::GetActiveCounters()</a>, and <a class="el" href="_periodic_counter_selection_command_handler_8cpp_source.xhtml#l00059">PeriodicCounterSelectionCommandHandler::operator()()</a>.</p> |
| 302 | <div class="fragment"><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> m_CounterIds;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> }</div></div><!-- fragment --> |
| 303 | </div> |
| 304 | </div> |
| 305 | <a id="a42fa1ecb21b0d8c69e42c4b6a9a7444d"></a> |
| 306 | <h2 class="memtitle"><span class="permalink"><a href="#a42fa1ecb21b0d8c69e42c4b6a9a7444d">◆ </a></span>IsCounterIdInCaptureData()</h2> |
| 307 | |
| 308 | <div class="memitem"> |
| 309 | <div class="memproto"> |
| 310 | <table class="memname"> |
| 311 | <tr> |
| 312 | <td class="memname">bool IsCounterIdInCaptureData </td> |
| 313 | <td>(</td> |
| 314 | <td class="paramtype">uint16_t </td> |
| 315 | <td class="paramname"><em>counterId</em></td><td>)</td> |
| 316 | <td></td> |
| 317 | </tr> |
| 318 | </table> |
| 319 | </div><div class="memdoc"> |
| 320 | |
| 321 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00061">61</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 322 | |
| 323 | <p class="reference">Referenced by <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>, and <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00050">BackendProfiling::GetCounterStatus()</a>.</p> |
| 324 | <div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span> m_CounterId : m_CounterIds) {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">if</span> (m_CounterId == counterId)</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// Return false by default unless counterId is found</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div></div><!-- fragment --> |
| 325 | </div> |
| 326 | </div> |
| 327 | <a id="a204425f8f2aad46072de8e0b79fd6479"></a> |
| 328 | <h2 class="memtitle"><span class="permalink"><a href="#a204425f8f2aad46072de8e0b79fd6479">◆ </a></span>operator=()</h2> |
| 329 | |
| 330 | <div class="memitem"> |
| 331 | <div class="memproto"> |
| 332 | <table class="memname"> |
| 333 | <tr> |
| 334 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> & operator= </td> |
| 335 | <td>(</td> |
| 336 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> & </td> |
| 337 | <td class="paramname"><em>other</em></td><td>)</td> |
| 338 | <td></td> |
| 339 | </tr> |
| 340 | </table> |
| 341 | </div><div class="memdoc"> |
| 342 | |
| 343 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00015">15</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 344 | |
| 345 | <p class="reference">Referenced by <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>.</p> |
| 346 | <div class="fragment"><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a> = other.m_CapturePeriod;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  m_CounterIds = other.m_CounterIds;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  m_ActiveBackends = other.m_ActiveBackends;</div><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>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a9a702f9af6f619f04b6accd536581917"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a></div><div class="ttdeci">options m_CapturePeriod</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00050">FileOnlyProfilingDecoratorTests.cpp:50</a></div></div> |
| 347 | </div><!-- fragment --> |
| 348 | </div> |
| 349 | </div> |
| 350 | <a id="a6cf584d99e273ff766db068b9fb040c5"></a> |
| 351 | <h2 class="memtitle"><span class="permalink"><a href="#a6cf584d99e273ff766db068b9fb040c5">◆ </a></span>SetActiveBackends()</h2> |
| 352 | |
| 353 | <div class="memitem"> |
| 354 | <div class="memproto"> |
| 355 | <table class="memname"> |
| 356 | <tr> |
| 357 | <td class="memname">void SetActiveBackends </td> |
| 358 | <td>(</td> |
| 359 | <td class="paramtype">const std::set< <a class="el" href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a> > & </td> |
| 360 | <td class="paramname"><em>activeBackends</em></td><td>)</td> |
| 361 | <td></td> |
| 362 | </tr> |
| 363 | </table> |
| 364 | </div><div class="memdoc"> |
| 365 | |
| 366 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00024">24</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 367 | |
| 368 | <p class="reference">Referenced by <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>.</p> |
| 369 | <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>  m_ActiveBackends = activeBackends;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div></div><!-- fragment --> |
| 370 | </div> |
| 371 | </div> |
| 372 | <a id="afe10396cc1bc0b90637e6070351661e9"></a> |
| 373 | <h2 class="memtitle"><span class="permalink"><a href="#afe10396cc1bc0b90637e6070351661e9">◆ </a></span>SetCapturePeriod()</h2> |
| 374 | |
| 375 | <div class="memitem"> |
| 376 | <div class="memproto"> |
| 377 | <table class="memname"> |
| 378 | <tr> |
| 379 | <td class="memname">void SetCapturePeriod </td> |
| 380 | <td>(</td> |
| 381 | <td class="paramtype">uint32_t </td> |
| 382 | <td class="paramname"><em>capturePeriod</em></td><td>)</td> |
| 383 | <td></td> |
| 384 | </tr> |
| 385 | </table> |
| 386 | </div><div class="memdoc"> |
| 387 | |
| 388 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00029">29</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 389 | |
| 390 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00619">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>.</p> |
| 391 | <div class="fragment"><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>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a> = capturePeriod;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a9a702f9af6f619f04b6accd536581917"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a9a702f9af6f619f04b6accd536581917">m_CapturePeriod</a></div><div class="ttdeci">options m_CapturePeriod</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00050">FileOnlyProfilingDecoratorTests.cpp:50</a></div></div> |
| 392 | </div><!-- fragment --> |
| 393 | </div> |
| 394 | </div> |
| 395 | <a id="af3d98d2ad9e92c4aa5fe7ef4732ac143"></a> |
| 396 | <h2 class="memtitle"><span class="permalink"><a href="#af3d98d2ad9e92c4aa5fe7ef4732ac143">◆ </a></span>SetCounterIds()</h2> |
| 397 | |
| 398 | <div class="memitem"> |
| 399 | <div class="memproto"> |
| 400 | <table class="memname"> |
| 401 | <tr> |
| 402 | <td class="memname">void SetCounterIds </td> |
| 403 | <td>(</td> |
| 404 | <td class="paramtype">const std::vector< uint16_t > & </td> |
| 405 | <td class="paramname"><em>counterIds</em></td><td>)</td> |
| 406 | <td></td> |
| 407 | </tr> |
| 408 | </table> |
| 409 | </div><div class="memdoc"> |
| 410 | |
| 411 | <p class="definition">Definition at line <a class="el" href="_holder_8cpp_source.xhtml#l00034">34</a> of file <a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a>.</p> |
| 412 | |
| 413 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00619">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_holder_8hpp_source.xhtml#l00030">CaptureData::CaptureData()</a>.</p> |
| 414 | <div class="fragment"><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  m_CounterIds = counterIds;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div></div><!-- fragment --> |
| 415 | </div> |
| 416 | </div> |
| 417 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 418 | <li>src/profiling/<a class="el" href="_holder_8hpp_source.xhtml">Holder.hpp</a></li> |
| 419 | <li>src/profiling/<a class="el" href="_holder_8cpp_source.xhtml">Holder.cpp</a></li> |
| 420 | </ul> |
| 421 | </div><!-- contents --> |
| 422 | </div><!-- doc-content --> |
| 423 | <!-- start footer part --> |
| 424 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 425 | <ul> |
| 426 | <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_capture_data.xhtml">CaptureData</a></li> |
| 427 | <li class="footer">Generated on Fri Mar 13 2020 16:09:20 for ArmNN by |
| 428 | <a href="http://www.doxygen.org/index.html"> |
| 429 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 430 | </ul> |
| 431 | </div> |
| 432 | </body> |
| 433 | </html> |