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: Event 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 |  <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('classarmnn_1_1_event.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-types">Public Types</a> | |
| 85 | <a href="#pub-methods">Public Member Functions</a> | |
| 86 | <a href="classarmnn_1_1_event-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">Event Class Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p><code>#include <<a class="el" href="_profiling_event_8hpp_source.html">ProfilingEvent.hpp</a>></code></p> |
| 93 | <table class="memberdecls"> |
| 94 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 95 | Public Types</h2></td></tr> |
| 96 | <tr class="memitem:a70926d23f3aef7e657a9057a7badb014"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a70926d23f3aef7e657a9057a7badb014">InstrumentPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_1_1_instrument.html">Instrument</a> ></td></tr> |
| 97 | <tr class="separator:a70926d23f3aef7e657a9057a7badb014"><td class="memSeparator" colspan="2"> </td></tr> |
| 98 | <tr class="memitem:a6e9642e693a4c5b8f1b8259844ef4feb"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a6e9642e693a4c5b8f1b8259844ef4feb">Instruments</a> = std::vector< <a class="el" href="classarmnn_1_1_event.html#a70926d23f3aef7e657a9057a7badb014">InstrumentPtr</a> ></td></tr> |
| 99 | <tr class="separator:a6e9642e693a4c5b8f1b8259844ef4feb"><td class="memSeparator" colspan="2"> </td></tr> |
| 100 | </table><table class="memberdecls"> |
| 101 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 102 | Public Member Functions</h2></td></tr> |
| 103 | <tr class="memitem:a646c2ba712d97f26eb5b0e77e59d1722"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a646c2ba712d97f26eb5b0e77e59d1722">Event</a> (const std::string &eventName, <a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> *profiler, <a class="el" href="classarmnn_1_1_event.html">Event</a> *parent, const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> backendId, std::vector< <a class="el" href="classarmnn_1_1_event.html#a70926d23f3aef7e657a9057a7badb014">InstrumentPtr</a> > &&instrument)</td></tr> |
| 104 | <tr class="separator:a646c2ba712d97f26eb5b0e77e59d1722"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:a32713cc0b66b7e7e23def4eb53ae3795"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a32713cc0b66b7e7e23def4eb53ae3795">Event</a> (const <a class="el" href="classarmnn_1_1_event.html">Event</a> &other)=delete</td></tr> |
| 106 | <tr class="separator:a32713cc0b66b7e7e23def4eb53ae3795"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:adc2da08403f870c8a4022f308ec76c7b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#adc2da08403f870c8a4022f308ec76c7b">Event</a> (<a class="el" href="classarmnn_1_1_event.html">Event</a> &&other) noexcept</td></tr> |
| 108 | <tr class="memdesc:adc2da08403f870c8a4022f308ec76c7b"><td class="mdescLeft"> </td><td class="mdescRight">Move Constructor. <a href="#adc2da08403f870c8a4022f308ec76c7b">More...</a><br /></td></tr> |
| 109 | <tr class="separator:adc2da08403f870c8a4022f308ec76c7b"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:aed10f5e4b5520fcb155518eebd8993c4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#aed10f5e4b5520fcb155518eebd8993c4">~Event</a> () noexcept</td></tr> |
| 111 | <tr class="memdesc:aed10f5e4b5520fcb155518eebd8993c4"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aed10f5e4b5520fcb155518eebd8993c4">More...</a><br /></td></tr> |
| 112 | <tr class="separator:aed10f5e4b5520fcb155518eebd8993c4"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:a07aaf1227e4d645f15e0a964f54ef291"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a07aaf1227e4d645f15e0a964f54ef291">Start</a> ()</td></tr> |
| 114 | <tr class="memdesc:a07aaf1227e4d645f15e0a964f54ef291"><td class="mdescLeft"> </td><td class="mdescRight">Start the <a class="el" href="classarmnn_1_1_event.html">Event</a>. <a href="#a07aaf1227e4d645f15e0a964f54ef291">More...</a><br /></td></tr> |
| 115 | <tr class="separator:a07aaf1227e4d645f15e0a964f54ef291"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <tr class="memitem:a17a237457e57625296e6b24feb19c60a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a17a237457e57625296e6b24feb19c60a">Stop</a> ()</td></tr> |
| 117 | <tr class="memdesc:a17a237457e57625296e6b24feb19c60a"><td class="mdescLeft"> </td><td class="mdescRight">Stop the <a class="el" href="classarmnn_1_1_event.html">Event</a>. <a href="#a17a237457e57625296e6b24feb19c60a">More...</a><br /></td></tr> |
| 118 | <tr class="separator:a17a237457e57625296e6b24feb19c60a"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:aa75e3a38ab9fee7b2ad5522e746ad0af"><td class="memItemLeft" align="right" valign="top">const std::vector< <a class="el" href="structarmnn_1_1_measurement.html">Measurement</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#aa75e3a38ab9fee7b2ad5522e746ad0af">GetMeasurements</a> () const</td></tr> |
| 120 | <tr class="separator:aa75e3a38ab9fee7b2ad5522e746ad0af"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a55466a39638bb671b24a82941aa37d77"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a55466a39638bb671b24a82941aa37d77">GetName</a> () const</td></tr> |
| 122 | <tr class="separator:a55466a39638bb671b24a82941aa37d77"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a173e0f41677500fcbcf5b27a52d1caf2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a173e0f41677500fcbcf5b27a52d1caf2">GetProfiler</a> () const</td></tr> |
| 124 | <tr class="separator:a173e0f41677500fcbcf5b27a52d1caf2"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a0ef4ff725b1ce859c6ef32e99e92dba3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_event.html">Event</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a0ef4ff725b1ce859c6ef32e99e92dba3">GetParentEvent</a> () const</td></tr> |
| 126 | <tr class="separator:a0ef4ff725b1ce859c6ef32e99e92dba3"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:aa58c448afeade37f3b23f4842d46d9b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#aa58c448afeade37f3b23f4842d46d9b5">GetBackendId</a> () const</td></tr> |
| 128 | <tr class="separator:aa58c448afeade37f3b23f4842d46d9b5"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:ab4b4d4f416d173cb297360ec636f72c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_event.html">Event</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#ab4b4d4f416d173cb297360ec636f72c2">operator=</a> (const <a class="el" href="classarmnn_1_1_event.html">Event</a> &other)=delete</td></tr> |
| 130 | <tr class="memdesc:ab4b4d4f416d173cb297360ec636f72c2"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#ab4b4d4f416d173cb297360ec636f72c2">More...</a><br /></td></tr> |
| 131 | <tr class="separator:ab4b4d4f416d173cb297360ec636f72c2"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a776f936d6beb1089963c3ba7b0235c1e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_event.html">Event</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_event.html#a776f936d6beb1089963c3ba7b0235c1e">operator=</a> (<a class="el" href="classarmnn_1_1_event.html">Event</a> &&other) noexcept</td></tr> |
| 133 | <tr class="memdesc:a776f936d6beb1089963c3ba7b0235c1e"><td class="mdescLeft"> </td><td class="mdescRight">Move Assignment operator. <a href="#a776f936d6beb1089963c3ba7b0235c1e">More...</a><br /></td></tr> |
| 134 | <tr class="separator:a776f936d6beb1089963c3ba7b0235c1e"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | </table> |
| 136 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 137 | <div class="textblock"><p><a class="el" href="classarmnn_1_1_event.html">Event</a> class records measurements reported by BeginEvent()/EndEvent() and returns measurements when <a class="el" href="classarmnn_1_1_event.html#aa75e3a38ab9fee7b2ad5522e746ad0af">Event::GetMeasurements()</a> is called. </p> |
| 138 | |
| 139 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8hpp_source.html#l00023">23</a> of file <a class="el" href="_profiling_event_8hpp_source.html">ProfilingEvent.hpp</a>.</p> |
| 140 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 141 | <a id="a70926d23f3aef7e657a9057a7badb014"></a> |
| 142 | <h2 class="memtitle"><span class="permalink"><a href="#a70926d23f3aef7e657a9057a7badb014">◆ </a></span>InstrumentPtr</h2> |
| 143 | |
| 144 | <div class="memitem"> |
| 145 | <div class="memproto"> |
| 146 | <table class="memname"> |
| 147 | <tr> |
| 148 | <td class="memname">using <a class="el" href="classarmnn_1_1_event.html#a70926d23f3aef7e657a9057a7badb014">InstrumentPtr</a> = std::unique_ptr<<a class="el" href="classarmnn_1_1_instrument.html">Instrument</a>></td> |
| 149 | </tr> |
| 150 | </table> |
| 151 | </div><div class="memdoc"> |
| 152 | |
| 153 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8hpp_source.html#l00026">26</a> of file <a class="el" href="_profiling_event_8hpp_source.html">ProfilingEvent.hpp</a>.</p> |
| 154 | |
| 155 | </div> |
| 156 | </div> |
| 157 | <a id="a6e9642e693a4c5b8f1b8259844ef4feb"></a> |
| 158 | <h2 class="memtitle"><span class="permalink"><a href="#a6e9642e693a4c5b8f1b8259844ef4feb">◆ </a></span>Instruments</h2> |
| 159 | |
| 160 | <div class="memitem"> |
| 161 | <div class="memproto"> |
| 162 | <table class="memname"> |
| 163 | <tr> |
| 164 | <td class="memname">using <a class="el" href="classarmnn_1_1_event.html#a6e9642e693a4c5b8f1b8259844ef4feb">Instruments</a> = std::vector<<a class="el" href="classarmnn_1_1_event.html#a70926d23f3aef7e657a9057a7badb014">InstrumentPtr</a>></td> |
| 165 | </tr> |
| 166 | </table> |
| 167 | </div><div class="memdoc"> |
| 168 | |
| 169 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8hpp_source.html#l00027">27</a> of file <a class="el" href="_profiling_event_8hpp_source.html">ProfilingEvent.hpp</a>.</p> |
| 170 | |
| 171 | </div> |
| 172 | </div> |
| 173 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 174 | <a id="a646c2ba712d97f26eb5b0e77e59d1722"></a> |
| 175 | <h2 class="memtitle"><span class="permalink"><a href="#a646c2ba712d97f26eb5b0e77e59d1722">◆ </a></span>Event() <span class="overload">[1/3]</span></h2> |
| 176 | |
| 177 | <div class="memitem"> |
| 178 | <div class="memproto"> |
| 179 | <table class="memname"> |
| 180 | <tr> |
| 181 | <td class="memname"><a class="el" href="classarmnn_1_1_event.html">Event</a> </td> |
| 182 | <td>(</td> |
| 183 | <td class="paramtype">const std::string & </td> |
| 184 | <td class="paramname"><em>eventName</em>, </td> |
| 185 | </tr> |
| 186 | <tr> |
| 187 | <td class="paramkey"></td> |
| 188 | <td></td> |
| 189 | <td class="paramtype"><a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> * </td> |
| 190 | <td class="paramname"><em>profiler</em>, </td> |
| 191 | </tr> |
| 192 | <tr> |
| 193 | <td class="paramkey"></td> |
| 194 | <td></td> |
| 195 | <td class="paramtype"><a class="el" href="classarmnn_1_1_event.html">Event</a> * </td> |
| 196 | <td class="paramname"><em>parent</em>, </td> |
| 197 | </tr> |
| 198 | <tr> |
| 199 | <td class="paramkey"></td> |
| 200 | <td></td> |
| 201 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> </td> |
| 202 | <td class="paramname"><em>backendId</em>, </td> |
| 203 | </tr> |
| 204 | <tr> |
| 205 | <td class="paramkey"></td> |
| 206 | <td></td> |
| 207 | <td class="paramtype">std::vector< <a class="el" href="classarmnn_1_1_event.html#a70926d23f3aef7e657a9057a7badb014">InstrumentPtr</a> > && </td> |
| 208 | <td class="paramname"><em>instrument</em> </td> |
| 209 | </tr> |
| 210 | <tr> |
| 211 | <td></td> |
| 212 | <td>)</td> |
| 213 | <td></td><td></td> |
| 214 | </tr> |
| 215 | </table> |
| 216 | </div><div class="memdoc"> |
| 217 | |
| 218 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00011">11</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 219 | <div class="fragment"><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  : m_EventName(eventName)</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  , m_Profiler(profiler)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  , m_Parent(parent)</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  , m_BackendId(backendId)</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  , m_Instruments(std::move(instruments))</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> }</div></div><!-- fragment --> |
| 220 | </div> |
| 221 | </div> |
| 222 | <a id="a32713cc0b66b7e7e23def4eb53ae3795"></a> |
| 223 | <h2 class="memtitle"><span class="permalink"><a href="#a32713cc0b66b7e7e23def4eb53ae3795">◆ </a></span>Event() <span class="overload">[2/3]</span></h2> |
| 224 | |
| 225 | <div class="memitem"> |
| 226 | <div class="memproto"> |
| 227 | <table class="mlabels"> |
| 228 | <tr> |
| 229 | <td class="mlabels-left"> |
| 230 | <table class="memname"> |
| 231 | <tr> |
| 232 | <td class="memname"><a class="el" href="classarmnn_1_1_event.html">Event</a> </td> |
| 233 | <td>(</td> |
| 234 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_event.html">Event</a> & </td> |
| 235 | <td class="paramname"><em>other</em></td><td>)</td> |
| 236 | <td></td> |
| 237 | </tr> |
| 238 | </table> |
| 239 | </td> |
| 240 | <td class="mlabels-right"> |
| 241 | <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| 242 | </tr> |
| 243 | </table> |
| 244 | </div><div class="memdoc"> |
| 245 | |
| 246 | </div> |
| 247 | </div> |
| 248 | <a id="adc2da08403f870c8a4022f308ec76c7b"></a> |
| 249 | <h2 class="memtitle"><span class="permalink"><a href="#adc2da08403f870c8a4022f308ec76c7b">◆ </a></span>Event() <span class="overload">[3/3]</span></h2> |
| 250 | |
| 251 | <div class="memitem"> |
| 252 | <div class="memproto"> |
| 253 | <table class="mlabels"> |
| 254 | <tr> |
| 255 | <td class="mlabels-left"> |
| 256 | <table class="memname"> |
| 257 | <tr> |
| 258 | <td class="memname"><a class="el" href="classarmnn_1_1_event.html">Event</a> </td> |
| 259 | <td>(</td> |
| 260 | <td class="paramtype"><a class="el" href="classarmnn_1_1_event.html">Event</a> && </td> |
| 261 | <td class="paramname"><em>other</em></td><td>)</td> |
| 262 | <td></td> |
| 263 | </tr> |
| 264 | </table> |
| 265 | </td> |
| 266 | <td class="mlabels-right"> |
| 267 | <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> |
| 268 | </tr> |
| 269 | </table> |
| 270 | </div><div class="memdoc"> |
| 271 | |
| 272 | <p>Move Constructor. </p> |
| 273 | |
| 274 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00024">24</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 275 | <div class="fragment"><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  : m_EventName(std::move(other.m_EventName))</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  , m_Profiler(other.m_Profiler)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  , m_Parent(other.m_Parent)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  , m_BackendId(other.m_BackendId)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  , m_Instruments(std::move(other.m_Instruments))</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> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> }</div></div><!-- fragment --> |
| 276 | </div> |
| 277 | </div> |
| 278 | <a id="aed10f5e4b5520fcb155518eebd8993c4"></a> |
| 279 | <h2 class="memtitle"><span class="permalink"><a href="#aed10f5e4b5520fcb155518eebd8993c4">◆ </a></span>~Event()</h2> |
| 280 | |
| 281 | <div class="memitem"> |
| 282 | <div class="memproto"> |
| 283 | <table class="mlabels"> |
| 284 | <tr> |
| 285 | <td class="mlabels-left"> |
| 286 | <table class="memname"> |
| 287 | <tr> |
| 288 | <td class="memname">~<a class="el" href="classarmnn_1_1_event.html">Event</a> </td> |
| 289 | <td>(</td> |
| 290 | <td class="paramname"></td><td>)</td> |
| 291 | <td></td> |
| 292 | </tr> |
| 293 | </table> |
| 294 | </td> |
| 295 | <td class="mlabels-right"> |
| 296 | <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> |
| 297 | </tr> |
| 298 | </table> |
| 299 | </div><div class="memdoc"> |
| 300 | |
| 301 | <p>Destructor. </p> |
| 302 | |
| 303 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00034">34</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 304 | <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> }</div></div><!-- fragment --> |
| 305 | </div> |
| 306 | </div> |
| 307 | <h2 class="groupheader">Member Function Documentation</h2> |
| 308 | <a id="aa58c448afeade37f3b23f4842d46d9b5"></a> |
| 309 | <h2 class="memtitle"><span class="permalink"><a href="#aa58c448afeade37f3b23f4842d46d9b5">◆ </a></span>GetBackendId()</h2> |
| 310 | |
| 311 | <div class="memitem"> |
| 312 | <div class="memproto"> |
| 313 | <table class="memname"> |
| 314 | <tr> |
| 315 | <td class="memname"><a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> GetBackendId </td> |
| 316 | <td>(</td> |
| 317 | <td class="paramname"></td><td>)</td> |
| 318 | <td> const</td> |
| 319 | </tr> |
| 320 | </table> |
| 321 | </div><div class="memdoc"> |
| 322 | <p>Get the backend id of the event </p><dl class="section return"><dt>Returns</dt><dd>Backend id of the event </dd></dl> |
| 323 | |
| 324 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00082">82</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 325 | |
| 326 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00114">Profiler::AnalyzeEventSequenceAndWriteResults()</a>.</p> |
| 327 | <div class="fragment"><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> m_BackendId;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> }</div></div><!-- fragment --> |
| 328 | </div> |
| 329 | </div> |
| 330 | <a id="aa75e3a38ab9fee7b2ad5522e746ad0af"></a> |
| 331 | <h2 class="memtitle"><span class="permalink"><a href="#aa75e3a38ab9fee7b2ad5522e746ad0af">◆ </a></span>GetMeasurements()</h2> |
| 332 | |
| 333 | <div class="memitem"> |
| 334 | <div class="memproto"> |
| 335 | <table class="memname"> |
| 336 | <tr> |
| 337 | <td class="memname">const std::vector< <a class="el" href="structarmnn_1_1_measurement.html">Measurement</a> > GetMeasurements </td> |
| 338 | <td>(</td> |
| 339 | <td class="paramname"></td><td>)</td> |
| 340 | <td> const</td> |
| 341 | </tr> |
| 342 | </table> |
| 343 | </div><div class="memdoc"> |
| 344 | <p>Get the recorded measurements calculated between <a class="el" href="classarmnn_1_1_event.html#a07aaf1227e4d645f15e0a964f54ef291" title="Start the Event. ">Start()</a> and <a class="el" href="classarmnn_1_1_event.html#a17a237457e57625296e6b24feb19c60a" title="Stop the Event. ">Stop()</a> </p><dl class="section return"><dt>Returns</dt><dd>Recorded measurements of the event </dd></dl> |
| 345 | |
| 346 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00054">54</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 347 | |
| 348 | <p class="reference">Referenced by <a class="el" href="_profiling_event_test_8cpp_source.html#l00017">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_8cpp_source.html#l00284">armnn::ExtractJsonObjects()</a>, <a class="el" href="_profiling_8cpp_source.html#l00063">armnn::FindKernelMeasurements()</a>, and <a class="el" href="_profiling_8cpp_source.html#l00044">armnn::FindMeasurement()</a>.</p> |
| 349 | <div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  std::vector<Measurement> measurements;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& instrument : m_Instruments)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& measurement : instrument->GetMeasurements())</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  measurements.emplace_back(std::move(measurement));</div><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>  }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> measurements;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> }</div></div><!-- fragment --> |
| 350 | </div> |
| 351 | </div> |
| 352 | <a id="a55466a39638bb671b24a82941aa37d77"></a> |
| 353 | <h2 class="memtitle"><span class="permalink"><a href="#a55466a39638bb671b24a82941aa37d77">◆ </a></span>GetName()</h2> |
| 354 | |
| 355 | <div class="memitem"> |
| 356 | <div class="memproto"> |
| 357 | <table class="memname"> |
| 358 | <tr> |
| 359 | <td class="memname">const std::string & GetName </td> |
| 360 | <td>(</td> |
| 361 | <td class="paramname"></td><td>)</td> |
| 362 | <td> const</td> |
| 363 | </tr> |
| 364 | </table> |
| 365 | </div><div class="memdoc"> |
| 366 | <p>Get the name of the event </p><dl class="section return"><dt>Returns</dt><dd>Name of the event </dd></dl> |
| 367 | |
| 368 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00067">67</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 369 | |
| 370 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00114">Profiler::AnalyzeEventSequenceAndWriteResults()</a>, <a class="el" href="_profiling_event_test_8cpp_source.html#l00017">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_8cpp_source.html#l00234">armnn::CalcLevel()</a>.</p> |
| 371 | <div class="fragment"><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>  <span class="keywordflow">return</span> m_EventName;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> }</div></div><!-- fragment --> |
| 372 | </div> |
| 373 | </div> |
| 374 | <a id="a0ef4ff725b1ce859c6ef32e99e92dba3"></a> |
| 375 | <h2 class="memtitle"><span class="permalink"><a href="#a0ef4ff725b1ce859c6ef32e99e92dba3">◆ </a></span>GetParentEvent()</h2> |
| 376 | |
| 377 | <div class="memitem"> |
| 378 | <div class="memproto"> |
| 379 | <table class="memname"> |
| 380 | <tr> |
| 381 | <td class="memname">const <a class="el" href="classarmnn_1_1_event.html">Event</a> * GetParentEvent </td> |
| 382 | <td>(</td> |
| 383 | <td class="paramname"></td><td>)</td> |
| 384 | <td> const</td> |
| 385 | </tr> |
| 386 | </table> |
| 387 | </div><div class="memdoc"> |
| 388 | <p>Get the pointer of the parent event </p><dl class="section return"><dt>Returns</dt><dd>Pointer of the parent event </dd></dl> |
| 389 | |
| 390 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00077">77</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 391 | |
| 392 | <p class="reference">Referenced by <a class="el" href="_profiling_event_test_8cpp_source.html#l00017">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_8cpp_source.html#l00234">armnn::CalcLevel()</a>, and <a class="el" href="_profiling_8cpp_source.html#l00217">Profiler::EndEvent()</a>.</p> |
| 393 | <div class="fragment"><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">return</span> m_Parent;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> }</div></div><!-- fragment --> |
| 394 | </div> |
| 395 | </div> |
| 396 | <a id="a173e0f41677500fcbcf5b27a52d1caf2"></a> |
| 397 | <h2 class="memtitle"><span class="permalink"><a href="#a173e0f41677500fcbcf5b27a52d1caf2">◆ </a></span>GetProfiler()</h2> |
| 398 | |
| 399 | <div class="memitem"> |
| 400 | <div class="memproto"> |
| 401 | <table class="memname"> |
| 402 | <tr> |
| 403 | <td class="memname">const <a class="el" href="classarmnn_1_1_profiler.html">Profiler</a> * GetProfiler </td> |
| 404 | <td>(</td> |
| 405 | <td class="paramname"></td><td>)</td> |
| 406 | <td> const</td> |
| 407 | </tr> |
| 408 | </table> |
| 409 | </div><div class="memdoc"> |
| 410 | <p>Get the pointer of the profiler associated with this event </p><dl class="section return"><dt>Returns</dt><dd>Pointer of the profiler associated with this event </dd></dl> |
| 411 | |
| 412 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00072">72</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 413 | <div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> {</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">return</span> m_Profiler;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> }</div></div><!-- fragment --> |
| 414 | </div> |
| 415 | </div> |
| 416 | <a id="ab4b4d4f416d173cb297360ec636f72c2"></a> |
| 417 | <h2 class="memtitle"><span class="permalink"><a href="#ab4b4d4f416d173cb297360ec636f72c2">◆ </a></span>operator=() <span class="overload">[1/2]</span></h2> |
| 418 | |
| 419 | <div class="memitem"> |
| 420 | <div class="memproto"> |
| 421 | <table class="mlabels"> |
| 422 | <tr> |
| 423 | <td class="mlabels-left"> |
| 424 | <table class="memname"> |
| 425 | <tr> |
| 426 | <td class="memname"><a class="el" href="classarmnn_1_1_event.html">Event</a>& operator= </td> |
| 427 | <td>(</td> |
| 428 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_event.html">Event</a> & </td> |
| 429 | <td class="paramname"><em>other</em></td><td>)</td> |
| 430 | <td></td> |
| 431 | </tr> |
| 432 | </table> |
| 433 | </td> |
| 434 | <td class="mlabels-right"> |
| 435 | <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| 436 | </tr> |
| 437 | </table> |
| 438 | </div><div class="memdoc"> |
| 439 | |
| 440 | <p>Assignment operator. </p> |
| 441 | |
| 442 | </div> |
| 443 | </div> |
| 444 | <a id="a776f936d6beb1089963c3ba7b0235c1e"></a> |
| 445 | <h2 class="memtitle"><span class="permalink"><a href="#a776f936d6beb1089963c3ba7b0235c1e">◆ </a></span>operator=() <span class="overload">[2/2]</span></h2> |
| 446 | |
| 447 | <div class="memitem"> |
| 448 | <div class="memproto"> |
| 449 | <table class="mlabels"> |
| 450 | <tr> |
| 451 | <td class="mlabels-left"> |
| 452 | <table class="memname"> |
| 453 | <tr> |
| 454 | <td class="memname"><a class="el" href="classarmnn_1_1_event.html">Event</a> & operator= </td> |
| 455 | <td>(</td> |
| 456 | <td class="paramtype"><a class="el" href="classarmnn_1_1_event.html">Event</a> && </td> |
| 457 | <td class="paramname"><em>other</em></td><td>)</td> |
| 458 | <td></td> |
| 459 | </tr> |
| 460 | </table> |
| 461 | </td> |
| 462 | <td class="mlabels-right"> |
| 463 | <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> |
| 464 | </tr> |
| 465 | </table> |
| 466 | </div><div class="memdoc"> |
| 467 | |
| 468 | <p>Move Assignment operator. </p> |
| 469 | |
| 470 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00087">87</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 471 | <div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span> (<span class="keyword">this</span> == &other)</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  m_EventName = other.m_EventName;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  m_Profiler = other.m_Profiler;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  m_Parent = other.m_Parent;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  m_BackendId = other.m_BackendId;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  other.m_Profiler = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  other.m_Parent = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div></div><!-- fragment --> |
| 472 | </div> |
| 473 | </div> |
| 474 | <a id="a07aaf1227e4d645f15e0a964f54ef291"></a> |
| 475 | <h2 class="memtitle"><span class="permalink"><a href="#a07aaf1227e4d645f15e0a964f54ef291">◆ </a></span>Start()</h2> |
| 476 | |
| 477 | <div class="memitem"> |
| 478 | <div class="memproto"> |
| 479 | <table class="memname"> |
| 480 | <tr> |
| 481 | <td class="memname">void Start </td> |
| 482 | <td>(</td> |
| 483 | <td class="paramname"></td><td>)</td> |
| 484 | <td></td> |
| 485 | </tr> |
| 486 | </table> |
| 487 | </div><div class="memdoc"> |
| 488 | |
| 489 | <p>Start the <a class="el" href="classarmnn_1_1_event.html">Event</a>. </p> |
| 490 | |
| 491 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00038">38</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 492 | |
| 493 | <p class="reference">Referenced by <a class="el" href="_profiling_event_test_8cpp_source.html#l00017">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 494 | <div class="fragment"><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& instrument : m_Instruments)</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  instrument->Start();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div></div><!-- fragment --> |
| 495 | </div> |
| 496 | </div> |
| 497 | <a id="a17a237457e57625296e6b24feb19c60a"></a> |
| 498 | <h2 class="memtitle"><span class="permalink"><a href="#a17a237457e57625296e6b24feb19c60a">◆ </a></span>Stop()</h2> |
| 499 | |
| 500 | <div class="memitem"> |
| 501 | <div class="memproto"> |
| 502 | <table class="memname"> |
| 503 | <tr> |
| 504 | <td class="memname">void Stop </td> |
| 505 | <td>(</td> |
| 506 | <td class="paramname"></td><td>)</td> |
| 507 | <td></td> |
| 508 | </tr> |
| 509 | </table> |
| 510 | </div><div class="memdoc"> |
| 511 | |
| 512 | <p>Stop the <a class="el" href="classarmnn_1_1_event.html">Event</a>. </p> |
| 513 | |
| 514 | <p class="definition">Definition at line <a class="el" href="_profiling_event_8cpp_source.html#l00046">46</a> of file <a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a>.</p> |
| 515 | |
| 516 | <p class="reference">Referenced by <a class="el" href="_profiling_event_test_8cpp_source.html#l00017">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 517 | <div class="fragment"><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& instrument : m_Instruments)</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  instrument->Stop();</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> }</div></div><!-- fragment --> |
| 518 | </div> |
| 519 | </div> |
| 520 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 521 | <li>src/armnn/<a class="el" href="_profiling_event_8hpp_source.html">ProfilingEvent.hpp</a></li> |
| 522 | <li>src/armnn/<a class="el" href="_profiling_event_8cpp_source.html">ProfilingEvent.cpp</a></li> |
| 523 | </ul> |
| 524 | </div><!-- contents --> |
| 525 | </div><!-- doc-content --> |
| 526 | <!-- start footer part --> |
| 527 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 528 | <ul> |
| 529 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_event.html">Event</a></li> |
| 530 | <li class="footer">Generated on Fri Mar 13 2020 16:07:03 for ArmNN by |
| 531 | <a href="http://www.doxygen.org/index.html"> |
| 532 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 533 | </ul> |
| 534 | </div> |
| 535 | </body> |
| 536 | </html> |