| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.13"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>ArmNN: MockProfilingService Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| </script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname">ArmNN |
|  <span id="projectnumber">NotReleased</span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.13 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| </script> |
| <div id="main-nav"></div> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| $(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_mock_profiling_service.html','');}); |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="classarmnn_1_1profiling_1_1_mock_profiling_service-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">MockProfilingService Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p><code>#include <<a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a>></code></p> |
| <div class="dynheader"> |
| Inheritance diagram for MockProfilingService:</div> |
| <div class="dyncontent"> |
| <div class="center"> |
| <img src="classarmnn_1_1profiling_1_1_mock_profiling_service.png" usemap="#MockProfilingService_map" alt=""/> |
| <map id="MockProfilingService_map" name="MockProfilingService_map"> |
| <area href="classarmnn_1_1profiling_1_1_i_profiling_service.html" alt="IProfilingService" shape="rect" coords="0,56,155,80"/> |
| <area href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html" alt="IRegisterCounterMapping" shape="rect" coords="165,56,320,80"/> |
| <area href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html" alt="IProfilingGuidGenerator" shape="rect" coords="0,0,155,24"/> |
| </map> |
| </div></div> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:ac4fdca7279e346879a29fd8f04cd24be"><td class="memItemLeft" align="right" valign="top"> </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> &mockBufferManager, bool isProfilingEnabled, const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a> &captureData)</td></tr> |
| <tr class="separator:ac4fdca7279e346879a29fd8f04cd24be"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> </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> |
| <tr class="memdesc:aeea32305626f921e1e9f99434dbf9049"><td class="mdescLeft"> </td><td class="mdescRight">Return the next random Guid in the sequence. <a href="#aeea32305626f921e1e9f99434dbf9049">More...</a><br /></td></tr> |
| <tr class="separator:aeea32305626f921e1e9f99434dbf9049"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> </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 &str) override</td></tr> |
| <tr class="memdesc:afd19633513acfc3ae294aa90b1e13a04"><td class="mdescLeft"> </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> |
| <tr class="separator:afd19633513acfc3ae294aa90b1e13a04"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a81f774c9319ff5d5b5bf4875e816d989"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html">ISendTimelinePacket</a> > </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> |
| <tr class="separator:a81f774c9319ff5d5b5bf4875e816d989"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> & </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> |
| <tr class="separator:a37bec1c830464c365aa4434edd0de35a"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> & </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> |
| <tr class="separator:a28c5bcb3adea9e2476255acf1fc0647e"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memItemLeft" align="right" valign="top">bool </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> |
| <tr class="separator:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> </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> |
| <tr class="separator:aff23669159bfc39106dc16d50c0a6e5f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a4c014af62ced747fc2ebbbc312f9845f"><td class="memItemLeft" align="right" valign="top">void </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> &backendId) override</td></tr> |
| <tr class="separator:a4c014af62ced747fc2ebbbc312f9845f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af82f4acaed7bb39d568e689a9caa63d5"><td class="memItemLeft" align="right" valign="top">void </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> |
| <tr class="separator:af82f4acaed7bb39d568e689a9caa63d5"><td class="memSeparator" colspan="2"> </td></tr> |
| <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="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html">IProfilingService</a></td></tr> |
| <tr class="memitem:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a1d441898feff66d8ac30fa1724386869">~IProfilingService</a> ()</td></tr> |
| <tr class="separator:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| <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="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html">IProfilingGuidGenerator</a></td></tr> |
| <tr class="memitem:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memItemLeft" align="right" valign="top">virtual </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> |
| <tr class="separator:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memSeparator" colspan="2"> </td></tr> |
| <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="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html">IRegisterCounterMapping</a></td></tr> |
| <tr class="memitem:a9cd06e75fb10218f2decbd4117af4a8e inherit pub_methods_classarmnn_1_1profiling_1_1_i_register_counter_mapping"><td class="memItemLeft" align="right" valign="top">virtual </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> |
| <tr class="separator:a9cd06e75fb10218f2decbd4117af4a8e inherit pub_methods_classarmnn_1_1profiling_1_1_i_register_counter_mapping"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"> |
| <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> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="ac4fdca7279e346879a29fd8f04cd24be"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ac4fdca7279e346879a29fd8f04cd24be">◆ </a></span>MockProfilingService()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.html">MockProfilingService</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_mock_buffer_manager.html">MockBufferManager</a> & </td> |
| <td class="paramname"><em>mockBufferManager</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>isProfilingEnabled</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a> & </td> |
| <td class="paramname"><em>captureData</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00656"></a><span class="lineno"> 656</span>  :</div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  m_SendCounterPacket(mockBufferManager),</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  m_IsProfilingEnabled(isProfilingEnabled),</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span>  m_CaptureData(captureData) {}</div></div><!-- fragment --> |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a id="afd19633513acfc3ae294aa90b1e13a04"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#afd19633513acfc3ae294aa90b1e13a04">◆ </a></span>GenerateStaticId()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.html">ProfilingStaticGuid</a> GenerateStaticId </td> |
| <td>(</td> |
| <td class="paramtype">const std::string & </td> |
| <td class="paramname"><em>str</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <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> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html#a9aff9f95b721c2dd1d229b9816261f1b">IProfilingGuidGenerator</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00669"></a><span class="lineno"> 669</span>  {</div><div class="line"><a name="l00670"></a><span class="lineno"> 670</span>  <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>  }</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 &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> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="aff23669159bfc39106dc16d50c0a6e5f"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aff23669159bfc39106dc16d50c0a6e5f">◆ </a></span>GetCaptureData()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a> GetCaptureData </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#ac4e831d7fe03198d15e7212c7d40c96c">IProfilingService</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00694"></a><span class="lineno"> 694</span>  {</div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span>  CaptureData copy(m_CaptureData);</div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span>  <span class="keywordflow">return</span> copy;</div><div class="line"><a name="l00697"></a><span class="lineno"> 697</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a37bec1c830464c365aa4434edd0de35a"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a37bec1c830464c365aa4434edd0de35a">◆ </a></span>GetCounterMappings()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.html">ICounterMappings</a>& GetCounterMappings </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a743ad7374bfc124be30eebeb93206acd">IProfilingService</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00679"></a><span class="lineno"> 679</span>  {</div><div class="line"><a name="l00680"></a><span class="lineno"> 680</span>  <span class="keywordflow">return</span> m_CounterMapping;</div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a28c5bcb3adea9e2476255acf1fc0647e"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a28c5bcb3adea9e2476255acf1fc0647e">◆ </a></span>GetSendCounterPacket()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html">ISendCounterPacket</a>& GetSendCounterPacket </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#af39c79e2dbf841cf43cfcf1e5f2a30cb">IProfilingService</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00684"></a><span class="lineno"> 684</span>  {</div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span>  <span class="keywordflow">return</span> m_SendCounterPacket;</div><div class="line"><a name="l00686"></a><span class="lineno"> 686</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a81f774c9319ff5d5b5bf4875e816d989"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a81f774c9319ff5d5b5bf4875e816d989">◆ </a></span>GetSendTimelinePacket()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">std::unique_ptr<<a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html">ISendTimelinePacket</a>> GetSendTimelinePacket </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a33877b12b685ae752dc1227fe14d9441">IProfilingService</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00674"></a><span class="lineno"> 674</span>  {</div><div class="line"><a name="l00675"></a><span class="lineno"> 675</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00676"></a><span class="lineno"> 676</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a70db5b1cdd0d22c1fa912c6e8b9089ce"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a70db5b1cdd0d22c1fa912c6e8b9089ce">◆ </a></span>IsProfilingEnabled()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool IsProfilingEnabled </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a93ee1c2509b9db845936a291b575dd17">IProfilingService</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>  {</div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span>  <span class="keywordflow">return</span> m_IsProfilingEnabled;</div><div class="line"><a name="l00691"></a><span class="lineno"> 691</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="aeea32305626f921e1e9f99434dbf9049"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aeea32305626f921e1e9f99434dbf9049">◆ </a></span>NextGuid()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.html">ProfilingDynamicGuid</a> NextGuid </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Return the next random Guid in the sequence. </p> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html#a46e22ba5f91b48d2b5165648787b9ace">IProfilingGuidGenerator</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00663"></a><span class="lineno"> 663</span>  {</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>  <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>  }</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> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a4c014af62ced747fc2ebbbc312f9845f"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a4c014af62ced747fc2ebbbc312f9845f">◆ </a></span>RegisterMapping()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void RegisterMapping </td> |
| <td>(</td> |
| <td class="paramtype">uint16_t </td> |
| <td class="paramname"><em>globalCounterId</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">uint16_t </td> |
| <td class="paramname"><em>backendCounterId</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">armnn::BackendId</a> & </td> |
| <td class="paramname"><em>backendId</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html#ae8ae959752e05d110a66f590dfb18faa">IRegisterCounterMapping</a>.</p> |
| |
| <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> |
| |
| <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l03416">BOOST_AUTO_TEST_CASE()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00702"></a><span class="lineno"> 702</span>  {</div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span>  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>  }</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 &backendId) override</div><div class="ttdef"><b>Definition:</b> <a href="_counter_id_map_8cpp_source.html#l00015">CounterIdMap.cpp:15</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="af82f4acaed7bb39d568e689a9caa63d5"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#af82f4acaed7bb39d568e689a9caa63d5">◆ </a></span>Reset()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void Reset </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html#a43a787400d2a563b9eee1a149225c18a">IRegisterCounterMapping</a>.</p> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00707"></a><span class="lineno"> 707</span>  {</div><div class="line"><a name="l00708"></a><span class="lineno"> 708</span>  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>  }</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> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li>src/profiling/test/<a class="el" href="_profiling_mocks_8hpp_source.html">ProfilingMocks.hpp</a></li> |
| </ul> |
| </div><!-- contents --> |
| </div><!-- doc-content --> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <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> |
| <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |