blob: d96ac02bce4099401b75f8b992cb1f84ea9efd1a [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.13"/>
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
8<title>ArmNN: MockProfilingService Class Reference</title>
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="dynsections.js"></script>
12<link href="navtree.css" rel="stylesheet" type="text/css"/>
13<script type="text/javascript" src="resize.js"></script>
14<script type="text/javascript" src="navtreedata.js"></script>
15<script type="text/javascript" src="navtree.js"></script>
16<script type="text/javascript">
17 $(document).ready(initResizable);
18</script>
19<link href="search/search.css" rel="stylesheet" type="text/css"/>
20<script type="text/javascript" src="search/searchdata.js"></script>
21<script type="text/javascript" src="search/search.js"></script>
22<link href="doxygen.css" rel="stylesheet" type="text/css" />
23</head>
24<body>
25<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26<div id="titlearea">
27<table cellspacing="0" cellpadding="0">
28 <tbody>
29 <tr style="height: 56px;">
30 <td id="projectalign" style="padding-left: 0.5em;">
31 <div id="projectname">ArmNN
32 &#160;<span id="projectnumber">NotReleased</span>
33 </div>
34 </td>
35 </tr>
36 </tbody>
37</table>
38</div>
39<!-- end header part -->
40<!-- Generated by Doxygen 1.8.13 -->
41<script type="text/javascript">
42var searchBox = new SearchBox("searchBox", "search",false,'Search');
43</script>
44<script type="text/javascript" src="menudata.js"></script>
45<script type="text/javascript" src="menu.js"></script>
46<script type="text/javascript">
47$(function() {
48 initMenu('',true,false,'search.php','Search');
49 $(document).ready(function() { init_search(); });
50});
51</script>
52<div id="main-nav"></div>
53</div><!-- top -->
54<div id="side-nav" class="ui-resizable side-nav-resizable">
55 <div id="nav-tree">
56 <div id="nav-tree-contents">
57 <div id="nav-sync" class="sync"></div>
58 </div>
59 </div>
60 <div id="splitbar" style="-moz-user-select:none;"
61 class="ui-resizable-handle">
62 </div>
63</div>
64<script type="text/javascript">
65$(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_mock_profiling_service.html','');});
66</script>
67<div id="doc-content">
68<!-- window showing the filter options -->
69<div id="MSearchSelectWindow"
70 onmouseover="return searchBox.OnSearchSelectShow()"
71 onmouseout="return searchBox.OnSearchSelectHide()"
72 onkeydown="return searchBox.OnSearchSelectKey(event)">
73</div>
74
75<!-- iframe showing the search results (closed by default) -->
76<div id="MSearchResultsWindow">
77<iframe src="javascript:void(0)" frameborder="0"
78 name="MSearchResults" id="MSearchResults">
79</iframe>
80</div>
81
82<div class="header">
83 <div class="summary">
84<a href="#pub-methods">Public Member Functions</a> &#124;
85<a href="classarmnn_1_1profiling_1_1_mock_profiling_service-members.html">List of all members</a> </div>
86 <div class="headertitle">
87<div class="title">MockProfilingService Class Reference</div> </div>
88</div><!--header-->
89<div class="contents">
90
91<p><code>#include &lt;<a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>&gt;</code></p>
92<div class="dynheader">
93Inheritance diagram for MockProfilingService:</div>
94<div class="dyncontent">
95 <div class="center">
96 <img src="classarmnn_1_1profiling_1_1_mock_profiling_service.png" usemap="#MockProfilingService_map" alt=""/>
97 <map id="MockProfilingService_map" name="MockProfilingService_map">
98<area href="classarmnn_1_1profiling_1_1_i_profiling_service.html" alt="IProfilingService" shape="rect" coords="0,56,155,80"/>
99<area href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html" alt="IRegisterCounterMapping" shape="rect" coords="165,56,320,80"/>
100<area href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html" alt="IProfilingGuidGenerator" shape="rect" coords="0,0,155,24"/>
101</map>
102 </div></div>
103<table class="memberdecls">
104<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
105Public Member Functions</h2></td></tr>
106<tr class="memitem:ac4fdca7279e346879a29fd8f04cd24be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#ac4fdca7279e346879a29fd8f04cd24be">MockProfilingService</a> (<a class="el" href="classarmnn_1_1profiling_1_1_mock_buffer_manager.html">MockBufferManager</a> &amp;mockBufferManager, bool isProfilingEnabled, const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a> &amp;captureData)</td></tr>
107<tr class="separator:ac4fdca7279e346879a29fd8f04cd24be"><td class="memSeparator" colspan="2">&#160;</td></tr>
108<tr class="memitem:aeea32305626f921e1e9f99434dbf9049"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.html">ProfilingDynamicGuid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#aeea32305626f921e1e9f99434dbf9049">NextGuid</a> () override</td></tr>
109<tr class="memdesc:aeea32305626f921e1e9f99434dbf9049"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the next random Guid in the sequence. <a href="#aeea32305626f921e1e9f99434dbf9049">More...</a><br /></td></tr>
110<tr class="separator:aeea32305626f921e1e9f99434dbf9049"><td class="memSeparator" colspan="2">&#160;</td></tr>
111<tr class="memitem:afd19633513acfc3ae294aa90b1e13a04"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.html">ProfilingStaticGuid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a> (const std::string &amp;str) override</td></tr>
112<tr class="memdesc:afd19633513acfc3ae294aa90b1e13a04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.html">ProfilingStaticGuid</a> based on a hash of the string. <a href="#afd19633513acfc3ae294aa90b1e13a04">More...</a><br /></td></tr>
113<tr class="separator:afd19633513acfc3ae294aa90b1e13a04"><td class="memSeparator" colspan="2">&#160;</td></tr>
114<tr class="memitem:a81f774c9319ff5d5b5bf4875e816d989"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html">ISendTimelinePacket</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#a81f774c9319ff5d5b5bf4875e816d989">GetSendTimelinePacket</a> () const override</td></tr>
115<tr class="separator:a81f774c9319ff5d5b5bf4875e816d989"><td class="memSeparator" colspan="2">&#160;</td></tr>
116<tr class="memitem:a37bec1c830464c365aa4434edd0de35a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.html">ICounterMappings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#a37bec1c830464c365aa4434edd0de35a">GetCounterMappings</a> () const override</td></tr>
117<tr class="separator:a37bec1c830464c365aa4434edd0de35a"><td class="memSeparator" colspan="2">&#160;</td></tr>
118<tr class="memitem:a28c5bcb3adea9e2476255acf1fc0647e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html">ISendCounterPacket</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#a28c5bcb3adea9e2476255acf1fc0647e">GetSendCounterPacket</a> () override</td></tr>
119<tr class="separator:a28c5bcb3adea9e2476255acf1fc0647e"><td class="memSeparator" colspan="2">&#160;</td></tr>
120<tr class="memitem:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#a70db5b1cdd0d22c1fa912c6e8b9089ce">IsProfilingEnabled</a> () const override</td></tr>
121<tr class="separator:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
122<tr class="memitem:aff23669159bfc39106dc16d50c0a6e5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#aff23669159bfc39106dc16d50c0a6e5f">GetCaptureData</a> () override</td></tr>
123<tr class="separator:aff23669159bfc39106dc16d50c0a6e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
124<tr class="memitem:a4c014af62ced747fc2ebbbc312f9845f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#a4c014af62ced747fc2ebbbc312f9845f">RegisterMapping</a> (uint16_t globalCounterId, uint16_t backendCounterId, const <a class="el" href="classarmnn_1_1_backend_id.html">armnn::BackendId</a> &amp;backendId) override</td></tr>
125<tr class="separator:a4c014af62ced747fc2ebbbc312f9845f"><td class="memSeparator" colspan="2">&#160;</td></tr>
126<tr class="memitem:af82f4acaed7bb39d568e689a9caa63d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html#af82f4acaed7bb39d568e689a9caa63d5">Reset</a> () override</td></tr>
127<tr class="separator:af82f4acaed7bb39d568e689a9caa63d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
128<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html">IProfilingService</a></td></tr>
129<tr class="memitem:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a1d441898feff66d8ac30fa1724386869">~IProfilingService</a> ()</td></tr>
130<tr class="separator:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
131<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html">IProfilingGuidGenerator</a></td></tr>
132<tr class="memitem:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html#ad19d8099ddbd9db86a34bdc756d110a8">~IProfilingGuidGenerator</a> ()</td></tr>
133<tr class="separator:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
134<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_register_counter_mapping"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_register_counter_mapping')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html">IRegisterCounterMapping</a></td></tr>
135<tr class="memitem:a9cd06e75fb10218f2decbd4117af4a8e inherit pub_methods_classarmnn_1_1profiling_1_1_i_register_counter_mapping"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html#a9cd06e75fb10218f2decbd4117af4a8e">~IRegisterCounterMapping</a> ()</td></tr>
136<tr class="separator:a9cd06e75fb10218f2decbd4117af4a8e inherit pub_methods_classarmnn_1_1profiling_1_1_i_register_counter_mapping"><td class="memSeparator" colspan="2">&#160;</td></tr>
137</table>
138<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
139<div class="textblock">
140<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00651">651</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
141</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
142<a id="ac4fdca7279e346879a29fd8f04cd24be"></a>
143<h2 class="memtitle"><span class="permalink"><a href="#ac4fdca7279e346879a29fd8f04cd24be">&#9670;&nbsp;</a></span>MockProfilingService()</h2>
144
145<div class="memitem">
146<div class="memproto">
147<table class="mlabels">
148 <tr>
149 <td class="mlabels-left">
150 <table class="memname">
151 <tr>
152 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html">MockProfilingService</a> </td>
153 <td>(</td>
154 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_mock_buffer_manager.html">MockBufferManager</a> &amp;&#160;</td>
155 <td class="paramname"><em>mockBufferManager</em>, </td>
156 </tr>
157 <tr>
158 <td class="paramkey"></td>
159 <td></td>
160 <td class="paramtype">bool&#160;</td>
161 <td class="paramname"><em>isProfilingEnabled</em>, </td>
162 </tr>
163 <tr>
164 <td class="paramkey"></td>
165 <td></td>
166 <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a> &amp;&#160;</td>
167 <td class="paramname"><em>captureData</em>&#160;</td>
168 </tr>
169 <tr>
170 <td></td>
171 <td>)</td>
172 <td></td><td></td>
173 </tr>
174 </table>
175 </td>
176 <td class="mlabels-right">
177<span class="mlabels"><span class="mlabel">inline</span></span> </td>
178 </tr>
179</table>
180</div><div class="memdoc">
181
182<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00654">654</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
183<div class="fragment"><div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; :</div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; m_SendCounterPacket(mockBufferManager),</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; m_IsProfilingEnabled(isProfilingEnabled),</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; m_CaptureData(captureData) {}</div></div><!-- fragment -->
184</div>
185</div>
186<h2 class="groupheader">Member Function Documentation</h2>
187<a id="afd19633513acfc3ae294aa90b1e13a04"></a>
188<h2 class="memtitle"><span class="permalink"><a href="#afd19633513acfc3ae294aa90b1e13a04">&#9670;&nbsp;</a></span>GenerateStaticId()</h2>
189
190<div class="memitem">
191<div class="memproto">
192<table class="mlabels">
193 <tr>
194 <td class="mlabels-left">
195 <table class="memname">
196 <tr>
197 <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.html">ProfilingStaticGuid</a> GenerateStaticId </td>
198 <td>(</td>
199 <td class="paramtype">const std::string &amp;&#160;</td>
200 <td class="paramname"><em>str</em></td><td>)</td>
201 <td></td>
202 </tr>
203 </table>
204 </td>
205 <td class="mlabels-right">
206<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
207 </tr>
208</table>
209</div><div class="memdoc">
210
211<p>Create a <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.html">ProfilingStaticGuid</a> based on a hash of the string. </p>
212
213<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html#a9aff9f95b721c2dd1d229b9816261f1b">IProfilingGuidGenerator</a>.</p>
214
215<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00668">668</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
216<div class="fragment"><div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; {</div><div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; <span class="keywordflow">return</span> m_GuidGenerator.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_guid_generator.html#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a>(str);</div><div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_guid_generator_html_afd19633513acfc3ae294aa90b1e13a04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_guid_generator.html#afd19633513acfc3ae294aa90b1e13a04">armnn::profiling::ProfilingGuidGenerator::GenerateStaticId</a></div><div class="ttdeci">ProfilingStaticGuid GenerateStaticId(const std::string &amp;str) override</div><div class="ttdoc">Create a ProfilingStaticGuid based on a hash of the string. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_guid_generator_8hpp_source.html#l00038">ProfilingGuidGenerator.hpp:38</a></div></div>
217</div><!-- fragment -->
218</div>
219</div>
220<a id="aff23669159bfc39106dc16d50c0a6e5f"></a>
221<h2 class="memtitle"><span class="permalink"><a href="#aff23669159bfc39106dc16d50c0a6e5f">&#9670;&nbsp;</a></span>GetCaptureData()</h2>
222
223<div class="memitem">
224<div class="memproto">
225<table class="mlabels">
226 <tr>
227 <td class="mlabels-left">
228 <table class="memname">
229 <tr>
230 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a> GetCaptureData </td>
231 <td>(</td>
232 <td class="paramname"></td><td>)</td>
233 <td></td>
234 </tr>
235 </table>
236 </td>
237 <td class="mlabels-right">
238<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
239 </tr>
240</table>
241</div><div class="memdoc">
242
243<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#ac4e831d7fe03198d15e7212c7d40c96c">IProfilingService</a>.</p>
244
245<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00693">693</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
246<div class="fragment"><div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; {</div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; CaptureData copy(m_CaptureData);</div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; <span class="keywordflow">return</span> copy;</div><div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160; }</div></div><!-- fragment -->
247</div>
248</div>
249<a id="a37bec1c830464c365aa4434edd0de35a"></a>
250<h2 class="memtitle"><span class="permalink"><a href="#a37bec1c830464c365aa4434edd0de35a">&#9670;&nbsp;</a></span>GetCounterMappings()</h2>
251
252<div class="memitem">
253<div class="memproto">
254<table class="mlabels">
255 <tr>
256 <td class="mlabels-left">
257 <table class="memname">
258 <tr>
259 <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.html">ICounterMappings</a>&amp; GetCounterMappings </td>
260 <td>(</td>
261 <td class="paramname"></td><td>)</td>
262 <td> const</td>
263 </tr>
264 </table>
265 </td>
266 <td class="mlabels-right">
267<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
268 </tr>
269</table>
270</div><div class="memdoc">
271
272<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a743ad7374bfc124be30eebeb93206acd">IProfilingService</a>.</p>
273
274<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00678">678</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
275<div class="fragment"><div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; {</div><div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; <span class="keywordflow">return</span> m_CounterMapping;</div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160; }</div></div><!-- fragment -->
276</div>
277</div>
278<a id="a28c5bcb3adea9e2476255acf1fc0647e"></a>
279<h2 class="memtitle"><span class="permalink"><a href="#a28c5bcb3adea9e2476255acf1fc0647e">&#9670;&nbsp;</a></span>GetSendCounterPacket()</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_1profiling_1_1_i_send_counter_packet.html">ISendCounterPacket</a>&amp; GetSendCounterPacket </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">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
297 </tr>
298</table>
299</div><div class="memdoc">
300
301<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#af39c79e2dbf841cf43cfcf1e5f2a30cb">IProfilingService</a>.</p>
302
303<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00683">683</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
304<div class="fragment"><div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; {</div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; <span class="keywordflow">return</span> m_SendCounterPacket;</div><div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; }</div></div><!-- fragment -->
305</div>
306</div>
307<a id="a81f774c9319ff5d5b5bf4875e816d989"></a>
308<h2 class="memtitle"><span class="permalink"><a href="#a81f774c9319ff5d5b5bf4875e816d989">&#9670;&nbsp;</a></span>GetSendTimelinePacket()</h2>
309
310<div class="memitem">
311<div class="memproto">
312<table class="mlabels">
313 <tr>
314 <td class="mlabels-left">
315 <table class="memname">
316 <tr>
317 <td class="memname">std::unique_ptr&lt;<a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html">ISendTimelinePacket</a>&gt; GetSendTimelinePacket </td>
318 <td>(</td>
319 <td class="paramname"></td><td>)</td>
320 <td> const</td>
321 </tr>
322 </table>
323 </td>
324 <td class="mlabels-right">
325<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
326 </tr>
327</table>
328</div><div class="memdoc">
329
330<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a33877b12b685ae752dc1227fe14d9441">IProfilingService</a>.</p>
331
332<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00673">673</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
333<div class="fragment"><div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; {</div><div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; }</div></div><!-- fragment -->
334</div>
335</div>
336<a id="a70db5b1cdd0d22c1fa912c6e8b9089ce"></a>
337<h2 class="memtitle"><span class="permalink"><a href="#a70db5b1cdd0d22c1fa912c6e8b9089ce">&#9670;&nbsp;</a></span>IsProfilingEnabled()</h2>
338
339<div class="memitem">
340<div class="memproto">
341<table class="mlabels">
342 <tr>
343 <td class="mlabels-left">
344 <table class="memname">
345 <tr>
346 <td class="memname">bool IsProfilingEnabled </td>
347 <td>(</td>
348 <td class="paramname"></td><td>)</td>
349 <td> const</td>
350 </tr>
351 </table>
352 </td>
353 <td class="mlabels-right">
354<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
355 </tr>
356</table>
357</div><div class="memdoc">
358
359<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a93ee1c2509b9db845936a291b575dd17">IProfilingService</a>.</p>
360
361<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00688">688</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
362<div class="fragment"><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; {</div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; <span class="keywordflow">return</span> m_IsProfilingEnabled;</div><div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; }</div></div><!-- fragment -->
363</div>
364</div>
365<a id="aeea32305626f921e1e9f99434dbf9049"></a>
366<h2 class="memtitle"><span class="permalink"><a href="#aeea32305626f921e1e9f99434dbf9049">&#9670;&nbsp;</a></span>NextGuid()</h2>
367
368<div class="memitem">
369<div class="memproto">
370<table class="mlabels">
371 <tr>
372 <td class="mlabels-left">
373 <table class="memname">
374 <tr>
375 <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.html">ProfilingDynamicGuid</a> NextGuid </td>
376 <td>(</td>
377 <td class="paramname"></td><td>)</td>
378 <td></td>
379 </tr>
380 </table>
381 </td>
382 <td class="mlabels-right">
383<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
384 </tr>
385</table>
386</div><div class="memdoc">
387
388<p>Return the next random Guid in the sequence. </p>
389
390<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html#a46e22ba5f91b48d2b5165648787b9ace">IProfilingGuidGenerator</a>.</p>
391
392<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00662">662</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
393<div class="fragment"><div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; {</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <span class="keywordflow">return</span> m_GuidGenerator.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_guid_generator.html#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_guid_generator_html_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_guid_generator.html#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingGuidGenerator::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_guid_generator_8hpp_source.html#l00025">ProfilingGuidGenerator.hpp:25</a></div></div>
394</div><!-- fragment -->
395</div>
396</div>
397<a id="a4c014af62ced747fc2ebbbc312f9845f"></a>
398<h2 class="memtitle"><span class="permalink"><a href="#a4c014af62ced747fc2ebbbc312f9845f">&#9670;&nbsp;</a></span>RegisterMapping()</h2>
399
400<div class="memitem">
401<div class="memproto">
402<table class="mlabels">
403 <tr>
404 <td class="mlabels-left">
405 <table class="memname">
406 <tr>
407 <td class="memname">void RegisterMapping </td>
408 <td>(</td>
409 <td class="paramtype">uint16_t&#160;</td>
410 <td class="paramname"><em>globalCounterId</em>, </td>
411 </tr>
412 <tr>
413 <td class="paramkey"></td>
414 <td></td>
415 <td class="paramtype">uint16_t&#160;</td>
416 <td class="paramname"><em>backendCounterId</em>, </td>
417 </tr>
418 <tr>
419 <td class="paramkey"></td>
420 <td></td>
421 <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">armnn::BackendId</a> &amp;&#160;</td>
422 <td class="paramname"><em>backendId</em>&#160;</td>
423 </tr>
424 <tr>
425 <td></td>
426 <td>)</td>
427 <td></td><td></td>
428 </tr>
429 </table>
430 </td>
431 <td class="mlabels-right">
432<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
433 </tr>
434</table>
435</div><div class="memdoc">
436
437<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html#ae8ae959752e05d110a66f590dfb18faa">IRegisterCounterMapping</a>.</p>
438
439<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00699">699</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
440
441<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l03416">BOOST_AUTO_TEST_CASE()</a>.</p>
442<div class="fragment"><div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160; {</div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160; m_CounterMapping.<a class="code" href="classarmnn_1_1profiling_1_1_counter_id_map.html#a4c014af62ced747fc2ebbbc312f9845f">RegisterMapping</a>(globalCounterId, backendCounterId, backendId);</div><div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160; }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_counter_id_map_html_a4c014af62ced747fc2ebbbc312f9845f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_counter_id_map.html#a4c014af62ced747fc2ebbbc312f9845f">armnn::profiling::CounterIdMap::RegisterMapping</a></div><div class="ttdeci">void RegisterMapping(uint16_t globalCounterId, uint16_t backendCounterId, const armnn::BackendId &amp;backendId) override</div><div class="ttdef"><b>Definition:</b> <a href="_counter_id_map_8cpp_source.html#l00015">CounterIdMap.cpp:15</a></div></div>
443</div><!-- fragment -->
444</div>
445</div>
446<a id="af82f4acaed7bb39d568e689a9caa63d5"></a>
447<h2 class="memtitle"><span class="permalink"><a href="#af82f4acaed7bb39d568e689a9caa63d5">&#9670;&nbsp;</a></span>Reset()</h2>
448
449<div class="memitem">
450<div class="memproto">
451<table class="mlabels">
452 <tr>
453 <td class="mlabels-left">
454 <table class="memname">
455 <tr>
456 <td class="memname">void Reset </td>
457 <td>(</td>
458 <td class="paramname"></td><td>)</td>
459 <td></td>
460 </tr>
461 </table>
462 </td>
463 <td class="mlabels-right">
464<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
465 </tr>
466</table>
467</div><div class="memdoc">
468
469<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html#a43a787400d2a563b9eee1a149225c18a">IRegisterCounterMapping</a>.</p>
470
471<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.html#l00706">706</a> of file <a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>.</p>
472<div class="fragment"><div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; {</div><div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; m_CounterMapping.<a class="code" href="classarmnn_1_1profiling_1_1_counter_id_map.html#af82f4acaed7bb39d568e689a9caa63d5">Reset</a>();</div><div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_counter_id_map_html_af82f4acaed7bb39d568e689a9caa63d5"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_counter_id_map.html#af82f4acaed7bb39d568e689a9caa63d5">armnn::profiling::CounterIdMap::Reset</a></div><div class="ttdeci">void Reset() override</div><div class="ttdef"><b>Definition:</b> <a href="_counter_id_map_8cpp_source.html#l00024">CounterIdMap.cpp:24</a></div></div>
473</div><!-- fragment -->
474</div>
475</div>
476<hr/>The documentation for this class was generated from the following file:<ul>
477<li>src/profiling/test/<a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a></li>
478</ul>
479</div><!-- contents -->
480</div><!-- doc-content -->
481<!-- start footer part -->
482<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
483 <ul>
484 <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1profiling.html">profiling</a></li><li class="navelem"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html">MockProfilingService</a></li>
485 <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by
486 <a href="http://www.doxygen.org/index.html">
487 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
488 </ul>
489</div>
490</body>
491</html>