Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- 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: SwapProfilingConnectionFactoryHelper 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 |  <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"> |
| 56 | var 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_swap_profiling_connection_factory_helper.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-types">Public Types</a> | |
| 99 | <a href="#pub-methods">Public Member Functions</a> | |
| 100 | <a href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">SwapProfilingConnectionFactoryHelper Class Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>></code></p> |
| 107 | <div class="dynheader"> |
| 108 | Inheritance diagram for SwapProfilingConnectionFactoryHelper:</div> |
| 109 | <div class="dyncontent"> |
| 110 | <div class="center"> |
| 111 | <img src="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.png" usemap="#SwapProfilingConnectionFactoryHelper_map" alt=""/> |
| 112 | <map id="SwapProfilingConnectionFactoryHelper_map" name="SwapProfilingConnectionFactoryHelper_map"> |
| 113 | <area href="classarmnn_1_1profiling_1_1_profiling_service.xhtml" alt="ProfilingService" shape="rect" coords="307,112,543,136"/> |
| 114 | <area href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml" alt="IReadWriteCounterValues" shape="rect" coords="123,56,359,80"/> |
| 115 | <area href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml" alt="IProfilingService" shape="rect" coords="492,56,728,80"/> |
| 116 | <area href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml" alt="IReadCounterValues" shape="rect" coords="0,0,236,24"/> |
| 117 | <area href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml" alt="IWriteCounterValues" shape="rect" coords="246,0,482,24"/> |
| 118 | <area href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.xhtml" alt="IProfilingGuidGenerator" shape="rect" coords="492,0,728,24"/> |
| 119 | </map> |
| 120 | </div></div> |
| 121 | <table class="memberdecls"> |
| 122 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 123 | Public Types</h2></td></tr> |
| 124 | <tr class="memitem:a2c1ea69edf1cdf5889be8844757342e9"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml#a2c1ea69edf1cdf5889be8844757342e9">MockProfilingConnectionFactoryPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection_factory.xhtml">MockProfilingConnectionFactory</a> ></td></tr> |
| 125 | <tr class="separator:a2c1ea69edf1cdf5889be8844757342e9"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="inherit_header pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classarmnn_1_1profiling_1_1_profiling_service')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a></td></tr> |
| 127 | <tr class="memitem:a1e3ab71aae7621abd6c1a16cc71b68e0 inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> = <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">IRuntime::CreationOptions::ExternalProfilingOptions</a></td></tr> |
| 128 | <tr class="separator:a1e3ab71aae7621abd6c1a16cc71b68e0 inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a7dad9d60aee962234b621096eaeb994a inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a">IProfilingConnectionFactoryPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> ></td></tr> |
| 130 | <tr class="separator:a7dad9d60aee962234b621096eaeb994a inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:abb7f442bd7409c8dff2b9346fd67bce3 inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3">IProfilingConnectionPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> ></td></tr> |
| 132 | <tr class="separator:abb7f442bd7409c8dff2b9346fd67bce3 inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:a59428d9e62f7be5c7682efffce09891a inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a">CounterIndices</a> = std::vector< std::atomic< uint32_t > * ></td></tr> |
| 134 | <tr class="separator:a59428d9e62f7be5c7682efffce09891a inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a8b4cbb2df55028789ae1901fd9d8987c inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c">CounterValues</a> = std::list< std::atomic< uint32_t > ></td></tr> |
| 136 | <tr class="separator:a8b4cbb2df55028789ae1901fd9d8987c inherit pub_types_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | </table><table class="memberdecls"> |
| 138 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 139 | Public Member Functions</h2></td></tr> |
| 140 | <tr class="memitem:a25f1d8209e813c26c5b8ca11a36c18b8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml#a25f1d8209e813c26c5b8ca11a36c18b8">SwapProfilingConnectionFactoryHelper</a> ()</td></tr> |
| 141 | <tr class="separator:a25f1d8209e813c26c5b8ca11a36c18b8"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:ac74652db3008db9cf64f785f2ae0de81"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml#ac74652db3008db9cf64f785f2ae0de81">~SwapProfilingConnectionFactoryHelper</a> ()</td></tr> |
| 143 | <tr class="separator:ac74652db3008db9cf64f785f2ae0de81"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <tr class="memitem:a8ccd73b0bb970c18b05a0bc63fcd0279"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection.xhtml">MockProfilingConnection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml#a8ccd73b0bb970c18b05a0bc63fcd0279">GetMockProfilingConnection</a> ()</td></tr> |
| 145 | <tr class="separator:a8ccd73b0bb970c18b05a0bc63fcd0279"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <tr class="memitem:a03f72b1ccbef21ab7caafb037ce2144c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml#a03f72b1ccbef21ab7caafb037ce2144c">ForceTransitionToState</a> (<a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> newState)</td></tr> |
| 147 | <tr class="separator:a03f72b1ccbef21ab7caafb037ce2144c"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | <tr class="memitem:a19cea020509e009eb4661618eecf3cf3"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml#a19cea020509e009eb4661618eecf3cf3">WaitForPacketsSent</a> (<a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection.xhtml">MockProfilingConnection</a> *mockProfilingConnection, <a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection.xhtml#a0a80a7bc045affcf10846075b88cbca0">MockProfilingConnection::PacketType</a> packetType, uint32_t length=0, uint32_t timeout=1000)</td></tr> |
| 149 | <tr class="separator:a19cea020509e009eb4661618eecf3cf3"><td class="memSeparator" colspan="2"> </td></tr> |
| 150 | <tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_profiling_service')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a></td></tr> |
| 151 | <tr class="memitem:ae7a3588986b93e13fda47c7ce4b0627c inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ae7a3588986b93e13fda47c7ce4b0627c">ResetExternalProfilingOptions</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>, bool resetProfilingService=<a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a>)</td></tr> |
| 152 | <tr class="separator:ae7a3588986b93e13fda47c7ce4b0627c inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:a004992fdba75e298495d6b628234a4bd inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a004992fdba75e298495d6b628234a4bd">ConfigureProfilingService</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>, bool resetProfilingService=<a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a>)</td></tr> |
| 154 | <tr class="separator:a004992fdba75e298495d6b628234a4bd inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:aec0783b5a136e042adcc47bae4fe5291 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a> ()</td></tr> |
| 156 | <tr class="separator:aec0783b5a136e042adcc47bae4fe5291 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:a65d18fa17ec0238d7e72f6c8f5c880b6 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65d18fa17ec0238d7e72f6c8f5c880b6">Disconnect</a> ()</td></tr> |
| 158 | <tr class="separator:a65d18fa17ec0238d7e72f6c8f5c880b6 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:ab156998ddd9e58d2f79567bfb70e122c inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ab156998ddd9e58d2f79567bfb70e122c">AddBackendProfilingContext</a> (const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> backendId, std::shared_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_backend_profiling_context.xhtml">armnn::profiling::IBackendProfilingContext</a> > profilingContext)</td></tr> |
| 160 | <tr class="separator:ab156998ddd9e58d2f79567bfb70e122c inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:adfaa32654e05eab63b2adc34b2138475 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adfaa32654e05eab63b2adc34b2138475">GetCounterDirectory</a> () const</td></tr> |
| 162 | <tr class="separator:adfaa32654e05eab63b2adc34b2138475 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:ad5fffd20c7356754964d06ae73f72293 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_registry.xhtml">ICounterRegistry</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad5fffd20c7356754964d06ae73f72293">GetCounterRegistry</a> ()</td></tr> |
| 164 | <tr class="separator:ad5fffd20c7356754964d06ae73f72293 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:ad8d263669817cf577760710ff6c96bb9 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a> () const</td></tr> |
| 166 | <tr class="separator:ad8d263669817cf577760710ff6c96bb9 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 167 | <tr class="memitem:a0ae21870422d53982556e0e31d6b19ee inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a0ae21870422d53982556e0e31d6b19ee">IsCounterRegistered</a> (uint16_t counterUid) const override</td></tr> |
| 168 | <tr class="separator:a0ae21870422d53982556e0e31d6b19ee inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 169 | <tr class="memitem:a551aeb069aa71dd81310c7635e65e53c inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a551aeb069aa71dd81310c7635e65e53c">GetCounterValue</a> (uint16_t counterUid) const override</td></tr> |
| 170 | <tr class="separator:a551aeb069aa71dd81310c7635e65e53c inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 171 | <tr class="memitem:ad9062caad1836f8e6b810e4e97bb19d1 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a> () const override</td></tr> |
| 172 | <tr class="separator:ad9062caad1836f8e6b810e4e97bb19d1 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 173 | <tr class="memitem:aed969262d8bf6d59eb8f65fb89d47959 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.xhtml">ICounterMappings</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aed969262d8bf6d59eb8f65fb89d47959">GetCounterMappings</a> () const override</td></tr> |
| 174 | <tr class="separator:aed969262d8bf6d59eb8f65fb89d47959 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 175 | <tr class="memitem:a04f78379965ef10275613dd265fd0607 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.xhtml">IRegisterCounterMapping</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a04f78379965ef10275613dd265fd0607">GetCounterMappingRegistry</a> ()</td></tr> |
| 176 | <tr class="separator:a04f78379965ef10275613dd265fd0607 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 177 | <tr class="memitem:a70db5b1cdd0d22c1fa912c6e8b9089ce inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a70db5b1cdd0d22c1fa912c6e8b9089ce">IsProfilingEnabled</a> () const override</td></tr> |
| 178 | <tr class="separator:a70db5b1cdd0d22c1fa912c6e8b9089ce inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 179 | <tr class="memitem:aff23669159bfc39106dc16d50c0a6e5f inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aff23669159bfc39106dc16d50c0a6e5f">GetCaptureData</a> () override</td></tr> |
| 180 | <tr class="separator:aff23669159bfc39106dc16d50c0a6e5f inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 181 | <tr class="memitem:a40078141c4d1216eef4215fc10d0cbbc inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a40078141c4d1216eef4215fc10d0cbbc">SetCaptureData</a> (uint32_t capturePeriod, const std::vector< uint16_t > &counterIds, const std::set< <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> > &activeBackends)</td></tr> |
| 182 | <tr class="separator:a40078141c4d1216eef4215fc10d0cbbc inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 183 | <tr class="memitem:a5468b88e2e2e65892f9589d00ed06775 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a5468b88e2e2e65892f9589d00ed06775">SetCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr> |
| 184 | <tr class="separator:a5468b88e2e2e65892f9589d00ed06775 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 185 | <tr class="memitem:a2d1ab72611dfc67cf1b491849ea386a4 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2d1ab72611dfc67cf1b491849ea386a4">AddCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr> |
| 186 | <tr class="separator:a2d1ab72611dfc67cf1b491849ea386a4 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 187 | <tr class="memitem:a2e08a9bc2818fb46503c1720562de8d7 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2e08a9bc2818fb46503c1720562de8d7">SubtractCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr> |
| 188 | <tr class="separator:a2e08a9bc2818fb46503c1720562de8d7 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 189 | <tr class="memitem:a6c2d955d387944f5b7ad37ebb435a37f inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6c2d955d387944f5b7ad37ebb435a37f">IncrementCounterValue</a> (uint16_t counterUid) override</td></tr> |
| 190 | <tr class="separator:a6c2d955d387944f5b7ad37ebb435a37f inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 191 | <tr class="memitem:aeea32305626f921e1e9f99434dbf9049 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a> () override</td></tr> |
| 192 | <tr class="memdesc:aeea32305626f921e1e9f99434dbf9049 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="mdescLeft"> </td><td class="mdescRight">Return the next random Guid in the sequence. <a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">More...</a><br /></td></tr> |
| 193 | <tr class="separator:aeea32305626f921e1e9f99434dbf9049 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 194 | <tr class="memitem:afd19633513acfc3ae294aa90b1e13a04 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a> (const std::string &str) override</td></tr> |
| 195 | <tr class="memdesc:afd19633513acfc3ae294aa90b1e13a04 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="mdescLeft"> </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="classarmnn_1_1profiling_1_1_profiling_service.xhtml#afd19633513acfc3ae294aa90b1e13a04">More...</a><br /></td></tr> |
| 196 | <tr class="separator:afd19633513acfc3ae294aa90b1e13a04 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 197 | <tr class="memitem:a71c4eb6e11d491f84df504cf7f5a6337 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml">ISendTimelinePacket</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a71c4eb6e11d491f84df504cf7f5a6337">GetSendTimelinePacket</a> () const override</td></tr> |
| 198 | <tr class="separator:a71c4eb6e11d491f84df504cf7f5a6337 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 199 | <tr class="memitem:a28c5bcb3adea9e2476255acf1fc0647e inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">ISendCounterPacket</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a28c5bcb3adea9e2476255acf1fc0647e">GetSendCounterPacket</a> () override</td></tr> |
| 200 | <tr class="separator:a28c5bcb3adea9e2476255acf1fc0647e inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 201 | <tr class="memitem:a1761b178387cbae811472267972df121 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1761b178387cbae811472267972df121">IsEnabled</a> ()</td></tr> |
| 202 | <tr class="memdesc:a1761b178387cbae811472267972df121 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="mdescLeft"> </td><td class="mdescRight">Check if the profiling is enabled. <a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1761b178387cbae811472267972df121">More...</a><br /></td></tr> |
| 203 | <tr class="separator:a1761b178387cbae811472267972df121 inherit pub_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 204 | <tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml">IReadWriteCounterValues</a></td></tr> |
| 205 | <tr class="memitem:a793b09867c400487ca81505aa8ebd6cc inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml#a793b09867c400487ca81505aa8ebd6cc">~IReadWriteCounterValues</a> ()</td></tr> |
| 206 | <tr class="separator:a793b09867c400487ca81505aa8ebd6cc inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values"><td class="memSeparator" colspan="2"> </td></tr> |
| 207 | <tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml">IReadCounterValues</a></td></tr> |
| 208 | <tr class="memitem:a0ac59f90f7593e43d1d7939d2ca11a4c inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#a0ac59f90f7593e43d1d7939d2ca11a4c">~IReadCounterValues</a> ()</td></tr> |
| 209 | <tr class="separator:a0ac59f90f7593e43d1d7939d2ca11a4c inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td class="memSeparator" colspan="2"> </td></tr> |
| 210 | <tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml">IWriteCounterValues</a></td></tr> |
| 211 | <tr class="memitem:ae66105a7872a56f4f98e700d673bfd8b inherit pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#ae66105a7872a56f4f98e700d673bfd8b">~IWriteCounterValues</a> ()</td></tr> |
| 212 | <tr class="separator:ae66105a7872a56f4f98e700d673bfd8b inherit pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td class="memSeparator" colspan="2"> </td></tr> |
| 213 | <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.xhtml">IProfilingService</a></td></tr> |
| 214 | <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.xhtml#a1d441898feff66d8ac30fa1724386869">~IProfilingService</a> ()</td></tr> |
| 215 | <tr class="separator:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 216 | <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.xhtml">IProfilingGuidGenerator</a></td></tr> |
| 217 | <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.xhtml#ad19d8099ddbd9db86a34bdc756d110a8">~IProfilingGuidGenerator</a> ()</td></tr> |
| 218 | <tr class="separator:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memSeparator" colspan="2"> </td></tr> |
| 219 | </table><table class="memberdecls"> |
| 220 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 221 | Additional Inherited Members</h2></td></tr> |
| 222 | <tr class="inherit_header pub_static_methods_classarmnn_1_1profiling_1_1_profiling_service"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classarmnn_1_1profiling_1_1_profiling_service')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a></td></tr> |
| 223 | <tr class="memitem:a6d016886de3596fe67dbabf107168f97 inherit pub_static_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">Instance</a> ()</td></tr> |
| 224 | <tr class="separator:a6d016886de3596fe67dbabf107168f97 inherit pub_static_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 225 | <tr class="inherit_header pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1profiling_1_1_profiling_service')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a></td></tr> |
| 226 | <tr class="memitem:aee86b9f3f64361cd1e2c052246edc44f inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a> ()</td></tr> |
| 227 | <tr class="separator:aee86b9f3f64361cd1e2c052246edc44f inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 228 | <tr class="memitem:a65bfac075d1a9b46ce6bb2ffabfde9ac inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65bfac075d1a9b46ce6bb2ffabfde9ac">~ProfilingService</a> ()</td></tr> |
| 229 | <tr class="separator:a65bfac075d1a9b46ce6bb2ffabfde9ac inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 230 | <tr class="memitem:a253c6681998b98d3239d0bdf053b0e0f inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">SwapProfilingConnectionFactory</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &instance, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *other, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *&backup)</td></tr> |
| 231 | <tr class="separator:a253c6681998b98d3239d0bdf053b0e0f inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 232 | <tr class="memitem:aaf454291f8070b3d7b947b1d616b93f9 inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9">GetProfilingConnection</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &instance)</td></tr> |
| 233 | <tr class="separator:aaf454291f8070b3d7b947b1d616b93f9 inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 234 | <tr class="memitem:a34cc06a0c80d907108ee791182c55da9 inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9">TransitionToState</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &instance, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> newState)</td></tr> |
| 235 | <tr class="separator:a34cc06a0c80d907108ee791182c55da9 inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 236 | <tr class="memitem:adc4b29d0bfe41252ef520acfa5bc897c inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c">WaitForPacketSent</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &instance, uint32_t timeout=1000)</td></tr> |
| 237 | <tr class="separator:adc4b29d0bfe41252ef520acfa5bc897c inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 238 | <tr class="memitem:a4c6219fe49caa747ddfb5092f008c922 inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">BufferManager</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a4c6219fe49caa747ddfb5092f008c922">GetBufferManager</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &instance)</td></tr> |
| 239 | <tr class="separator:a4c6219fe49caa747ddfb5092f008c922 inherit pro_methods_classarmnn_1_1profiling_1_1_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 240 | </table> |
| 241 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 242 | <div class="textblock"> |
| 243 | <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00202">202</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p> |
| 244 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 245 | <a id="a2c1ea69edf1cdf5889be8844757342e9"></a> |
| 246 | <h2 class="memtitle"><span class="permalink"><a href="#a2c1ea69edf1cdf5889be8844757342e9">◆ </a></span>MockProfilingConnectionFactoryPtr</h2> |
| 247 | |
| 248 | <div class="memitem"> |
| 249 | <div class="memproto"> |
| 250 | <table class="memname"> |
| 251 | <tr> |
| 252 | <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml#a2c1ea69edf1cdf5889be8844757342e9">MockProfilingConnectionFactoryPtr</a> = std::unique_ptr<<a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection_factory.xhtml">MockProfilingConnectionFactory</a>></td> |
| 253 | </tr> |
| 254 | </table> |
| 255 | </div><div class="memdoc"> |
| 256 | |
| 257 | <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00205">205</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p> |
| 258 | |
| 259 | </div> |
| 260 | </div> |
| 261 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 262 | <a id="a25f1d8209e813c26c5b8ca11a36c18b8"></a> |
| 263 | <h2 class="memtitle"><span class="permalink"><a href="#a25f1d8209e813c26c5b8ca11a36c18b8">◆ </a></span>SwapProfilingConnectionFactoryHelper()</h2> |
| 264 | |
| 265 | <div class="memitem"> |
| 266 | <div class="memproto"> |
| 267 | <table class="mlabels"> |
| 268 | <tr> |
| 269 | <td class="mlabels-left"> |
| 270 | <table class="memname"> |
| 271 | <tr> |
| 272 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml">SwapProfilingConnectionFactoryHelper</a> </td> |
| 273 | <td>(</td> |
| 274 | <td class="paramname"></td><td>)</td> |
| 275 | <td></td> |
| 276 | </tr> |
| 277 | </table> |
| 278 | </td> |
| 279 | <td class="mlabels-right"> |
| 280 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 281 | </tr> |
| 282 | </table> |
| 283 | </div><div class="memdoc"> |
| 284 | |
| 285 | <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00207">207</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p> |
| 286 | |
| 287 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p> |
| 288 | <div class="fragment"><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  : <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a>()</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  , m_MockProfilingConnectionFactory(<span class="keyword">new</span> MockProfilingConnectionFactory())</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  , m_BackupProfilingConnectionFactory(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  {</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(m_MockProfilingConnectionFactory);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">SwapProfilingConnectionFactory</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>(),</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  m_MockProfilingConnectionFactory.get(),</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  m_BackupProfilingConnectionFactory);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(m_BackupProfilingConnectionFactory);</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 289 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 290 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aee86b9f3f64361cd1e2c052246edc44f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">armnn::profiling::ProfilingService::ProfilingService</a></div><div class="ttdeci">ProfilingService()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00160">ProfilingService.hpp:160</a></div></div> |
| 291 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a253c6681998b98d3239d0bdf053b0e0f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">armnn::profiling::ProfilingService::SwapProfilingConnectionFactory</a></div><div class="ttdeci">void SwapProfilingConnectionFactory(ProfilingService &instance, IProfilingConnectionFactory *other, IProfilingConnectionFactory *&backup)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00226">ProfilingService.hpp:226</a></div></div> |
| 292 | </div><!-- fragment --> |
| 293 | </div> |
| 294 | </div> |
| 295 | <a id="ac74652db3008db9cf64f785f2ae0de81"></a> |
| 296 | <h2 class="memtitle"><span class="permalink"><a href="#ac74652db3008db9cf64f785f2ae0de81">◆ </a></span>~SwapProfilingConnectionFactoryHelper()</h2> |
| 297 | |
| 298 | <div class="memitem"> |
| 299 | <div class="memproto"> |
| 300 | <table class="mlabels"> |
| 301 | <tr> |
| 302 | <td class="mlabels-left"> |
| 303 | <table class="memname"> |
| 304 | <tr> |
| 305 | <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml">SwapProfilingConnectionFactoryHelper</a> </td> |
| 306 | <td>(</td> |
| 307 | <td class="paramname"></td><td>)</td> |
| 308 | <td></td> |
| 309 | </tr> |
| 310 | </table> |
| 311 | </td> |
| 312 | <td class="mlabels-right"> |
| 313 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 314 | </tr> |
| 315 | </table> |
| 316 | </div><div class="memdoc"> |
| 317 | |
| 318 | <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00218">218</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p> |
| 319 | |
| 320 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p> |
| 321 | <div class="fragment"><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(m_BackupProfilingConnectionFactory);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  IProfilingConnectionFactory* temp = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">SwapProfilingConnectionFactory</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>(),</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  m_BackupProfilingConnectionFactory,</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  temp);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 322 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 323 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a253c6681998b98d3239d0bdf053b0e0f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">armnn::profiling::ProfilingService::SwapProfilingConnectionFactory</a></div><div class="ttdeci">void SwapProfilingConnectionFactory(ProfilingService &instance, IProfilingConnectionFactory *other, IProfilingConnectionFactory *&backup)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00226">ProfilingService.hpp:226</a></div></div> |
| 324 | </div><!-- fragment --> |
| 325 | </div> |
| 326 | </div> |
| 327 | <h2 class="groupheader">Member Function Documentation</h2> |
| 328 | <a id="a03f72b1ccbef21ab7caafb037ce2144c"></a> |
| 329 | <h2 class="memtitle"><span class="permalink"><a href="#a03f72b1ccbef21ab7caafb037ce2144c">◆ </a></span>ForceTransitionToState()</h2> |
| 330 | |
| 331 | <div class="memitem"> |
| 332 | <div class="memproto"> |
| 333 | <table class="mlabels"> |
| 334 | <tr> |
| 335 | <td class="mlabels-left"> |
| 336 | <table class="memname"> |
| 337 | <tr> |
| 338 | <td class="memname">void ForceTransitionToState </td> |
| 339 | <td>(</td> |
| 340 | <td class="paramtype"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> </td> |
| 341 | <td class="paramname"><em>newState</em></td><td>)</td> |
| 342 | <td></td> |
| 343 | </tr> |
| 344 | </table> |
| 345 | </td> |
| 346 | <td class="mlabels-right"> |
| 347 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 348 | </tr> |
| 349 | </table> |
| 350 | </div><div class="memdoc"> |
| 351 | |
| 352 | <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00233">233</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p> |
| 353 | |
| 354 | <p class="reference">References <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p> |
| 355 | |
| 356 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l02398">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 357 | <div class="fragment"><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  {</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9">TransitionToState</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>(), newState);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 358 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a34cc06a0c80d907108ee791182c55da9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9">armnn::profiling::ProfilingService::TransitionToState</a></div><div class="ttdeci">void TransitionToState(ProfilingService &instance, ProfilingState newState)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00240">ProfilingService.hpp:240</a></div></div> |
| 359 | </div><!-- fragment --> |
| 360 | </div> |
| 361 | </div> |
| 362 | <a id="a8ccd73b0bb970c18b05a0bc63fcd0279"></a> |
| 363 | <h2 class="memtitle"><span class="permalink"><a href="#a8ccd73b0bb970c18b05a0bc63fcd0279">◆ </a></span>GetMockProfilingConnection()</h2> |
| 364 | |
| 365 | <div class="memitem"> |
| 366 | <div class="memproto"> |
| 367 | <table class="mlabels"> |
| 368 | <tr> |
| 369 | <td class="mlabels-left"> |
| 370 | <table class="memname"> |
| 371 | <tr> |
| 372 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection.xhtml">MockProfilingConnection</a>* GetMockProfilingConnection </td> |
| 373 | <td>(</td> |
| 374 | <td class="paramname"></td><td>)</td> |
| 375 | <td></td> |
| 376 | </tr> |
| 377 | </table> |
| 378 | </td> |
| 379 | <td class="mlabels-right"> |
| 380 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 381 | </tr> |
| 382 | </table> |
| 383 | </div><div class="memdoc"> |
| 384 | |
| 385 | <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00227">227</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p> |
| 386 | |
| 387 | <p class="reference">References <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p> |
| 388 | |
| 389 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l02333">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 390 | <div class="fragment"><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  {</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  IProfilingConnection* profilingConnection = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9">GetProfilingConnection</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>());</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">return</span> boost::polymorphic_downcast<MockProfilingConnection*>(profilingConnection);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 391 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aaf454291f8070b3d7b947b1d616b93f9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9">armnn::profiling::ProfilingService::GetProfilingConnection</a></div><div class="ttdeci">IProfilingConnection * GetProfilingConnection(ProfilingService &instance)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00236">ProfilingService.hpp:236</a></div></div> |
| 392 | </div><!-- fragment --> |
| 393 | </div> |
| 394 | </div> |
| 395 | <a id="a19cea020509e009eb4661618eecf3cf3"></a> |
| 396 | <h2 class="memtitle"><span class="permalink"><a href="#a19cea020509e009eb4661618eecf3cf3">◆ </a></span>WaitForPacketsSent()</h2> |
| 397 | |
| 398 | <div class="memitem"> |
| 399 | <div class="memproto"> |
| 400 | <table class="mlabels"> |
| 401 | <tr> |
| 402 | <td class="mlabels-left"> |
| 403 | <table class="memname"> |
| 404 | <tr> |
| 405 | <td class="memname">long WaitForPacketsSent </td> |
| 406 | <td>(</td> |
| 407 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection.xhtml">MockProfilingConnection</a> * </td> |
| 408 | <td class="paramname"><em>mockProfilingConnection</em>, </td> |
| 409 | </tr> |
| 410 | <tr> |
| 411 | <td class="paramkey"></td> |
| 412 | <td></td> |
| 413 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_connection.xhtml#a0a80a7bc045affcf10846075b88cbca0">MockProfilingConnection::PacketType</a> </td> |
| 414 | <td class="paramname"><em>packetType</em>, </td> |
| 415 | </tr> |
| 416 | <tr> |
| 417 | <td class="paramkey"></td> |
| 418 | <td></td> |
| 419 | <td class="paramtype">uint32_t </td> |
| 420 | <td class="paramname"><em>length</em> = <code>0</code>, </td> |
| 421 | </tr> |
| 422 | <tr> |
| 423 | <td class="paramkey"></td> |
| 424 | <td></td> |
| 425 | <td class="paramtype">uint32_t </td> |
| 426 | <td class="paramname"><em>timeout</em> = <code>1000</code> </td> |
| 427 | </tr> |
| 428 | <tr> |
| 429 | <td></td> |
| 430 | <td>)</td> |
| 431 | <td></td><td></td> |
| 432 | </tr> |
| 433 | </table> |
| 434 | </td> |
| 435 | <td class="mlabels-right"> |
| 436 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 437 | </tr> |
| 438 | </table> |
| 439 | </div><div class="memdoc"> |
| 440 | |
| 441 | <p class="definition">Definition at line <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00238">238</a> of file <a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a>.</p> |
| 442 | |
| 443 | <p class="reference">References <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00106">MockProfilingConnection::CheckForPacket()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00068">packetCount</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00244">ProfilingService::WaitForPacketSent()</a>.</p> |
| 444 | |
| 445 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l02333">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 446 | <div class="fragment"><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  {</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordtype">long</span> <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#ae92a562353e3e0f6db4b9c6f4c573587">packetCount</a> = mockProfilingConnection->CheckForPacket({packetType, length});</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="comment">// The first packet we receive may not be the one we are looking for, so keep looping until till we find it,</span></div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="comment">// or until WaitForPacketsSent times out</span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">while</span>(packetCount == 0 && timeout != 0)</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  {</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  std::chrono::steady_clock::time_point start = std::chrono::steady_clock::now();</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="comment">// Wait for a notification from the send thread</span></div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c">ProfilingService::WaitForPacketSent</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>(), timeout);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  std::chrono::steady_clock::time_point end = std::chrono::steady_clock::now();</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">// We need to make sure the timeout does not reset each time we call WaitForPacketsSent</span></div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  uint32_t elapsedTime = <span class="keyword">static_cast<</span>uint32_t<span class="keyword">></span>(</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count());</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  packetCount = mockProfilingConnection->CheckForPacket({packetType, length});</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keywordflow">if</span> (elapsedTime > timeout)</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  {</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  timeout -= elapsedTime;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  }</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">return</span> <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#ae92a562353e3e0f6db4b9c6f4c573587">packetCount</a>;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 447 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_ae92a562353e3e0f6db4b9c6f4c573587"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#ae92a562353e3e0f6db4b9c6f4c573587">packetCount</a></div><div class="ttdeci">uint32_t packetCount</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00068">FileOnlyProfilingDecoratorTests.cpp:68</a></div></div> |
| 448 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_adc4b29d0bfe41252ef520acfa5bc897c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c">armnn::profiling::ProfilingService::WaitForPacketSent</a></div><div class="ttdeci">bool WaitForPacketSent(ProfilingService &instance, uint32_t timeout=1000)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00244">ProfilingService.hpp:244</a></div></div> |
| 449 | </div><!-- fragment --> |
| 450 | </div> |
| 451 | </div> |
| 452 | <hr/>The documentation for this class was generated from the following file:<ul> |
| 453 | <li>src/profiling/test/<a class="el" href="_profiling_tests_8hpp_source.xhtml">ProfilingTests.hpp</a></li> |
| 454 | </ul> |
| 455 | </div><!-- contents --> |
| 456 | </div><!-- doc-content --> |
| 457 | <!-- start footer part --> |
| 458 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 459 | <ul> |
| 460 | <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_swap_profiling_connection_factory_helper.xhtml">SwapProfilingConnectionFactoryHelper</a></li> |
| 461 | <li class="footer">Generated on Fri Mar 13 2020 16:09:21 for ArmNN by |
| 462 | <a href="http://www.doxygen.org/index.html"> |
| 463 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 464 | </ul> |
| 465 | </div> |
| 466 | </body> |
| 467 | </html> |