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