Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!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: src/armnn/Profiling.hpp File 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 |  <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"> |
| 42 | var 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('_profiling_8hpp.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="#nested-classes">Classes</a> | |
| 85 | <a href="#namespaces">Namespaces</a> | |
| 86 | <a href="#define-members">Macros</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">Profiling.hpp File Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | <div class="textblock"><code>#include "<a class="el" href="_profiling_event_8hpp_source.html">ProfilingEvent.hpp</a>"</code><br /> |
| 92 | <code>#include "<a class="el" href="_i_profiler_8hpp_source.html">armnn/IProfiler.hpp</a>"</code><br /> |
| 93 | <code>#include "<a class="el" href="_wall_clock_timer_8hpp_source.html">WallClockTimer.hpp</a>"</code><br /> |
| 94 | <code>#include <chrono></code><br /> |
| 95 | <code>#include <iosfwd></code><br /> |
| 96 | <code>#include <ctime></code><br /> |
| 97 | <code>#include <vector></code><br /> |
| 98 | <code>#include <stack></code><br /> |
| 99 | <code>#include <map></code><br /> |
| 100 | <code>#include <boost/core/ignore_unused.hpp></code><br /> |
| 101 | <code>#include <boost/preprocessor.hpp></code><br /> |
| 102 | </div> |
| 103 | <p><a href="_profiling_8hpp_source.html">Go to the source code of this file.</a></p> |
| 104 | <table class="memberdecls"> |
| 105 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 106 | Classes</h2></td></tr> |
| 107 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler.html">Profiler</a></td></tr> |
| 108 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_profiler_manager.html">ProfilerManager</a></td></tr> |
| 110 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_scoped_profiling_event.html">ScopedProfilingEvent</a></td></tr> |
| 112 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | </table><table class="memberdecls"> |
| 114 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 115 | Namespaces</h2></td></tr> |
| 116 | <tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html">armnn</a></td></tr> |
| 117 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | </table><table class="memberdecls"> |
| 119 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 120 | Macros</h2></td></tr> |
| 121 | <tr class="memitem:a566a0dc72e6b9e3898c930e7a68fc894"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_profiling_8hpp.html#a566a0dc72e6b9e3898c930e7a68fc894">ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC</a>(backendId, ...)   <a class="el" href="classarmnn_1_1_scoped_profiling_event.html">armnn::ScopedProfilingEvent</a> BOOST_PP_CAT(e_,__LINE__)(backendId, /*name,*/ __VA_ARGS__);</td></tr> |
| 122 | <tr class="separator:a566a0dc72e6b9e3898c930e7a68fc894"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a1a638e817a4bf185cd95dc61f8cca62c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_profiling_8hpp.html#a1a638e817a4bf185cd95dc61f8cca62c">ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS</a>(backendId, ...)   <a class="el" href="_profiling_8hpp.html#a566a0dc72e6b9e3898c930e7a68fc894">ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC</a>(backendId, /*name,*/ __VA_ARGS__);</td></tr> |
| 124 | <tr class="separator:a1a638e817a4bf185cd95dc61f8cca62c"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a5ccc65e2c464ac05ce311fdae7ede03a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_profiling_8hpp.html#a5ccc65e2c464ac05ce311fdae7ede03a">ARMNN_SCOPED_PROFILING_EVENT</a>(backendId, name)   <a class="el" href="_profiling_8hpp.html#a1a638e817a4bf185cd95dc61f8cca62c">ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS</a>(backendId, name, <a class="el" href="classarmnn_1_1_wall_clock_timer.html">armnn::WallClockTimer</a>())</td></tr> |
| 126 | <tr class="separator:a5ccc65e2c464ac05ce311fdae7ede03a"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | </table> |
| 128 | <h2 class="groupheader">Macro Definition Documentation</h2> |
| 129 | <a id="a5ccc65e2c464ac05ce311fdae7ede03a"></a> |
| 130 | <h2 class="memtitle"><span class="permalink"><a href="#a5ccc65e2c464ac05ce311fdae7ede03a">◆ </a></span>ARMNN_SCOPED_PROFILING_EVENT</h2> |
| 131 | |
| 132 | <div class="memitem"> |
| 133 | <div class="memproto"> |
| 134 | <table class="memname"> |
| 135 | <tr> |
| 136 | <td class="memname">#define ARMNN_SCOPED_PROFILING_EVENT</td> |
| 137 | <td>(</td> |
| 138 | <td class="paramtype"> </td> |
| 139 | <td class="paramname">backendId, </td> |
| 140 | </tr> |
| 141 | <tr> |
| 142 | <td class="paramkey"></td> |
| 143 | <td></td> |
| 144 | <td class="paramtype"> </td> |
| 145 | <td class="paramname">name </td> |
| 146 | </tr> |
| 147 | <tr> |
| 148 | <td></td> |
| 149 | <td>)</td> |
| 150 | <td></td><td>   <a class="el" href="_profiling_8hpp.html#a1a638e817a4bf185cd95dc61f8cca62c">ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS</a>(backendId, name, <a class="el" href="classarmnn_1_1_wall_clock_timer.html">armnn::WallClockTimer</a>())</td> |
| 151 | </tr> |
| 152 | </table> |
| 153 | </div><div class="memdoc"> |
| 154 | |
| 155 | <p class="definition">Definition at line <a class="el" href="_profiling_8hpp_source.html#l00170">170</a> of file <a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a>.</p> |
| 156 | |
| 157 | <p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.html#l00109">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_workload_utils_8hpp_source.html#l00049">armnn::CopyTensorContentsGeneric()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_ref_depth_to_space_workload_8cpp_source.html#l00014">RefDepthToSpaceWorkload::Execute()</a>, <a class="el" href="_ref_strided_slice_workload_8cpp_source.html#l00020">RefStridedSliceWorkload::Execute()</a>, <a class="el" href="_ref_reshape_workload_8cpp_source.html#l00015">RefReshapeWorkload::Execute()</a>, <a class="el" href="_ref_resize_bilinear_workload_8cpp_source.html#l00020">RefResizeBilinearWorkload::Execute()</a>, <a class="el" href="_ref_resize_workload_8cpp_source.html#l00020">RefResizeWorkload::Execute()</a>, <a class="el" href="_ref_space_to_batch_nd_workload_8cpp_source.html#l00015">RefSpaceToBatchNdWorkload::Execute()</a>, <a class="el" href="_ref_space_to_depth_workload_8cpp_source.html#l00015">RefSpaceToDepthWorkload::Execute()</a>, <a class="el" href="_ref_softmax_workload_8cpp_source.html#l00020">RefSoftmaxWorkload::Execute()</a>, <a class="el" href="_ref_concat_workload_8cpp_source.html#l00015">RefConcatWorkload::Execute()</a>, <a class="el" href="_ref_fake_quantization_float32_workload_8cpp_source.html#l00029">RefFakeQuantizationFloat32Workload::Execute()</a>, <a class="el" href="_ref_floor_workload_8cpp_source.html#l00016">RefFloorWorkload::Execute()</a>, <a class="el" href="_ref_activation_workload_8cpp_source.html#l00018">RefActivationWorkload::Execute()</a>, <a class="el" href="_ref_convert_fp16_to_fp32_workload_8cpp_source.html#l00016">RefConvertFp16ToFp32Workload::Execute()</a>, <a class="el" href="_ref_convert_fp32_to_fp16_workload_8cpp_source.html#l00017">RefConvertFp32ToFp16Workload::Execute()</a>, <a class="el" href="_ref_log_softmax_workload_8cpp_source.html#l00020">RefLogSoftmaxWorkload::Execute()</a>, <a class="el" href="_ref_batch_to_space_nd_workload_8cpp_source.html#l00014">RefBatchToSpaceNdWorkload::Execute()</a>, <a class="el" href="_ref_arg_min_max_workload_8cpp_source.html#l00021">RefArgMinMaxWorkload::Execute()</a>, <a class="el" href="_ref_prelu_workload_8cpp_source.html#l00021">RefPreluWorkload::Execute()</a>, <a class="el" href="_ref_batch_normalization_workload_8cpp_source.html#l00025">RefBatchNormalizationWorkload::Execute()</a>, <a class="el" href="_ref_slice_workload_8cpp_source.html#l00016">RefSliceWorkload::Execute()</a>, <a class="el" href="_ref_dequantize_workload_8cpp_source.html#l00015">RefDequantizeWorkload::Execute()</a>, <a class="el" href="_ref_detection_post_process_workload_8cpp_source.html#l00021">RefDetectionPostProcessWorkload::Execute()</a>, <a class="el" href="_ref_stack_workload_8cpp_source.html#l00021">RefStackWorkload::Execute()</a>, <a class="el" href="_ref_instance_normalization_workload_8cpp_source.html#l00021">RefInstanceNormalizationWorkload::Execute()</a>, <a class="el" href="_ref_normalization_workload_8cpp_source.html#l00165">RefNormalizationWorkload::Execute()</a>, <a class="el" href="_ref_splitter_workload_8cpp_source.html#l00014">RefSplitterWorkload::Execute()</a>, <a class="el" href="_ref_l2_normalization_workload_8cpp_source.html#l00028">RefL2NormalizationWorkload::Execute()</a>, <a class="el" href="_mem_import_workload_8cpp_source.html#l00025">ImportMemGenericWorkload::Execute()</a>, <a class="el" href="_ref_pooling2d_workload_8cpp_source.html#l00016">RefPooling2dWorkload::Execute()</a>, <a class="el" href="_mem_sync_workload_8cpp_source.html#l00025">SyncMemGenericWorkload::Execute()</a>, <a class="el" href="_mem_copy_workload_8cpp_source.html#l00049">CopyMemGenericWorkload::Execute()</a>, <a class="el" href="_ref_mean_workload_8cpp_source.html#l00021">RefMeanWorkload::Execute()</a>, <a class="el" href="_ref_depthwise_convolution2d_workload_8cpp_source.html#l00046">RefDepthwiseConvolution2dWorkload::Execute()</a>, <a class="el" href="_ref_elementwise_unary_workload_8cpp_source.html#l00041">RefElementwiseUnaryWorkload::Execute()</a>, <a class="el" href="_ref_gather_workload_8cpp_source.html#l00016">RefGatherWorkload::Execute()</a>, <a class="el" href="_ref_comparison_workload_8cpp_source.html#l00039">RefComparisonWorkload::Execute()</a>, <a class="el" href="_ref_constant_workload_8cpp_source.html#l00036">RefConstantWorkload::Execute()</a>, <a class="el" href="_ref_convolution2d_workload_8cpp_source.html#l00044">RefConvolution2dWorkload::Execute()</a>, <a class="el" href="_ref_transpose_convolution2d_workload_8cpp_source.html#l00053">RefTransposeConvolution2dWorkload::Execute()</a>, <a class="el" href="_ref_fully_connected_workload_8cpp_source.html#l00050">RefFullyConnectedWorkload::Execute()</a>, <a class="el" href="_ref_permute_workload_8cpp_source.html#l00017">RefPermuteWorkload< DataType >::Execute()</a>, <a class="el" href="_ref_elementwise_workload_8cpp_source.html#l00041">RefElementwiseWorkload< Functor, ParentDescriptor, DebugString >::Execute()</a>, <a class="el" href="_ref_pad_workload_8cpp_source.html#l00021">RefPadWorkload< DataType >::Execute()</a>, and <a class="el" href="_ref_debug_workload_8cpp_source.html#l00018">RefDebugWorkload< DataType >::Execute()</a>.</p> |
| 158 | |
| 159 | </div> |
| 160 | </div> |
| 161 | <a id="a1a638e817a4bf185cd95dc61f8cca62c"></a> |
| 162 | <h2 class="memtitle"><span class="permalink"><a href="#a1a638e817a4bf185cd95dc61f8cca62c">◆ </a></span>ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS</h2> |
| 163 | |
| 164 | <div class="memitem"> |
| 165 | <div class="memproto"> |
| 166 | <table class="memname"> |
| 167 | <tr> |
| 168 | <td class="memname">#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS</td> |
| 169 | <td>(</td> |
| 170 | <td class="paramtype"> </td> |
| 171 | <td class="paramname">backendId, </td> |
| 172 | </tr> |
| 173 | <tr> |
| 174 | <td class="paramkey"></td> |
| 175 | <td></td> |
| 176 | <td class="paramtype"> </td> |
| 177 | <td class="paramname"><em>...</em> </td> |
| 178 | </tr> |
| 179 | <tr> |
| 180 | <td></td> |
| 181 | <td>)</td> |
| 182 | <td></td><td>   <a class="el" href="_profiling_8hpp.html#a566a0dc72e6b9e3898c930e7a68fc894">ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC</a>(backendId, /*name,*/ __VA_ARGS__);</td> |
| 183 | </tr> |
| 184 | </table> |
| 185 | </div><div class="memdoc"> |
| 186 | |
| 187 | <p class="definition">Definition at line <a class="el" href="_profiling_8hpp_source.html#l00167">167</a> of file <a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a>.</p> |
| 188 | |
| 189 | <p class="reference">Referenced by <a class="el" href="_profiler_tests_8cpp_source.html#l00252">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 190 | |
| 191 | </div> |
| 192 | </div> |
| 193 | <a id="a566a0dc72e6b9e3898c930e7a68fc894"></a> |
| 194 | <h2 class="memtitle"><span class="permalink"><a href="#a566a0dc72e6b9e3898c930e7a68fc894">◆ </a></span>ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC</h2> |
| 195 | |
| 196 | <div class="memitem"> |
| 197 | <div class="memproto"> |
| 198 | <table class="memname"> |
| 199 | <tr> |
| 200 | <td class="memname">#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC</td> |
| 201 | <td>(</td> |
| 202 | <td class="paramtype"> </td> |
| 203 | <td class="paramname">backendId, </td> |
| 204 | </tr> |
| 205 | <tr> |
| 206 | <td class="paramkey"></td> |
| 207 | <td></td> |
| 208 | <td class="paramtype"> </td> |
| 209 | <td class="paramname"><em>...</em> </td> |
| 210 | </tr> |
| 211 | <tr> |
| 212 | <td></td> |
| 213 | <td>)</td> |
| 214 | <td></td><td>   <a class="el" href="classarmnn_1_1_scoped_profiling_event.html">armnn::ScopedProfilingEvent</a> BOOST_PP_CAT(e_,__LINE__)(backendId, /*name,*/ __VA_ARGS__);</td> |
| 215 | </tr> |
| 216 | </table> |
| 217 | </div><div class="memdoc"> |
| 218 | |
| 219 | <p class="definition">Definition at line <a class="el" href="_profiling_8hpp_source.html#l00163">163</a> of file <a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a>.</p> |
| 220 | |
| 221 | </div> |
| 222 | </div> |
| 223 | </div><!-- contents --> |
| 224 | </div><!-- doc-content --> |
| 225 | <!-- start footer part --> |
| 226 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 227 | <ul> |
| 228 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="_profiling_8hpp.html">Profiling.hpp</a></li> |
| 229 | <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by |
| 230 | <a href="http://www.doxygen.org/index.html"> |
| 231 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 232 | </ul> |
| 233 | </div> |
| 234 | </body> |
| 235 | </html> |