Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: ProfilingService Class Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_profiling_service.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-types">Public Types</a> | |
| 85 | <a href="#pub-methods">Public Member Functions</a> | |
| 86 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 87 | <a href="#pro-methods">Protected Member Functions</a> | |
| 88 | <a href="classarmnn_1_1profiling_1_1_profiling_service-members.html">List of all members</a> </div> |
| 89 | <div class="headertitle"> |
| 90 | <div class="title">ProfilingService Class Reference</div> </div> |
| 91 | </div><!--header--> |
| 92 | <div class="contents"> |
| 93 | |
| 94 | <p><code>#include <<a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>></code></p> |
| 95 | <div class="dynheader"> |
| 96 | Inheritance diagram for ProfilingService:</div> |
| 97 | <div class="dyncontent"> |
| 98 | <div class="center"> |
| 99 | <img src="classarmnn_1_1profiling_1_1_profiling_service.png" usemap="#ProfilingService_map" alt=""/> |
| 100 | <map id="ProfilingService_map" name="ProfilingService_map"> |
| 101 | <area href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.html" alt="IReadWriteCounterValues" shape="rect" coords="123,56,359,80"/> |
| 102 | <area href="classarmnn_1_1profiling_1_1_i_profiling_service.html" alt="IProfilingService" shape="rect" coords="492,56,728,80"/> |
| 103 | <area href="classarmnn_1_1profiling_1_1_i_read_counter_values.html" alt="IReadCounterValues" shape="rect" coords="0,0,236,24"/> |
| 104 | <area href="classarmnn_1_1profiling_1_1_i_write_counter_values.html" alt="IWriteCounterValues" shape="rect" coords="246,0,482,24"/> |
| 105 | <area href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html" alt="IProfilingGuidGenerator" shape="rect" coords="492,0,728,24"/> |
| 106 | <area href="classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.html" alt="ProfilingServiceRuntimeHelper" shape="rect" coords="184,168,420,192"/> |
| 107 | <area href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.html" alt="SwapProfilingConnectionFactoryHelper" shape="rect" coords="430,168,666,192"/> |
| 108 | </map> |
| 109 | </div></div> |
| 110 | <table class="memberdecls"> |
| 111 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 112 | Public Types</h2></td></tr> |
| 113 | <tr class="memitem:a1e3ab71aae7621abd6c1a16cc71b68e0"><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.html#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> = <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">IRuntime::CreationOptions::ExternalProfilingOptions</a></td></tr> |
| 114 | <tr class="separator:a1e3ab71aae7621abd6c1a16cc71b68e0"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a7dad9d60aee962234b621096eaeb994a"><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.html#a7dad9d60aee962234b621096eaeb994a">IProfilingConnectionFactoryPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.html">IProfilingConnectionFactory</a> ></td></tr> |
| 116 | <tr class="separator:a7dad9d60aee962234b621096eaeb994a"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:abb7f442bd7409c8dff2b9346fd67bce3"><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.html#abb7f442bd7409c8dff2b9346fd67bce3">IProfilingConnectionPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.html">IProfilingConnection</a> ></td></tr> |
| 118 | <tr class="separator:abb7f442bd7409c8dff2b9346fd67bce3"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a59428d9e62f7be5c7682efffce09891a"><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.html#a59428d9e62f7be5c7682efffce09891a">CounterIndices</a> = std::vector< std::atomic< uint32_t > * ></td></tr> |
| 120 | <tr class="separator:a59428d9e62f7be5c7682efffce09891a"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a8b4cbb2df55028789ae1901fd9d8987c"><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.html#a8b4cbb2df55028789ae1901fd9d8987c">CounterValues</a> = std::list< std::atomic< uint32_t > ></td></tr> |
| 122 | <tr class="separator:a8b4cbb2df55028789ae1901fd9d8987c"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | </table><table class="memberdecls"> |
| 124 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 125 | Public Member Functions</h2></td></tr> |
| 126 | <tr class="memitem:ae7a3588986b93e13fda47c7ce4b0627c"><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.html#ae7a3588986b93e13fda47c7ce4b0627c">ResetExternalProfilingOptions</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>, bool resetProfilingService=<a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a>)</td></tr> |
| 127 | <tr class="separator:ae7a3588986b93e13fda47c7ce4b0627c"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:a004992fdba75e298495d6b628234a4bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a004992fdba75e298495d6b628234a4bd">ConfigureProfilingService</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>, bool resetProfilingService=<a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a>)</td></tr> |
| 129 | <tr class="separator:a004992fdba75e298495d6b628234a4bd"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:aec0783b5a136e042adcc47bae4fe5291"><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.html#aec0783b5a136e042adcc47bae4fe5291">Update</a> ()</td></tr> |
| 131 | <tr class="separator:aec0783b5a136e042adcc47bae4fe5291"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a65d18fa17ec0238d7e72f6c8f5c880b6"><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.html#a65d18fa17ec0238d7e72f6c8f5c880b6">Disconnect</a> ()</td></tr> |
| 133 | <tr class="separator:a65d18fa17ec0238d7e72f6c8f5c880b6"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:ab156998ddd9e58d2f79567bfb70e122c"><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.html#ab156998ddd9e58d2f79567bfb70e122c">AddBackendProfilingContext</a> (const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> backendId, std::shared_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_backend_profiling_context.html">armnn::profiling::IBackendProfilingContext</a> > profilingContext)</td></tr> |
| 135 | <tr class="separator:ab156998ddd9e58d2f79567bfb70e122c"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="memitem:adfaa32654e05eab63b2adc34b2138475"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.html">ICounterDirectory</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#adfaa32654e05eab63b2adc34b2138475">GetCounterDirectory</a> () const</td></tr> |
| 137 | <tr class="separator:adfaa32654e05eab63b2adc34b2138475"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:ad5fffd20c7356754964d06ae73f72293"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_registry.html">ICounterRegistry</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#ad5fffd20c7356754964d06ae73f72293">GetCounterRegistry</a> ()</td></tr> |
| 139 | <tr class="separator:ad5fffd20c7356754964d06ae73f72293"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:ad8d263669817cf577760710ff6c96bb9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a> () const</td></tr> |
| 141 | <tr class="separator:ad8d263669817cf577760710ff6c96bb9"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:a0ae21870422d53982556e0e31d6b19ee"><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.html#a0ae21870422d53982556e0e31d6b19ee">IsCounterRegistered</a> (uint16_t counterUid) const override</td></tr> |
| 143 | <tr class="separator:a0ae21870422d53982556e0e31d6b19ee"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <tr class="memitem:a551aeb069aa71dd81310c7635e65e53c"><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.html#a551aeb069aa71dd81310c7635e65e53c">GetCounterValue</a> (uint16_t counterUid) const override</td></tr> |
| 145 | <tr class="separator:a551aeb069aa71dd81310c7635e65e53c"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <tr class="memitem:ad9062caad1836f8e6b810e4e97bb19d1"><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.html#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a> () const override</td></tr> |
| 147 | <tr class="separator:ad9062caad1836f8e6b810e4e97bb19d1"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | <tr class="memitem:aed969262d8bf6d59eb8f65fb89d47959"><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_profiling_service.html#aed969262d8bf6d59eb8f65fb89d47959">GetCounterMappings</a> () const override</td></tr> |
| 149 | <tr class="separator:aed969262d8bf6d59eb8f65fb89d47959"><td class="memSeparator" colspan="2"> </td></tr> |
| 150 | <tr class="memitem:a04f78379965ef10275613dd265fd0607"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html">IRegisterCounterMapping</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a04f78379965ef10275613dd265fd0607">GetCounterMappingRegistry</a> ()</td></tr> |
| 151 | <tr class="separator:a04f78379965ef10275613dd265fd0607"><td class="memSeparator" colspan="2"> </td></tr> |
| 152 | <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_profiling_service.html#a70db5b1cdd0d22c1fa912c6e8b9089ce">IsProfilingEnabled</a> () const override</td></tr> |
| 153 | <tr class="separator:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memSeparator" colspan="2"> </td></tr> |
| 154 | <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_profiling_service.html#aff23669159bfc39106dc16d50c0a6e5f">GetCaptureData</a> () override</td></tr> |
| 155 | <tr class="separator:aff23669159bfc39106dc16d50c0a6e5f"><td class="memSeparator" colspan="2"> </td></tr> |
| 156 | <tr class="memitem:a40078141c4d1216eef4215fc10d0cbbc"><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.html#a40078141c4d1216eef4215fc10d0cbbc">SetCaptureData</a> (uint32_t capturePeriod, const std::vector< uint16_t > &counterIds, const std::set< <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> > &activeBackends)</td></tr> |
| 157 | <tr class="separator:a40078141c4d1216eef4215fc10d0cbbc"><td class="memSeparator" colspan="2"> </td></tr> |
| 158 | <tr class="memitem:a5468b88e2e2e65892f9589d00ed06775"><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.html#a5468b88e2e2e65892f9589d00ed06775">SetCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr> |
| 159 | <tr class="separator:a5468b88e2e2e65892f9589d00ed06775"><td class="memSeparator" colspan="2"> </td></tr> |
| 160 | <tr class="memitem:a2d1ab72611dfc67cf1b491849ea386a4"><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.html#a2d1ab72611dfc67cf1b491849ea386a4">AddCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr> |
| 161 | <tr class="separator:a2d1ab72611dfc67cf1b491849ea386a4"><td class="memSeparator" colspan="2"> </td></tr> |
| 162 | <tr class="memitem:a2e08a9bc2818fb46503c1720562de8d7"><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.html#a2e08a9bc2818fb46503c1720562de8d7">SubtractCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr> |
| 163 | <tr class="separator:a2e08a9bc2818fb46503c1720562de8d7"><td class="memSeparator" colspan="2"> </td></tr> |
| 164 | <tr class="memitem:a6c2d955d387944f5b7ad37ebb435a37f"><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.html#a6c2d955d387944f5b7ad37ebb435a37f">IncrementCounterValue</a> (uint16_t counterUid) override</td></tr> |
| 165 | <tr class="separator:a6c2d955d387944f5b7ad37ebb435a37f"><td class="memSeparator" colspan="2"> </td></tr> |
| 166 | <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_profiling_service.html#aeea32305626f921e1e9f99434dbf9049">NextGuid</a> () override</td></tr> |
| 167 | <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> |
| 168 | <tr class="separator:aeea32305626f921e1e9f99434dbf9049"><td class="memSeparator" colspan="2"> </td></tr> |
| 169 | <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_profiling_service.html#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a> (const std::string &str) override</td></tr> |
| 170 | <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> |
| 171 | <tr class="separator:afd19633513acfc3ae294aa90b1e13a04"><td class="memSeparator" colspan="2"> </td></tr> |
| 172 | <tr class="memitem:a71c4eb6e11d491f84df504cf7f5a6337"><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_profiling_service.html#a71c4eb6e11d491f84df504cf7f5a6337">GetSendTimelinePacket</a> () const override</td></tr> |
| 173 | <tr class="separator:a71c4eb6e11d491f84df504cf7f5a6337"><td class="memSeparator" colspan="2"> </td></tr> |
| 174 | <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_profiling_service.html#a28c5bcb3adea9e2476255acf1fc0647e">GetSendCounterPacket</a> () override</td></tr> |
| 175 | <tr class="separator:a28c5bcb3adea9e2476255acf1fc0647e"><td class="memSeparator" colspan="2"> </td></tr> |
| 176 | <tr class="memitem:a1761b178387cbae811472267972df121"><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.html#a1761b178387cbae811472267972df121">IsEnabled</a> ()</td></tr> |
| 177 | <tr class="memdesc:a1761b178387cbae811472267972df121"><td class="mdescLeft"> </td><td class="mdescRight">Check if the profiling is enabled. <a href="#a1761b178387cbae811472267972df121">More...</a><br /></td></tr> |
| 178 | <tr class="separator:a1761b178387cbae811472267972df121"><td class="memSeparator" colspan="2"> </td></tr> |
| 179 | <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.html">IReadWriteCounterValues</a></td></tr> |
| 180 | <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.html#a793b09867c400487ca81505aa8ebd6cc">~IReadWriteCounterValues</a> ()</td></tr> |
| 181 | <tr class="separator:a793b09867c400487ca81505aa8ebd6cc inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values"><td class="memSeparator" colspan="2"> </td></tr> |
| 182 | <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.html">IReadCounterValues</a></td></tr> |
| 183 | <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.html#a0ac59f90f7593e43d1d7939d2ca11a4c">~IReadCounterValues</a> ()</td></tr> |
| 184 | <tr class="separator:a0ac59f90f7593e43d1d7939d2ca11a4c inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td class="memSeparator" colspan="2"> </td></tr> |
| 185 | <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.html">IWriteCounterValues</a></td></tr> |
| 186 | <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.html#ae66105a7872a56f4f98e700d673bfd8b">~IWriteCounterValues</a> ()</td></tr> |
| 187 | <tr class="separator:ae66105a7872a56f4f98e700d673bfd8b inherit pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td class="memSeparator" colspan="2"> </td></tr> |
| 188 | <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> |
| 189 | <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> |
| 190 | <tr class="separator:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memSeparator" colspan="2"> </td></tr> |
| 191 | <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> |
| 192 | <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> |
| 193 | <tr class="separator:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memSeparator" colspan="2"> </td></tr> |
| 194 | </table><table class="memberdecls"> |
| 195 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 196 | Static Public Member Functions</h2></td></tr> |
| 197 | <tr class="memitem:a6d016886de3596fe67dbabf107168f97"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a6d016886de3596fe67dbabf107168f97">Instance</a> ()</td></tr> |
| 198 | <tr class="separator:a6d016886de3596fe67dbabf107168f97"><td class="memSeparator" colspan="2"> </td></tr> |
| 199 | </table><table class="memberdecls"> |
| 200 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| 201 | Protected Member Functions</h2></td></tr> |
| 202 | <tr class="memitem:aee86b9f3f64361cd1e2c052246edc44f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a> ()</td></tr> |
| 203 | <tr class="separator:aee86b9f3f64361cd1e2c052246edc44f"><td class="memSeparator" colspan="2"> </td></tr> |
| 204 | <tr class="memitem:a65bfac075d1a9b46ce6bb2ffabfde9ac"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a65bfac075d1a9b46ce6bb2ffabfde9ac">~ProfilingService</a> ()</td></tr> |
| 205 | <tr class="separator:a65bfac075d1a9b46ce6bb2ffabfde9ac"><td class="memSeparator" colspan="2"> </td></tr> |
| 206 | <tr class="memitem:a253c6681998b98d3239d0bdf053b0e0f"><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.html#a253c6681998b98d3239d0bdf053b0e0f">SwapProfilingConnectionFactory</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> &instance, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.html">IProfilingConnectionFactory</a> *other, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.html">IProfilingConnectionFactory</a> *&backup)</td></tr> |
| 207 | <tr class="separator:a253c6681998b98d3239d0bdf053b0e0f"><td class="memSeparator" colspan="2"> </td></tr> |
| 208 | <tr class="memitem:aaf454291f8070b3d7b947b1d616b93f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.html">IProfilingConnection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#aaf454291f8070b3d7b947b1d616b93f9">GetProfilingConnection</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> &instance)</td></tr> |
| 209 | <tr class="separator:aaf454291f8070b3d7b947b1d616b93f9"><td class="memSeparator" colspan="2"> </td></tr> |
| 210 | <tr class="memitem:a34cc06a0c80d907108ee791182c55da9"><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.html#a34cc06a0c80d907108ee791182c55da9">TransitionToState</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> &instance, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> newState)</td></tr> |
| 211 | <tr class="separator:a34cc06a0c80d907108ee791182c55da9"><td class="memSeparator" colspan="2"> </td></tr> |
| 212 | <tr class="memitem:adc4b29d0bfe41252ef520acfa5bc897c"><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.html#adc4b29d0bfe41252ef520acfa5bc897c">WaitForPacketSent</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> &instance, uint32_t timeout=1000)</td></tr> |
| 213 | <tr class="separator:adc4b29d0bfe41252ef520acfa5bc897c"><td class="memSeparator" colspan="2"> </td></tr> |
| 214 | <tr class="memitem:a4c6219fe49caa747ddfb5092f008c922"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_buffer_manager.html">BufferManager</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a4c6219fe49caa747ddfb5092f008c922">GetBufferManager</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> &instance)</td></tr> |
| 215 | <tr class="separator:a4c6219fe49caa747ddfb5092f008c922"><td class="memSeparator" colspan="2"> </td></tr> |
| 216 | </table> |
| 217 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 218 | <div class="textblock"> |
| 219 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00042">42</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 220 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 221 | <a id="a59428d9e62f7be5c7682efffce09891a"></a> |
| 222 | <h2 class="memtitle"><span class="permalink"><a href="#a59428d9e62f7be5c7682efffce09891a">◆ </a></span>CounterIndices</h2> |
| 223 | |
| 224 | <div class="memitem"> |
| 225 | <div class="memproto"> |
| 226 | <table class="memname"> |
| 227 | <tr> |
| 228 | <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a59428d9e62f7be5c7682efffce09891a">CounterIndices</a> = std::vector<std::atomic<uint32_t>*></td> |
| 229 | </tr> |
| 230 | </table> |
| 231 | </div><div class="memdoc"> |
| 232 | |
| 233 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00048">48</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 234 | |
| 235 | </div> |
| 236 | </div> |
| 237 | <a id="a8b4cbb2df55028789ae1901fd9d8987c"></a> |
| 238 | <h2 class="memtitle"><span class="permalink"><a href="#a8b4cbb2df55028789ae1901fd9d8987c">◆ </a></span>CounterValues</h2> |
| 239 | |
| 240 | <div class="memitem"> |
| 241 | <div class="memproto"> |
| 242 | <table class="memname"> |
| 243 | <tr> |
| 244 | <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a8b4cbb2df55028789ae1901fd9d8987c">CounterValues</a> = std::list<std::atomic<uint32_t> ></td> |
| 245 | </tr> |
| 246 | </table> |
| 247 | </div><div class="memdoc"> |
| 248 | |
| 249 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00049">49</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 250 | |
| 251 | </div> |
| 252 | </div> |
| 253 | <a id="a1e3ab71aae7621abd6c1a16cc71b68e0"></a> |
| 254 | <h2 class="memtitle"><span class="permalink"><a href="#a1e3ab71aae7621abd6c1a16cc71b68e0">◆ </a></span>ExternalProfilingOptions</h2> |
| 255 | |
| 256 | <div class="memitem"> |
| 257 | <div class="memproto"> |
| 258 | <table class="memname"> |
| 259 | <tr> |
| 260 | <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> = <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">IRuntime::CreationOptions::ExternalProfilingOptions</a></td> |
| 261 | </tr> |
| 262 | </table> |
| 263 | </div><div class="memdoc"> |
| 264 | |
| 265 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00045">45</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 266 | |
| 267 | </div> |
| 268 | </div> |
| 269 | <a id="a7dad9d60aee962234b621096eaeb994a"></a> |
| 270 | <h2 class="memtitle"><span class="permalink"><a href="#a7dad9d60aee962234b621096eaeb994a">◆ </a></span>IProfilingConnectionFactoryPtr</h2> |
| 271 | |
| 272 | <div class="memitem"> |
| 273 | <div class="memproto"> |
| 274 | <table class="memname"> |
| 275 | <tr> |
| 276 | <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a7dad9d60aee962234b621096eaeb994a">IProfilingConnectionFactoryPtr</a> = std::unique_ptr<<a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.html">IProfilingConnectionFactory</a>></td> |
| 277 | </tr> |
| 278 | </table> |
| 279 | </div><div class="memdoc"> |
| 280 | |
| 281 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00046">46</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 282 | |
| 283 | </div> |
| 284 | </div> |
| 285 | <a id="abb7f442bd7409c8dff2b9346fd67bce3"></a> |
| 286 | <h2 class="memtitle"><span class="permalink"><a href="#abb7f442bd7409c8dff2b9346fd67bce3">◆ </a></span>IProfilingConnectionPtr</h2> |
| 287 | |
| 288 | <div class="memitem"> |
| 289 | <div class="memproto"> |
| 290 | <table class="memname"> |
| 291 | <tr> |
| 292 | <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#abb7f442bd7409c8dff2b9346fd67bce3">IProfilingConnectionPtr</a> = std::unique_ptr<<a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.html">IProfilingConnection</a>></td> |
| 293 | </tr> |
| 294 | </table> |
| 295 | </div><div class="memdoc"> |
| 296 | |
| 297 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00047">47</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 298 | |
| 299 | </div> |
| 300 | </div> |
| 301 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 302 | <a id="aee86b9f3f64361cd1e2c052246edc44f"></a> |
| 303 | <h2 class="memtitle"><span class="permalink"><a href="#aee86b9f3f64361cd1e2c052246edc44f">◆ </a></span>ProfilingService()</h2> |
| 304 | |
| 305 | <div class="memitem"> |
| 306 | <div class="memproto"> |
| 307 | <table class="mlabels"> |
| 308 | <tr> |
| 309 | <td class="mlabels-left"> |
| 310 | <table class="memname"> |
| 311 | <tr> |
| 312 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> </td> |
| 313 | <td>(</td> |
| 314 | <td class="paramname"></td><td>)</td> |
| 315 | <td></td> |
| 316 | </tr> |
| 317 | </table> |
| 318 | </td> |
| 319 | <td class="mlabels-right"> |
| 320 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> |
| 321 | </tr> |
| 322 | </table> |
| 323 | </div><div class="memdoc"> |
| 324 | |
| 325 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00160">160</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 326 | |
| 327 | <p class="reference">References <a class="el" href="_command_handler_registry_8cpp_source.html#l00017">CommandHandlerRegistry::RegisterFunctor()</a>, and <a class="el" href="_profiling_service_8cpp_source.html#l00448">ProfilingService::~ProfilingService()</a>.</p> |
| 328 | |
| 329 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00112">ProfilingService::IsEnabled()</a>.</p> |
| 330 | <div class="fragment"><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  : m_Options()</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  , m_CounterDirectory()</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  , m_ProfilingConnectionFactory(<span class="keyword">new</span> ProfilingConnectionFactory())</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  , m_ProfilingConnection()</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  , m_StateMachine()</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  , m_CounterIndex()</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  , m_CounterValues()</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  , m_CommandHandlerRegistry()</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  , m_PacketVersionResolver()</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  , m_CommandHandler(1000,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">false</span>,</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  m_CommandHandlerRegistry,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  m_PacketVersionResolver)</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  , m_BufferManager()</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  , m_SendCounterPacket(m_BufferManager)</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  , m_SendThread(m_StateMachine, m_BufferManager, m_SendCounterPacket)</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  , m_SendTimelinePacket(m_BufferManager)</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  , m_PeriodicCounterCapture(m_Holder, m_SendCounterPacket, *<span class="keyword">this</span>, m_CounterIdMap, m_BackendProfilingContexts)</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  , m_ConnectionAcknowledgedCommandHandler(0,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  1,</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 1).<a class="code" href="classarmnn_1_1profiling_1_1_version.html#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  m_CounterDirectory,</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  m_SendCounterPacket,</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  m_SendTimelinePacket,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  m_StateMachine)</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  , m_RequestCounterDirectoryCommandHandler(0,</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  3,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 3).<a class="code" href="classarmnn_1_1profiling_1_1_version.html#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  m_CounterDirectory,</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  m_SendCounterPacket,</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  m_SendTimelinePacket,</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  m_StateMachine)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  , m_PeriodicCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  4,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 4).<a class="code" href="classarmnn_1_1profiling_1_1_version.html#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  m_BackendProfilingContexts,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  m_CounterIdMap,</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  m_Holder,</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  MAX_ARMNN_COUNTER,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  m_PeriodicCounterCapture,</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  *<span class="keyword">this</span>,</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  m_SendCounterPacket,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  m_StateMachine)</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  , m_PerJobCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  5,</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 5).<a class="code" href="classarmnn_1_1profiling_1_1_version.html#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  m_StateMachine)</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  , m_TimelinePacketWriterFactory(m_BufferManager)</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  , m_MaxGlobalCounterId(armnn::profiling::INFERENCES_RUN)</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">// Register the "Connection Acknowledged" command handler</span></div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.html#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&m_ConnectionAcknowledgedCommandHandler);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="comment">// Register the "Request Counter Directory" command handler</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.html#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&m_RequestCounterDirectoryCommandHandler);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="comment">// Register the "Periodic Counter Selection" command handler</span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.html#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&m_PeriodicCounterSelectionCommandHandler);</div><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>  <span class="comment">// Register the "Per-Job Counter Selection" command handler</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.html#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&m_PerJobCounterSelectionCommandHandler);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_html_ac8ad466123304f923e64997ac096926a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#ac8ad466123304f923e64997ac096926a">armnn::profiling::PacketVersionResolver::ResolvePacketVersion</a></div><div class="ttdeci">Version ResolvePacketVersion(uint32_t familyId, uint32_t packetId) const</div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8cpp_source.html#l00055">PacketVersionResolver.cpp:55</a></div></div> |
| 331 | <div class="ttc" id="classarmnn_1_1profiling_1_1_version_html_a0ab0d5a402c197d4093cbc5fdbf81214"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_version.html#a0ab0d5a402c197d4093cbc5fdbf81214">armnn::profiling::Version::GetEncodedValue</a></div><div class="ttdeci">uint32_t GetEncodedValue()</div><div class="ttdef"><b>Definition:</b> <a href="_encode_version_8hpp_source.html#l00045">EncodeVersion.hpp:45</a></div></div> |
| 332 | <div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_registry_html_a7875d60ac5ca76c70f599367ec61261a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_registry.html#a7875d60ac5ca76c70f599367ec61261a">armnn::profiling::CommandHandlerRegistry::RegisterFunctor</a></div><div class="ttdeci">void RegisterFunctor(CommandHandlerFunctor *functor, uint32_t familyId, uint32_t packetId, uint32_t version)</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_registry_8cpp_source.html#l00017">CommandHandlerRegistry.cpp:17</a></div></div> |
| 333 | </div><!-- fragment --> |
| 334 | </div> |
| 335 | </div> |
| 336 | <a id="a65bfac075d1a9b46ce6bb2ffabfde9ac"></a> |
| 337 | <h2 class="memtitle"><span class="permalink"><a href="#a65bfac075d1a9b46ce6bb2ffabfde9ac">◆ </a></span>~ProfilingService()</h2> |
| 338 | |
| 339 | <div class="memitem"> |
| 340 | <div class="memproto"> |
| 341 | <table class="mlabels"> |
| 342 | <tr> |
| 343 | <td class="mlabels-left"> |
| 344 | <table class="memname"> |
| 345 | <tr> |
| 346 | <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> </td> |
| 347 | <td>(</td> |
| 348 | <td class="paramname"></td><td>)</td> |
| 349 | <td></td> |
| 350 | </tr> |
| 351 | </table> |
| 352 | </td> |
| 353 | <td class="mlabels-right"> |
| 354 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 355 | </tr> |
| 356 | </table> |
| 357 | </div><div class="memdoc"> |
| 358 | |
| 359 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00448">448</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 360 | |
| 361 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00160">ProfilingService::ProfilingService()</a>.</p> |
| 362 | <div class="fragment"><div class="line"><a name="l00449"></a><span class="lineno"> 449</span> {</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  Stop();</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span> }</div></div><!-- fragment --> |
| 363 | </div> |
| 364 | </div> |
| 365 | <h2 class="groupheader">Member Function Documentation</h2> |
| 366 | <a id="ab156998ddd9e58d2f79567bfb70e122c"></a> |
| 367 | <h2 class="memtitle"><span class="permalink"><a href="#ab156998ddd9e58d2f79567bfb70e122c">◆ </a></span>AddBackendProfilingContext()</h2> |
| 368 | |
| 369 | <div class="memitem"> |
| 370 | <div class="memproto"> |
| 371 | <table class="memname"> |
| 372 | <tr> |
| 373 | <td class="memname">void AddBackendProfilingContext </td> |
| 374 | <td>(</td> |
| 375 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> </td> |
| 376 | <td class="paramname"><em>backendId</em>, </td> |
| 377 | </tr> |
| 378 | <tr> |
| 379 | <td class="paramkey"></td> |
| 380 | <td></td> |
| 381 | <td class="paramtype">std::shared_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_backend_profiling_context.html">armnn::profiling::IBackendProfilingContext</a> > </td> |
| 382 | <td class="paramname"><em>profilingContext</em> </td> |
| 383 | </tr> |
| 384 | <tr> |
| 385 | <td></td> |
| 386 | <td>)</td> |
| 387 | <td></td><td></td> |
| 388 | </tr> |
| 389 | </table> |
| 390 | </div><div class="memdoc"> |
| 391 | |
| 392 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00185">185</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 393 | |
| 394 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_runtime_8cpp_source.html#l00155">Runtime::Runtime()</a>.</p> |
| 395 | <div class="fragment"><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> {</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  BOOST_ASSERT(profilingContext != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="comment">// Register the backend counters</span></div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  m_MaxGlobalCounterId = profilingContext->RegisterCounters(m_MaxGlobalCounterId);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  m_BackendProfilingContexts.emplace(backendId, std::move(profilingContext));</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> }</div></div><!-- fragment --> |
| 396 | </div> |
| 397 | </div> |
| 398 | <a id="a2d1ab72611dfc67cf1b491849ea386a4"></a> |
| 399 | <h2 class="memtitle"><span class="permalink"><a href="#a2d1ab72611dfc67cf1b491849ea386a4">◆ </a></span>AddCounterValue()</h2> |
| 400 | |
| 401 | <div class="memitem"> |
| 402 | <div class="memproto"> |
| 403 | <table class="mlabels"> |
| 404 | <tr> |
| 405 | <td class="mlabels-left"> |
| 406 | <table class="memname"> |
| 407 | <tr> |
| 408 | <td class="memname">uint32_t AddCounterValue </td> |
| 409 | <td>(</td> |
| 410 | <td class="paramtype">uint16_t </td> |
| 411 | <td class="paramname"><em>counterUid</em>, </td> |
| 412 | </tr> |
| 413 | <tr> |
| 414 | <td class="paramkey"></td> |
| 415 | <td></td> |
| 416 | <td class="paramtype">uint32_t </td> |
| 417 | <td class="paramname"><em>value</em> </td> |
| 418 | </tr> |
| 419 | <tr> |
| 420 | <td></td> |
| 421 | <td>)</td> |
| 422 | <td></td><td></td> |
| 423 | </tr> |
| 424 | </table> |
| 425 | </td> |
| 426 | <td class="mlabels-right"> |
| 427 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 428 | </tr> |
| 429 | </table> |
| 430 | </div><div class="memdoc"> |
| 431 | |
| 432 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.html#a4bea6d881d0a2c0ebf8779bce4050352">IWriteCounterValues</a>.</p> |
| 433 | |
| 434 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00256">256</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 435 | |
| 436 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00676">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 437 | <div class="fragment"><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>  CheckCounterUid(counterUid);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  std::atomic<uint32_t>* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">return</span> counterValuePtr->fetch_add(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> }</div></div><!-- fragment --> |
| 438 | </div> |
| 439 | </div> |
| 440 | <a id="a004992fdba75e298495d6b628234a4bd"></a> |
| 441 | <h2 class="memtitle"><span class="permalink"><a href="#a004992fdba75e298495d6b628234a4bd">◆ </a></span>ConfigureProfilingService()</h2> |
| 442 | |
| 443 | <div class="memitem"> |
| 444 | <div class="memproto"> |
| 445 | <table class="memname"> |
| 446 | <tr> |
| 447 | <td class="memname"><a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> ConfigureProfilingService </td> |
| 448 | <td>(</td> |
| 449 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> & </td> |
| 450 | <td class="paramname"><em>options</em>, </td> |
| 451 | </tr> |
| 452 | <tr> |
| 453 | <td class="paramkey"></td> |
| 454 | <td></td> |
| 455 | <td class="paramtype">bool </td> |
| 456 | <td class="paramname"><em>resetProfilingService</em> = <code><a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a></code> </td> |
| 457 | </tr> |
| 458 | <tr> |
| 459 | <td></td> |
| 460 | <td>)</td> |
| 461 | <td></td><td></td> |
| 462 | </tr> |
| 463 | </table> |
| 464 | </div><div class="memdoc"> |
| 465 | |
| 466 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00038">38</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 467 | |
| 468 | <p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="_i_runtime_8hpp_source.html#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00019">ProfilingService::ResetExternalProfilingOptions()</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00088">ProfilingService::Update()</a>, and <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>.</p> |
| 469 | |
| 470 | <p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.html#l00111">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, <a class="el" href="_runtime_8cpp_source.html#l00155">Runtime::Runtime()</a>, and <a class="el" href="_profiling_test_utils_8cpp_source.html#l00355">VerifyPostOptimisationStructureTestImpl()</a>.</p> |
| 471 | <div class="fragment"><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#ae7a3588986b93e13fda47c7ce4b0627c">ResetExternalProfilingOptions</a>(<a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>, resetProfilingService);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">if</span> (<a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>.m_EnableProfiling)</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// should transition to NotConnected</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// will either stay in NotConnected because there is no server</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// or will enter WaitingForAck.</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">if</span> (currentState == <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// poke it again to send out the metadata packet</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// will either stay in NotConnected because there is no server</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// or will enter WaitingForAck</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">if</span> (currentState == <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// poke it again to send out the metadata packet</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Make sure profiling is shutdown</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  Stop();</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">return</span> m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> }</div><div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div> |
| 472 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">armnn::profiling::ProfilingState</a></div><div class="ttdeci">ProfilingState</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.html#l00018">ProfilingStateMachine.hpp:18</a></div></div> |
| 473 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</a></div></div> |
| 474 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_html_aec0783b5a136e042adcc47bae4fe5291"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.html#aec0783b5a136e042adcc47bae4fe5291">armnn::profiling::ProfilingService::Update</a></div><div class="ttdeci">void Update()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.html#l00088">ProfilingService.cpp:88</a></div></div> |
| 475 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_html_ae7a3588986b93e13fda47c7ce4b0627c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.html#ae7a3588986b93e13fda47c7ce4b0627c">armnn::profiling::ProfilingService::ResetExternalProfilingOptions</a></div><div class="ttdeci">void ResetExternalProfilingOptions(const ExternalProfilingOptions &options, bool resetProfilingService=false)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.html#l00019">ProfilingService.cpp:19</a></div></div> |
| 476 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_html_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine.cpp:31</a></div></div> |
| 477 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div> |
| 478 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div> |
| 479 | </div><!-- fragment --> |
| 480 | </div> |
| 481 | </div> |
| 482 | <a id="a65d18fa17ec0238d7e72f6c8f5c880b6"></a> |
| 483 | <h2 class="memtitle"><span class="permalink"><a href="#a65d18fa17ec0238d7e72f6c8f5c880b6">◆ </a></span>Disconnect()</h2> |
| 484 | |
| 485 | <div class="memitem"> |
| 486 | <div class="memproto"> |
| 487 | <table class="memname"> |
| 488 | <tr> |
| 489 | <td class="memname">void Disconnect </td> |
| 490 | <td>(</td> |
| 491 | <td class="paramname"></td><td>)</td> |
| 492 | <td></td> |
| 493 | </tr> |
| 494 | </table> |
| 495 | </div><div class="memdoc"> |
| 496 | |
| 497 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00164">164</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 498 | |
| 499 | <p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::Active</a>, <a class="el" href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, and <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>.</p> |
| 500 | |
| 501 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l02787">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 502 | <div class="fragment"><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>:</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span>; <span class="comment">// NOP</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">ProfilingState::Active</a>:</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="comment">// Stop the command thread (if running)</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  Stop();</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">"Unknown profiling service state: %1"</span>)</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  % static_cast<int>(currentState)));</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  }</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> }</div><div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div> |
| 503 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">armnn::profiling::ProfilingState</a></div><div class="ttdeci">ProfilingState</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.html#l00018">ProfilingStateMachine.hpp:18</a></div></div> |
| 504 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</a></div></div> |
| 505 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_html_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine.cpp:31</a></div></div> |
| 506 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div> |
| 507 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::ProfilingState::Active</a></div></div> |
| 508 | </div><!-- fragment --> |
| 509 | </div> |
| 510 | </div> |
| 511 | <a id="afd19633513acfc3ae294aa90b1e13a04"></a> |
| 512 | <h2 class="memtitle"><span class="permalink"><a href="#afd19633513acfc3ae294aa90b1e13a04">◆ </a></span>GenerateStaticId()</h2> |
| 513 | |
| 514 | <div class="memitem"> |
| 515 | <div class="memproto"> |
| 516 | <table class="mlabels"> |
| 517 | <tr> |
| 518 | <td class="mlabels-left"> |
| 519 | <table class="memname"> |
| 520 | <tr> |
| 521 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.html">ProfilingStaticGuid</a> GenerateStaticId </td> |
| 522 | <td>(</td> |
| 523 | <td class="paramtype">const std::string & </td> |
| 524 | <td class="paramname"><em>str</em></td><td>)</td> |
| 525 | <td></td> |
| 526 | </tr> |
| 527 | </table> |
| 528 | </td> |
| 529 | <td class="mlabels-right"> |
| 530 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 531 | </tr> |
| 532 | </table> |
| 533 | </div><div class="memdoc"> |
| 534 | |
| 535 | <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> |
| 536 | |
| 537 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html#a9aff9f95b721c2dd1d229b9816261f1b">IProfilingGuidGenerator</a>.</p> |
| 538 | |
| 539 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00285">285</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 540 | |
| 541 | <p class="reference">References <a class="el" href="_profiling_guid_generator_8hpp_source.html#l00038">ProfilingGuidGenerator::GenerateStaticId()</a>.</p> |
| 542 | |
| 543 | <p class="reference">Referenced by <a class="el" href="_send_timeline_packet_tests_8cpp_source.html#l00411">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00148">TimelineUtilityMethods::DeclareLabel()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 544 | <div class="fragment"><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> {</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</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="l00288"></a><span class="lineno"> 288</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> |
| 545 | </div><!-- fragment --> |
| 546 | </div> |
| 547 | </div> |
| 548 | <a id="a4c6219fe49caa747ddfb5092f008c922"></a> |
| 549 | <h2 class="memtitle"><span class="permalink"><a href="#a4c6219fe49caa747ddfb5092f008c922">◆ </a></span>GetBufferManager()</h2> |
| 550 | |
| 551 | <div class="memitem"> |
| 552 | <div class="memproto"> |
| 553 | <table class="mlabels"> |
| 554 | <tr> |
| 555 | <td class="mlabels-left"> |
| 556 | <table class="memname"> |
| 557 | <tr> |
| 558 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_buffer_manager.html">BufferManager</a>& GetBufferManager </td> |
| 559 | <td>(</td> |
| 560 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> & </td> |
| 561 | <td class="paramname"><em>instance</em></td><td>)</td> |
| 562 | <td></td> |
| 563 | </tr> |
| 564 | </table> |
| 565 | </td> |
| 566 | <td class="mlabels-right"> |
| 567 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> |
| 568 | </tr> |
| 569 | </table> |
| 570 | </div><div class="memdoc"> |
| 571 | |
| 572 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00249">249</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 573 | <div class="fragment"><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">return</span> instance.m_BufferManager;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  }</div></div><!-- fragment --> |
| 574 | </div> |
| 575 | </div> |
| 576 | <a id="aff23669159bfc39106dc16d50c0a6e5f"></a> |
| 577 | <h2 class="memtitle"><span class="permalink"><a href="#aff23669159bfc39106dc16d50c0a6e5f">◆ </a></span>GetCaptureData()</h2> |
| 578 | |
| 579 | <div class="memitem"> |
| 580 | <div class="memproto"> |
| 581 | <table class="mlabels"> |
| 582 | <tr> |
| 583 | <td class="mlabels-left"> |
| 584 | <table class="memname"> |
| 585 | <tr> |
| 586 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.html">CaptureData</a> GetCaptureData </td> |
| 587 | <td>(</td> |
| 588 | <td class="paramname"></td><td>)</td> |
| 589 | <td></td> |
| 590 | </tr> |
| 591 | </table> |
| 592 | </td> |
| 593 | <td class="mlabels-right"> |
| 594 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 595 | </tr> |
| 596 | </table> |
| 597 | </div><div class="memdoc"> |
| 598 | |
| 599 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#ac4e831d7fe03198d15e7212c7d40c96c">IProfilingService</a>.</p> |
| 600 | |
| 601 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00236">236</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 602 | |
| 603 | <p class="reference">References <a class="el" href="_holder_8cpp_source.html#l00054">Holder::GetCaptureData()</a>.</p> |
| 604 | |
| 605 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 606 | <div class="fragment"><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">return</span> m_Holder.<a class="code" href="classarmnn_1_1profiling_1_1_holder.html#a95c8634416821480a8140c87054718f6">GetCaptureData</a>();</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_holder_html_a95c8634416821480a8140c87054718f6"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_holder.html#a95c8634416821480a8140c87054718f6">armnn::profiling::Holder::GetCaptureData</a></div><div class="ttdeci">CaptureData GetCaptureData() const</div><div class="ttdef"><b>Definition:</b> <a href="_holder_8cpp_source.html#l00054">Holder.cpp:54</a></div></div> |
| 607 | </div><!-- fragment --> |
| 608 | </div> |
| 609 | </div> |
| 610 | <a id="ad9062caad1836f8e6b810e4e97bb19d1"></a> |
| 611 | <h2 class="memtitle"><span class="permalink"><a href="#ad9062caad1836f8e6b810e4e97bb19d1">◆ </a></span>GetCounterCount()</h2> |
| 612 | |
| 613 | <div class="memitem"> |
| 614 | <div class="memproto"> |
| 615 | <table class="mlabels"> |
| 616 | <tr> |
| 617 | <td class="mlabels-left"> |
| 618 | <table class="memname"> |
| 619 | <tr> |
| 620 | <td class="memname">uint16_t GetCounterCount </td> |
| 621 | <td>(</td> |
| 622 | <td class="paramname"></td><td>)</td> |
| 623 | <td> const</td> |
| 624 | </tr> |
| 625 | </table> |
| 626 | </td> |
| 627 | <td class="mlabels-right"> |
| 628 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 629 | </tr> |
| 630 | </table> |
| 631 | </div><div class="memdoc"> |
| 632 | |
| 633 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.html#acab78d0987a9cca5a9cac957be610a7d">IReadCounterValues</a>.</p> |
| 634 | |
| 635 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00208">208</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 636 | |
| 637 | <p class="reference">References <a class="el" href="src_2profiling_2_counter_directory_8hpp_source.html#l00056">CounterDirectory::GetCounterCount()</a>.</p> |
| 638 | |
| 639 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 640 | <div class="fragment"><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> {</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keywordflow">return</span> m_CounterDirectory.<a class="code" href="classarmnn_1_1profiling_1_1_counter_directory.html#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a>();</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_counter_directory_html_ad9062caad1836f8e6b810e4e97bb19d1"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_counter_directory.html#ad9062caad1836f8e6b810e4e97bb19d1">armnn::profiling::CounterDirectory::GetCounterCount</a></div><div class="ttdeci">uint16_t GetCounterCount() const override</div><div class="ttdef"><b>Definition:</b> <a href="src_2profiling_2_counter_directory_8hpp_source.html#l00056">CounterDirectory.hpp:56</a></div></div> |
| 641 | </div><!-- fragment --> |
| 642 | </div> |
| 643 | </div> |
| 644 | <a id="adfaa32654e05eab63b2adc34b2138475"></a> |
| 645 | <h2 class="memtitle"><span class="permalink"><a href="#adfaa32654e05eab63b2adc34b2138475">◆ </a></span>GetCounterDirectory()</h2> |
| 646 | |
| 647 | <div class="memitem"> |
| 648 | <div class="memproto"> |
| 649 | <table class="memname"> |
| 650 | <tr> |
| 651 | <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.html">ICounterDirectory</a> & GetCounterDirectory </td> |
| 652 | <td>(</td> |
| 653 | <td class="paramname"></td><td>)</td> |
| 654 | <td> const</td> |
| 655 | </tr> |
| 656 | </table> |
| 657 | </div><div class="memdoc"> |
| 658 | |
| 659 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00193">193</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 660 | |
| 661 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00653">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 662 | <div class="fragment"><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">return</span> m_CounterDirectory;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> }</div></div><!-- fragment --> |
| 663 | </div> |
| 664 | </div> |
| 665 | <a id="a04f78379965ef10275613dd265fd0607"></a> |
| 666 | <h2 class="memtitle"><span class="permalink"><a href="#a04f78379965ef10275613dd265fd0607">◆ </a></span>GetCounterMappingRegistry()</h2> |
| 667 | |
| 668 | <div class="memitem"> |
| 669 | <div class="memproto"> |
| 670 | <table class="memname"> |
| 671 | <tr> |
| 672 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.html">IRegisterCounterMapping</a> & GetCounterMappingRegistry </td> |
| 673 | <td>(</td> |
| 674 | <td class="paramname"></td><td>)</td> |
| 675 | <td></td> |
| 676 | </tr> |
| 677 | </table> |
| 678 | </div><div class="memdoc"> |
| 679 | |
| 680 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00231">231</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 681 | |
| 682 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_register_backend_counters_8cpp_source.html#l00037">RegisterBackendCounters::RegisterCounter()</a>.</p> |
| 683 | <div class="fragment"><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordflow">return</span> m_CounterIdMap;</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> }</div></div><!-- fragment --> |
| 684 | </div> |
| 685 | </div> |
| 686 | <a id="aed969262d8bf6d59eb8f65fb89d47959"></a> |
| 687 | <h2 class="memtitle"><span class="permalink"><a href="#aed969262d8bf6d59eb8f65fb89d47959">◆ </a></span>GetCounterMappings()</h2> |
| 688 | |
| 689 | <div class="memitem"> |
| 690 | <div class="memproto"> |
| 691 | <table class="mlabels"> |
| 692 | <tr> |
| 693 | <td class="mlabels-left"> |
| 694 | <table class="memname"> |
| 695 | <tr> |
| 696 | <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.html">ICounterMappings</a> & GetCounterMappings </td> |
| 697 | <td>(</td> |
| 698 | <td class="paramname"></td><td>)</td> |
| 699 | <td> const</td> |
| 700 | </tr> |
| 701 | </table> |
| 702 | </td> |
| 703 | <td class="mlabels-right"> |
| 704 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 705 | </tr> |
| 706 | </table> |
| 707 | </div><div class="memdoc"> |
| 708 | |
| 709 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a743ad7374bfc124be30eebeb93206acd">IProfilingService</a>.</p> |
| 710 | |
| 711 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00226">226</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 712 | |
| 713 | <p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.html#l00111">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_backend_profiling_8cpp_source.html#l00066">BackendProfiling::GetActiveCounters()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 714 | <div class="fragment"><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> {</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">return</span> m_CounterIdMap;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div></div><!-- fragment --> |
| 715 | </div> |
| 716 | </div> |
| 717 | <a id="ad5fffd20c7356754964d06ae73f72293"></a> |
| 718 | <h2 class="memtitle"><span class="permalink"><a href="#ad5fffd20c7356754964d06ae73f72293">◆ </a></span>GetCounterRegistry()</h2> |
| 719 | |
| 720 | <div class="memitem"> |
| 721 | <div class="memproto"> |
| 722 | <table class="memname"> |
| 723 | <tr> |
| 724 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_registry.html">ICounterRegistry</a> & GetCounterRegistry </td> |
| 725 | <td>(</td> |
| 726 | <td class="paramname"></td><td>)</td> |
| 727 | <td></td> |
| 728 | </tr> |
| 729 | </table> |
| 730 | </div><div class="memdoc"> |
| 731 | |
| 732 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00198">198</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 733 | |
| 734 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 735 | <div class="fragment"><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> {</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">return</span> m_CounterDirectory;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> }</div></div><!-- fragment --> |
| 736 | </div> |
| 737 | </div> |
| 738 | <a id="a551aeb069aa71dd81310c7635e65e53c"></a> |
| 739 | <h2 class="memtitle"><span class="permalink"><a href="#a551aeb069aa71dd81310c7635e65e53c">◆ </a></span>GetCounterValue()</h2> |
| 740 | |
| 741 | <div class="memitem"> |
| 742 | <div class="memproto"> |
| 743 | <table class="mlabels"> |
| 744 | <tr> |
| 745 | <td class="mlabels-left"> |
| 746 | <table class="memname"> |
| 747 | <tr> |
| 748 | <td class="memname">uint32_t GetCounterValue </td> |
| 749 | <td>(</td> |
| 750 | <td class="paramtype">uint16_t </td> |
| 751 | <td class="paramname"><em>counterUid</em></td><td>)</td> |
| 752 | <td> const</td> |
| 753 | </tr> |
| 754 | </table> |
| 755 | </td> |
| 756 | <td class="mlabels-right"> |
| 757 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 758 | </tr> |
| 759 | </table> |
| 760 | </div><div class="memdoc"> |
| 761 | |
| 762 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.html#af0092bd7f4da4a071b29bc04aec883cd">IReadCounterValues</a>.</p> |
| 763 | |
| 764 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00218">218</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 765 | |
| 766 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00676">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00069">while()</a>.</p> |
| 767 | <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>  CheckCounterUid(counterUid);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  std::atomic<uint32_t>* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">return</span> counterValuePtr->load(std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> }</div></div><!-- fragment --> |
| 768 | </div> |
| 769 | </div> |
| 770 | <a id="ad8d263669817cf577760710ff6c96bb9"></a> |
| 771 | <h2 class="memtitle"><span class="permalink"><a href="#ad8d263669817cf577760710ff6c96bb9">◆ </a></span>GetCurrentState()</h2> |
| 772 | |
| 773 | <div class="memitem"> |
| 774 | <div class="memproto"> |
| 775 | <table class="memname"> |
| 776 | <tr> |
| 777 | <td class="memname"><a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> GetCurrentState </td> |
| 778 | <td>(</td> |
| 779 | <td class="paramname"></td><td>)</td> |
| 780 | <td> const</td> |
| 781 | </tr> |
| 782 | </table> |
| 783 | </div><div class="memdoc"> |
| 784 | |
| 785 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00203">203</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 786 | |
| 787 | <p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine::GetCurrentState()</a>.</p> |
| 788 | |
| 789 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00643">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00069">while()</a>.</p> |
| 790 | <div class="fragment"><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> {</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">return</span> m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_html_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine.cpp:31</a></div></div> |
| 791 | </div><!-- fragment --> |
| 792 | </div> |
| 793 | </div> |
| 794 | <a id="aaf454291f8070b3d7b947b1d616b93f9"></a> |
| 795 | <h2 class="memtitle"><span class="permalink"><a href="#aaf454291f8070b3d7b947b1d616b93f9">◆ </a></span>GetProfilingConnection()</h2> |
| 796 | |
| 797 | <div class="memitem"> |
| 798 | <div class="memproto"> |
| 799 | <table class="mlabels"> |
| 800 | <tr> |
| 801 | <td class="mlabels-left"> |
| 802 | <table class="memname"> |
| 803 | <tr> |
| 804 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.html">IProfilingConnection</a>* GetProfilingConnection </td> |
| 805 | <td>(</td> |
| 806 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> & </td> |
| 807 | <td class="paramname"><em>instance</em></td><td>)</td> |
| 808 | <td></td> |
| 809 | </tr> |
| 810 | </table> |
| 811 | </td> |
| 812 | <td class="mlabels-right"> |
| 813 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> |
| 814 | </tr> |
| 815 | </table> |
| 816 | </div><div class="memdoc"> |
| 817 | |
| 818 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00236">236</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 819 | <div class="fragment"><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">return</span> instance.m_ProfilingConnection.get();</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  }</div></div><!-- fragment --> |
| 820 | </div> |
| 821 | </div> |
| 822 | <a id="a28c5bcb3adea9e2476255acf1fc0647e"></a> |
| 823 | <h2 class="memtitle"><span class="permalink"><a href="#a28c5bcb3adea9e2476255acf1fc0647e">◆ </a></span>GetSendCounterPacket()</h2> |
| 824 | |
| 825 | <div class="memitem"> |
| 826 | <div class="memproto"> |
| 827 | <table class="mlabels"> |
| 828 | <tr> |
| 829 | <td class="mlabels-left"> |
| 830 | <table class="memname"> |
| 831 | <tr> |
| 832 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.html">ISendCounterPacket</a>& GetSendCounterPacket </td> |
| 833 | <td>(</td> |
| 834 | <td class="paramname"></td><td>)</td> |
| 835 | <td></td> |
| 836 | </tr> |
| 837 | </table> |
| 838 | </td> |
| 839 | <td class="mlabels-right"> |
| 840 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 841 | </tr> |
| 842 | </table> |
| 843 | </div><div class="memdoc"> |
| 844 | |
| 845 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#af39c79e2dbf841cf43cfcf1e5f2a30cb">IProfilingService</a>.</p> |
| 846 | |
| 847 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00106">106</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 848 | <div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  {</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> m_SendCounterPacket;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div></div><!-- fragment --> |
| 849 | </div> |
| 850 | </div> |
| 851 | <a id="a71c4eb6e11d491f84df504cf7f5a6337"></a> |
| 852 | <h2 class="memtitle"><span class="permalink"><a href="#a71c4eb6e11d491f84df504cf7f5a6337">◆ </a></span>GetSendTimelinePacket()</h2> |
| 853 | |
| 854 | <div class="memitem"> |
| 855 | <div class="memproto"> |
| 856 | <table class="mlabels"> |
| 857 | <tr> |
| 858 | <td class="mlabels-left"> |
| 859 | <table class="memname"> |
| 860 | <tr> |
| 861 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.html">ISendTimelinePacket</a> > GetSendTimelinePacket </td> |
| 862 | <td>(</td> |
| 863 | <td class="paramname"></td><td>)</td> |
| 864 | <td> const</td> |
| 865 | </tr> |
| 866 | </table> |
| 867 | </td> |
| 868 | <td class="mlabels-right"> |
| 869 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 870 | </tr> |
| 871 | </table> |
| 872 | </div><div class="memdoc"> |
| 873 | |
| 874 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a33877b12b685ae752dc1227fe14d9441">IProfilingService</a>.</p> |
| 875 | |
| 876 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00290">290</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 877 | |
| 878 | <p class="reference">References <a class="el" href="_counter_directory_8cpp_source.html#l00534">CounterDirectory::Clear()</a>, <a class="el" href="_timeline_packet_writer_factory_8cpp_source.html#l00016">TimelinePacketWriterFactory::GetSendTimelinePacket()</a>, <a class="el" href="_counter_directory_8cpp_source.html#l00485">CounterDirectory::IsCategoryRegistered()</a>, <a class="el" href="_counter_directory_8cpp_source.html#l00520">CounterDirectory::IsCounterRegistered()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00213">ProfilingService::IsCounterRegistered()</a>, <a class="el" href="_i_counter_directory_8hpp_source.html#l00129">Counter::m_Uid</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="_counter_directory_8cpp_source.html#l00021">CounterDirectory::RegisterCategory()</a>, <a class="el" href="_counter_directory_8cpp_source.html#l00276">CounterDirectory::RegisterCounter()</a>, <a class="el" href="_buffer_manager_8cpp_source.html#l00077">BufferManager::Reset()</a>, <a class="el" href="_profiling_state_machine_8cpp_source.html#l00088">ProfilingStateMachine::Reset()</a>, <a class="el" href="_counter_id_map_8cpp_source.html#l00024">CounterIdMap::Reset()</a>, <a class="el" href="_send_thread_8cpp_source.html#l00082">SendThread::Stop()</a>, <a class="el" href="_command_handler_8cpp_source.html#l00034">CommandHandler::Stop()</a>, <a class="el" href="_periodic_counter_capture_8cpp_source.html#l00037">PeriodicCounterCapture::Stop()</a>, and <a class="el" href="_profiling_state_machine_8cpp_source.html#l00036">ProfilingStateMachine::TransitionToState()</a>.</p> |
| 879 | |
| 880 | <p class="reference">Referenced by <a class="el" href="_send_timeline_packet_tests_8cpp_source.html#l00430">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00016">TimelineUtilityMethods::GetTimelineUtils()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 881 | <div class="fragment"><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">return</span> m_TimelinePacketWriterFactory.<a class="code" href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.html#a169a8836d1862bc9ed922e124e905302">GetSendTimelinePacket</a>();</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory_html_a169a8836d1862bc9ed922e124e905302"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.html#a169a8836d1862bc9ed922e124e905302">armnn::profiling::TimelinePacketWriterFactory::GetSendTimelinePacket</a></div><div class="ttdeci">std::unique_ptr< ISendTimelinePacket > GetSendTimelinePacket() const</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_packet_writer_factory_8cpp_source.html#l00016">TimelinePacketWriterFactory.cpp:16</a></div></div> |
| 882 | </div><!-- fragment --> |
| 883 | </div> |
| 884 | </div> |
| 885 | <a id="a6c2d955d387944f5b7ad37ebb435a37f"></a> |
| 886 | <h2 class="memtitle"><span class="permalink"><a href="#a6c2d955d387944f5b7ad37ebb435a37f">◆ </a></span>IncrementCounterValue()</h2> |
| 887 | |
| 888 | <div class="memitem"> |
| 889 | <div class="memproto"> |
| 890 | <table class="mlabels"> |
| 891 | <tr> |
| 892 | <td class="mlabels-left"> |
| 893 | <table class="memname"> |
| 894 | <tr> |
| 895 | <td class="memname">uint32_t IncrementCounterValue </td> |
| 896 | <td>(</td> |
| 897 | <td class="paramtype">uint16_t </td> |
| 898 | <td class="paramname"><em>counterUid</em></td><td>)</td> |
| 899 | <td></td> |
| 900 | </tr> |
| 901 | </table> |
| 902 | </td> |
| 903 | <td class="mlabels-right"> |
| 904 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 905 | </tr> |
| 906 | </table> |
| 907 | </div><div class="memdoc"> |
| 908 | |
| 909 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.html#a78f2b663eb502e4849edfb4bdfda71bb">IWriteCounterValues</a>.</p> |
| 910 | |
| 911 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00272">272</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 912 | |
| 913 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00676">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_backend_registry_8cpp_source.html#l00034">BackendRegistry::Deregister()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, <a class="el" href="_runtime_8cpp_source.html#l00061">Runtime::LoadNetwork()</a>, <a class="el" href="_backend_registry_8cpp_source.html#l00019">BackendRegistry::Register()</a>, <a class="el" href="_runtime_8cpp_source.html#l00105">Runtime::UnloadNetwork()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00069">while()</a>.</p> |
| 914 | <div class="fragment"><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> {</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  CheckCounterUid(counterUid);</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  std::atomic<uint32_t>* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">return</span> counterValuePtr->operator++(std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> }</div></div><!-- fragment --> |
| 915 | </div> |
| 916 | </div> |
| 917 | <a id="a6d016886de3596fe67dbabf107168f97"></a> |
| 918 | <h2 class="memtitle"><span class="permalink"><a href="#a6d016886de3596fe67dbabf107168f97">◆ </a></span>Instance()</h2> |
| 919 | |
| 920 | <div class="memitem"> |
| 921 | <div class="memproto"> |
| 922 | <table class="mlabels"> |
| 923 | <tr> |
| 924 | <td class="mlabels-left"> |
| 925 | <table class="memname"> |
| 926 | <tr> |
| 927 | <td class="memname">static <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a>& Instance </td> |
| 928 | <td>(</td> |
| 929 | <td class="paramname"></td><td>)</td> |
| 930 | <td></td> |
| 931 | </tr> |
| 932 | </table> |
| 933 | </td> |
| 934 | <td class="mlabels-right"> |
| 935 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> |
| 936 | </tr> |
| 937 | </table> |
| 938 | </div><div class="memdoc"> |
| 939 | |
| 940 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00052">52</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 941 | |
| 942 | <p class="reference">References <a class="el" href="_profiling_service_8cpp_source.html#l00185">ProfilingService::AddBackendProfilingContext()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00256">ProfilingService::AddCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00038">ProfilingService::ConfigureProfilingService()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00164">ProfilingService::Disconnect()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00285">ProfilingService::GenerateStaticId()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00236">ProfilingService::GetCaptureData()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00208">ProfilingService::GetCounterCount()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00193">ProfilingService::GetCounterDirectory()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00231">ProfilingService::GetCounterMappingRegistry()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00226">ProfilingService::GetCounterMappings()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00198">ProfilingService::GetCounterRegistry()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00218">ProfilingService::GetCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00203">ProfilingService::GetCurrentState()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00290">ProfilingService::GetSendTimelinePacket()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00272">ProfilingService::IncrementCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00213">ProfilingService::IsCounterRegistered()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00033">ProfilingService::IsProfilingEnabled()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00280">ProfilingService::NextGuid()</a>, <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">options</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00019">ProfilingService::ResetExternalProfilingOptions()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00241">ProfilingService::SetCaptureData()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00248">ProfilingService::SetCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00264">ProfilingService::SubtractCounterValue()</a>, and <a class="el" href="_profiling_service_8cpp_source.html#l00088">ProfilingService::Update()</a>.</p> |
| 943 | |
| 944 | <p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.html#l00111">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00336">TimelineUtilityMethods::CreateConnectionRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00231">TimelineUtilityMethods::CreateNamedTypedChildEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00321">TimelineUtilityMethods::CreateRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00148">TimelineUtilityMethods::DeclareLabel()</a>, <a class="el" href="_backend_registry_8cpp_source.html#l00034">BackendRegistry::Deregister()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_profiling_tests_8hpp_source.html#l00233">SwapProfilingConnectionFactoryHelper::ForceTransitionToState()</a>, <a class="el" href="_backend_profiling_8cpp_source.html#l00066">BackendProfiling::GetActiveCounters()</a>, <a class="el" href="_profiling_tests_8hpp_source.html#l00227">SwapProfilingConnectionFactoryHelper::GetMockProfilingConnection()</a>, <a class="el" href="_profiling_test_utils_8hpp_source.html#l00061">ProfilingServiceRuntimeHelper::GetProfilingBufferManager()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00016">TimelineUtilityMethods::GetTimelineUtils()</a>, <a class="el" href="_runtime_8cpp_source.html#l00061">Runtime::LoadNetwork()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00362">TimelineUtilityMethods::RecordEvent()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>, <a class="el" href="_backend_registry_8cpp_source.html#l00019">BackendRegistry::Register()</a>, <a class="el" href="_register_backend_counters_8cpp_source.html#l00037">RegisterBackendCounters::RegisterCounter()</a>, <a class="el" href="_runtime_8cpp_source.html#l00155">Runtime::Runtime()</a>, <a class="el" href="_profiling_tests_8hpp_source.html#l00207">SwapProfilingConnectionFactoryHelper::SwapProfilingConnectionFactoryHelper()</a>, <a class="el" href="_runtime_8cpp_source.html#l00105">Runtime::UnloadNetwork()</a>, <a class="el" href="_profiling_test_utils_8cpp_source.html#l00355">VerifyPostOptimisationStructureTestImpl()</a>, <a class="el" href="_profiling_tests_8hpp_source.html#l00238">SwapProfilingConnectionFactoryHelper::WaitForPacketsSent()</a>, and <a class="el" href="_profiling_tests_8hpp_source.html#l00218">SwapProfilingConnectionFactoryHelper::~SwapProfilingConnectionFactoryHelper()</a>.</p> |
| 945 | <div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">static</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a> instance;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> instance;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_html_aee86b9f3f64361cd1e2c052246edc44f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.html#aee86b9f3f64361cd1e2c052246edc44f">armnn::profiling::ProfilingService::ProfilingService</a></div><div class="ttdeci">ProfilingService()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.html#l00160">ProfilingService.hpp:160</a></div></div> |
| 946 | </div><!-- fragment --> |
| 947 | </div> |
| 948 | </div> |
| 949 | <a id="a0ae21870422d53982556e0e31d6b19ee"></a> |
| 950 | <h2 class="memtitle"><span class="permalink"><a href="#a0ae21870422d53982556e0e31d6b19ee">◆ </a></span>IsCounterRegistered()</h2> |
| 951 | |
| 952 | <div class="memitem"> |
| 953 | <div class="memproto"> |
| 954 | <table class="mlabels"> |
| 955 | <tr> |
| 956 | <td class="mlabels-left"> |
| 957 | <table class="memname"> |
| 958 | <tr> |
| 959 | <td class="memname">bool IsCounterRegistered </td> |
| 960 | <td>(</td> |
| 961 | <td class="paramtype">uint16_t </td> |
| 962 | <td class="paramname"><em>counterUid</em></td><td>)</td> |
| 963 | <td> const</td> |
| 964 | </tr> |
| 965 | </table> |
| 966 | </td> |
| 967 | <td class="mlabels-right"> |
| 968 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 969 | </tr> |
| 970 | </table> |
| 971 | </div><div class="memdoc"> |
| 972 | |
| 973 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.html#a0e2c96a05cefc72d60f5a35692a4a928">IReadCounterValues</a>.</p> |
| 974 | |
| 975 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00213">213</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 976 | |
| 977 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8cpp_source.html#l00290">ProfilingService::GetSendTimelinePacket()</a>, <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00069">while()</a>.</p> |
| 978 | <div class="fragment"><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> {</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordflow">return</span> counterUid < m_CounterIndex.size();</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> }</div></div><!-- fragment --> |
| 979 | </div> |
| 980 | </div> |
| 981 | <a id="a1761b178387cbae811472267972df121"></a> |
| 982 | <h2 class="memtitle"><span class="permalink"><a href="#a1761b178387cbae811472267972df121">◆ </a></span>IsEnabled()</h2> |
| 983 | |
| 984 | <div class="memitem"> |
| 985 | <div class="memproto"> |
| 986 | <table class="mlabels"> |
| 987 | <tr> |
| 988 | <td class="mlabels-left"> |
| 989 | <table class="memname"> |
| 990 | <tr> |
| 991 | <td class="memname">bool IsEnabled </td> |
| 992 | <td>(</td> |
| 993 | <td class="paramname"></td><td>)</td> |
| 994 | <td></td> |
| 995 | </tr> |
| 996 | </table> |
| 997 | </td> |
| 998 | <td class="mlabels-right"> |
| 999 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 1000 | </tr> |
| 1001 | </table> |
| 1002 | </div><div class="memdoc"> |
| 1003 | |
| 1004 | <p>Check if the profiling is enabled. </p> |
| 1005 | |
| 1006 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00112">112</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 1007 | |
| 1008 | <p class="reference">References <a class="el" href="_i_runtime_8hpp_source.html#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00160">ProfilingService::ProfilingService()</a>.</p> |
| 1009 | <div class="fragment"><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> { <span class="keywordflow">return</span> m_Options.<a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>; }</div><div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a></div><div class="ttdeci">bool m_EnableProfiling</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00070">IRuntime.hpp:70</a></div></div> |
| 1010 | </div><!-- fragment --> |
| 1011 | </div> |
| 1012 | </div> |
| 1013 | <a id="a70db5b1cdd0d22c1fa912c6e8b9089ce"></a> |
| 1014 | <h2 class="memtitle"><span class="permalink"><a href="#a70db5b1cdd0d22c1fa912c6e8b9089ce">◆ </a></span>IsProfilingEnabled()</h2> |
| 1015 | |
| 1016 | <div class="memitem"> |
| 1017 | <div class="memproto"> |
| 1018 | <table class="mlabels"> |
| 1019 | <tr> |
| 1020 | <td class="mlabels-left"> |
| 1021 | <table class="memname"> |
| 1022 | <tr> |
| 1023 | <td class="memname">bool IsProfilingEnabled </td> |
| 1024 | <td>(</td> |
| 1025 | <td class="paramname"></td><td>)</td> |
| 1026 | <td> const</td> |
| 1027 | </tr> |
| 1028 | </table> |
| 1029 | </td> |
| 1030 | <td class="mlabels-right"> |
| 1031 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1032 | </tr> |
| 1033 | </table> |
| 1034 | </div><div class="memdoc"> |
| 1035 | |
| 1036 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.html#a93ee1c2509b9db845936a291b575dd17">IProfilingService</a>.</p> |
| 1037 | |
| 1038 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00033">33</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 1039 | |
| 1040 | <p class="reference">References <a class="el" href="_i_runtime_8hpp_source.html#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>.</p> |
| 1041 | |
| 1042 | <p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 1043 | <div class="fragment"><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">return</span> m_Options.<a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div><div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a></div><div class="ttdeci">bool m_EnableProfiling</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00070">IRuntime.hpp:70</a></div></div> |
| 1044 | </div><!-- fragment --> |
| 1045 | </div> |
| 1046 | </div> |
| 1047 | <a id="aeea32305626f921e1e9f99434dbf9049"></a> |
| 1048 | <h2 class="memtitle"><span class="permalink"><a href="#aeea32305626f921e1e9f99434dbf9049">◆ </a></span>NextGuid()</h2> |
| 1049 | |
| 1050 | <div class="memitem"> |
| 1051 | <div class="memproto"> |
| 1052 | <table class="mlabels"> |
| 1053 | <tr> |
| 1054 | <td class="mlabels-left"> |
| 1055 | <table class="memname"> |
| 1056 | <tr> |
| 1057 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.html">ProfilingDynamicGuid</a> NextGuid </td> |
| 1058 | <td>(</td> |
| 1059 | <td class="paramname"></td><td>)</td> |
| 1060 | <td></td> |
| 1061 | </tr> |
| 1062 | </table> |
| 1063 | </td> |
| 1064 | <td class="mlabels-right"> |
| 1065 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1066 | </tr> |
| 1067 | </table> |
| 1068 | </div><div class="memdoc"> |
| 1069 | |
| 1070 | <p>Return the next random Guid in the sequence. </p> |
| 1071 | |
| 1072 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.html#a46e22ba5f91b48d2b5165648787b9ace">IProfilingGuidGenerator</a>.</p> |
| 1073 | |
| 1074 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00280">280</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 1075 | |
| 1076 | <p class="reference">References <a class="el" href="_profiling_guid_generator_8hpp_source.html#l00025">ProfilingGuidGenerator::NextGuid()</a>.</p> |
| 1077 | |
| 1078 | <p class="reference">Referenced by <a class="el" href="_send_timeline_packet_tests_8cpp_source.html#l00411">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00336">TimelineUtilityMethods::CreateConnectionRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00231">TimelineUtilityMethods::CreateNamedTypedChildEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00321">TimelineUtilityMethods::CreateRelationship()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00362">TimelineUtilityMethods::RecordEvent()</a>, and <a class="el" href="_timeline_utility_methods_8cpp_source.html#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>.</p> |
| 1079 | <div class="fragment"><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> {</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</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="l00283"></a><span class="lineno"> 283</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> |
| 1080 | </div><!-- fragment --> |
| 1081 | </div> |
| 1082 | </div> |
| 1083 | <a id="ae7a3588986b93e13fda47c7ce4b0627c"></a> |
| 1084 | <h2 class="memtitle"><span class="permalink"><a href="#ae7a3588986b93e13fda47c7ce4b0627c">◆ </a></span>ResetExternalProfilingOptions()</h2> |
| 1085 | |
| 1086 | <div class="memitem"> |
| 1087 | <div class="memproto"> |
| 1088 | <table class="memname"> |
| 1089 | <tr> |
| 1090 | <td class="memname">void ResetExternalProfilingOptions </td> |
| 1091 | <td>(</td> |
| 1092 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> & </td> |
| 1093 | <td class="paramname"><em>options</em>, </td> |
| 1094 | </tr> |
| 1095 | <tr> |
| 1096 | <td class="paramkey"></td> |
| 1097 | <td></td> |
| 1098 | <td class="paramtype">bool </td> |
| 1099 | <td class="paramname"><em>resetProfilingService</em> = <code><a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a></code> </td> |
| 1100 | </tr> |
| 1101 | <tr> |
| 1102 | <td></td> |
| 1103 | <td>)</td> |
| 1104 | <td></td><td></td> |
| 1105 | </tr> |
| 1106 | </table> |
| 1107 | </div><div class="memdoc"> |
| 1108 | |
| 1109 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00019">19</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 1110 | |
| 1111 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">options</a>.</p> |
| 1112 | |
| 1113 | <p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.html#l00111">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00038">ProfilingService::ConfigureProfilingService()</a>, <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00069">while()</a>.</p> |
| 1114 | <div class="fragment"><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">// Update the profiling options</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  m_Options = <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">// Check if the profiling service needs to be reset</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">if</span> (resetProfilingService)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// Reset the profiling service</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  Reset();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  }</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div> |
| 1115 | </div><!-- fragment --> |
| 1116 | </div> |
| 1117 | </div> |
| 1118 | <a id="a40078141c4d1216eef4215fc10d0cbbc"></a> |
| 1119 | <h2 class="memtitle"><span class="permalink"><a href="#a40078141c4d1216eef4215fc10d0cbbc">◆ </a></span>SetCaptureData()</h2> |
| 1120 | |
| 1121 | <div class="memitem"> |
| 1122 | <div class="memproto"> |
| 1123 | <table class="memname"> |
| 1124 | <tr> |
| 1125 | <td class="memname">void SetCaptureData </td> |
| 1126 | <td>(</td> |
| 1127 | <td class="paramtype">uint32_t </td> |
| 1128 | <td class="paramname"><em>capturePeriod</em>, </td> |
| 1129 | </tr> |
| 1130 | <tr> |
| 1131 | <td class="paramkey"></td> |
| 1132 | <td></td> |
| 1133 | <td class="paramtype">const std::vector< uint16_t > & </td> |
| 1134 | <td class="paramname"><em>counterIds</em>, </td> |
| 1135 | </tr> |
| 1136 | <tr> |
| 1137 | <td class="paramkey"></td> |
| 1138 | <td></td> |
| 1139 | <td class="paramtype">const std::set< <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> > & </td> |
| 1140 | <td class="paramname"><em>activeBackends</em> </td> |
| 1141 | </tr> |
| 1142 | <tr> |
| 1143 | <td></td> |
| 1144 | <td>)</td> |
| 1145 | <td></td><td></td> |
| 1146 | </tr> |
| 1147 | </table> |
| 1148 | </div><div class="memdoc"> |
| 1149 | |
| 1150 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00241">241</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 1151 | |
| 1152 | <p class="reference">References <a class="el" href="_holder_8cpp_source.html#l00074">Holder::SetCaptureData()</a>.</p> |
| 1153 | |
| 1154 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l03279">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 1155 | <div class="fragment"><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> {</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  m_Holder.<a class="code" href="classarmnn_1_1profiling_1_1_holder.html#ae904af7c6336ceeeb95ab8435047c7cb">SetCaptureData</a>(capturePeriod, counterIds, activeBackends);</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_holder_html_ae904af7c6336ceeeb95ab8435047c7cb"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_holder.html#ae904af7c6336ceeeb95ab8435047c7cb">armnn::profiling::Holder::SetCaptureData</a></div><div class="ttdeci">void SetCaptureData(uint32_t capturePeriod, const std::vector< uint16_t > &counterIds, const std::set< armnn::BackendId > &activeBackends)</div><div class="ttdef"><b>Definition:</b> <a href="_holder_8cpp_source.html#l00074">Holder.cpp:74</a></div></div> |
| 1156 | </div><!-- fragment --> |
| 1157 | </div> |
| 1158 | </div> |
| 1159 | <a id="a5468b88e2e2e65892f9589d00ed06775"></a> |
| 1160 | <h2 class="memtitle"><span class="permalink"><a href="#a5468b88e2e2e65892f9589d00ed06775">◆ </a></span>SetCounterValue()</h2> |
| 1161 | |
| 1162 | <div class="memitem"> |
| 1163 | <div class="memproto"> |
| 1164 | <table class="mlabels"> |
| 1165 | <tr> |
| 1166 | <td class="mlabels-left"> |
| 1167 | <table class="memname"> |
| 1168 | <tr> |
| 1169 | <td class="memname">void SetCounterValue </td> |
| 1170 | <td>(</td> |
| 1171 | <td class="paramtype">uint16_t </td> |
| 1172 | <td class="paramname"><em>counterUid</em>, </td> |
| 1173 | </tr> |
| 1174 | <tr> |
| 1175 | <td class="paramkey"></td> |
| 1176 | <td></td> |
| 1177 | <td class="paramtype">uint32_t </td> |
| 1178 | <td class="paramname"><em>value</em> </td> |
| 1179 | </tr> |
| 1180 | <tr> |
| 1181 | <td></td> |
| 1182 | <td>)</td> |
| 1183 | <td></td><td></td> |
| 1184 | </tr> |
| 1185 | </table> |
| 1186 | </td> |
| 1187 | <td class="mlabels-right"> |
| 1188 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1189 | </tr> |
| 1190 | </table> |
| 1191 | </div><div class="memdoc"> |
| 1192 | |
| 1193 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.html#a4ba4a09617cccdeabacf0efafcc8f4b9">IWriteCounterValues</a>.</p> |
| 1194 | |
| 1195 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00248">248</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 1196 | |
| 1197 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00676">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 1198 | <div class="fragment"><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  CheckCounterUid(counterUid);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  std::atomic<uint32_t>* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  counterValuePtr->store(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> }</div></div><!-- fragment --> |
| 1199 | </div> |
| 1200 | </div> |
| 1201 | <a id="a2e08a9bc2818fb46503c1720562de8d7"></a> |
| 1202 | <h2 class="memtitle"><span class="permalink"><a href="#a2e08a9bc2818fb46503c1720562de8d7">◆ </a></span>SubtractCounterValue()</h2> |
| 1203 | |
| 1204 | <div class="memitem"> |
| 1205 | <div class="memproto"> |
| 1206 | <table class="mlabels"> |
| 1207 | <tr> |
| 1208 | <td class="mlabels-left"> |
| 1209 | <table class="memname"> |
| 1210 | <tr> |
| 1211 | <td class="memname">uint32_t SubtractCounterValue </td> |
| 1212 | <td>(</td> |
| 1213 | <td class="paramtype">uint16_t </td> |
| 1214 | <td class="paramname"><em>counterUid</em>, </td> |
| 1215 | </tr> |
| 1216 | <tr> |
| 1217 | <td class="paramkey"></td> |
| 1218 | <td></td> |
| 1219 | <td class="paramtype">uint32_t </td> |
| 1220 | <td class="paramname"><em>value</em> </td> |
| 1221 | </tr> |
| 1222 | <tr> |
| 1223 | <td></td> |
| 1224 | <td>)</td> |
| 1225 | <td></td><td></td> |
| 1226 | </tr> |
| 1227 | </table> |
| 1228 | </td> |
| 1229 | <td class="mlabels-right"> |
| 1230 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1231 | </tr> |
| 1232 | </table> |
| 1233 | </div><div class="memdoc"> |
| 1234 | |
| 1235 | <p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.html#a1a7730e559150a572dc27b05c96d98b9">IWriteCounterValues</a>.</p> |
| 1236 | |
| 1237 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00264">264</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 1238 | |
| 1239 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00676">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 1240 | <div class="fragment"><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> {</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  CheckCounterUid(counterUid);</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  std::atomic<uint32_t>* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span> counterValuePtr->fetch_sub(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> }</div></div><!-- fragment --> |
| 1241 | </div> |
| 1242 | </div> |
| 1243 | <a id="a253c6681998b98d3239d0bdf053b0e0f"></a> |
| 1244 | <h2 class="memtitle"><span class="permalink"><a href="#a253c6681998b98d3239d0bdf053b0e0f">◆ </a></span>SwapProfilingConnectionFactory()</h2> |
| 1245 | |
| 1246 | <div class="memitem"> |
| 1247 | <div class="memproto"> |
| 1248 | <table class="mlabels"> |
| 1249 | <tr> |
| 1250 | <td class="mlabels-left"> |
| 1251 | <table class="memname"> |
| 1252 | <tr> |
| 1253 | <td class="memname">void SwapProfilingConnectionFactory </td> |
| 1254 | <td>(</td> |
| 1255 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> & </td> |
| 1256 | <td class="paramname"><em>instance</em>, </td> |
| 1257 | </tr> |
| 1258 | <tr> |
| 1259 | <td class="paramkey"></td> |
| 1260 | <td></td> |
| 1261 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.html">IProfilingConnectionFactory</a> * </td> |
| 1262 | <td class="paramname"><em>other</em>, </td> |
| 1263 | </tr> |
| 1264 | <tr> |
| 1265 | <td class="paramkey"></td> |
| 1266 | <td></td> |
| 1267 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.html">IProfilingConnectionFactory</a> *& </td> |
| 1268 | <td class="paramname"><em>backup</em> </td> |
| 1269 | </tr> |
| 1270 | <tr> |
| 1271 | <td></td> |
| 1272 | <td>)</td> |
| 1273 | <td></td><td></td> |
| 1274 | </tr> |
| 1275 | </table> |
| 1276 | </td> |
| 1277 | <td class="mlabels-right"> |
| 1278 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> |
| 1279 | </tr> |
| 1280 | </table> |
| 1281 | </div><div class="memdoc"> |
| 1282 | |
| 1283 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00226">226</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 1284 | <div class="fragment"><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  BOOST_ASSERT(instance.m_ProfilingConnectionFactory);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  BOOST_ASSERT(other);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  backup = instance.m_ProfilingConnectionFactory.release();</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  instance.m_ProfilingConnectionFactory.reset(other);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  }</div></div><!-- fragment --> |
| 1285 | </div> |
| 1286 | </div> |
| 1287 | <a id="a34cc06a0c80d907108ee791182c55da9"></a> |
| 1288 | <h2 class="memtitle"><span class="permalink"><a href="#a34cc06a0c80d907108ee791182c55da9">◆ </a></span>TransitionToState()</h2> |
| 1289 | |
| 1290 | <div class="memitem"> |
| 1291 | <div class="memproto"> |
| 1292 | <table class="mlabels"> |
| 1293 | <tr> |
| 1294 | <td class="mlabels-left"> |
| 1295 | <table class="memname"> |
| 1296 | <tr> |
| 1297 | <td class="memname">void TransitionToState </td> |
| 1298 | <td>(</td> |
| 1299 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> & </td> |
| 1300 | <td class="paramname"><em>instance</em>, </td> |
| 1301 | </tr> |
| 1302 | <tr> |
| 1303 | <td class="paramkey"></td> |
| 1304 | <td></td> |
| 1305 | <td class="paramtype"><a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> </td> |
| 1306 | <td class="paramname"><em>newState</em> </td> |
| 1307 | </tr> |
| 1308 | <tr> |
| 1309 | <td></td> |
| 1310 | <td>)</td> |
| 1311 | <td></td><td></td> |
| 1312 | </tr> |
| 1313 | </table> |
| 1314 | </td> |
| 1315 | <td class="mlabels-right"> |
| 1316 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> |
| 1317 | </tr> |
| 1318 | </table> |
| 1319 | </div><div class="memdoc"> |
| 1320 | |
| 1321 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00240">240</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 1322 | |
| 1323 | <p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.html#l00036">ProfilingStateMachine::TransitionToState()</a>.</p> |
| 1324 | <div class="fragment"><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  {</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  instance.m_StateMachine.TransitionToState(newState);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div></div><!-- fragment --> |
| 1325 | </div> |
| 1326 | </div> |
| 1327 | <a id="aec0783b5a136e042adcc47bae4fe5291"></a> |
| 1328 | <h2 class="memtitle"><span class="permalink"><a href="#aec0783b5a136e042adcc47bae4fe5291">◆ </a></span>Update()</h2> |
| 1329 | |
| 1330 | <div class="memitem"> |
| 1331 | <div class="memproto"> |
| 1332 | <table class="memname"> |
| 1333 | <tr> |
| 1334 | <td class="memname">void Update </td> |
| 1335 | <td>(</td> |
| 1336 | <td class="paramname"></td><td>)</td> |
| 1337 | <td></td> |
| 1338 | </tr> |
| 1339 | </table> |
| 1340 | </div><div class="memdoc"> |
| 1341 | |
| 1342 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.html#l00088">88</a> of file <a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a>.</p> |
| 1343 | |
| 1344 | <p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::Active</a>, <a class="el" href="_logging_8hpp_source.html#l00163">ARMNN_LOG</a>, <a class="el" href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="_i_runtime_8hpp_source.html#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="_send_thread_8cpp_source.html#l00052">SendThread::Start()</a>, <a class="el" href="_command_handler_8cpp_source.html#l00017">CommandHandler::Start()</a>, <a class="el" href="_send_thread_8cpp_source.html#l00082">SendThread::Stop()</a>, <a class="el" href="_command_handler_8cpp_source.html#l00034">CommandHandler::Stop()</a>, <a class="el" href="_periodic_counter_capture_8cpp_source.html#l00037">PeriodicCounterCapture::Stop()</a>, <a class="el" href="_profiling_state_machine_8cpp_source.html#l00036">ProfilingStateMachine::TransitionToState()</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, <a class="el" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>, <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407a7b83d3f08fa392b79e3f553b585971cd">armnn::warning</a>, and <a class="el" href="_exceptions_8cpp_source.html#l00032">Exception::what()</a>.</p> |
| 1345 | |
| 1346 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00643">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00038">ProfilingService::ConfigureProfilingService()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 1347 | <div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">if</span> (!m_Options.<a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>)</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="comment">// Don't run if profiling is disabled</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// Initialize the profiling service</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="namespacearmnn_utils_1_1_sockets.html#a248c764067ee60c03ee370784c49f353">Initialize</a>();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">// Move to the next state</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#a175365c95c51fb3dad223ce3f48a3ffc">TransitionToState</a>(<a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// Stop the command thread (if running)</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  m_CommandHandler.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler.html#a17a237457e57625296e6b24feb19c60a">Stop</a>();</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">// Stop the send thread (if running)</span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  m_SendThread.<a class="code" href="classarmnn_1_1profiling_1_1_send_thread.html#a32e1e5f33658343e4a480d37329cff38">Stop</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// Stop the periodic counter capture thread (if running)</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  m_PeriodicCounterCapture.<a class="code" href="classarmnn_1_1profiling_1_1_periodic_counter_capture.html#a634c58de2126b4a4e6a2a093e60e1290">Stop</a>();</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// Reset any existing profiling connection</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  m_ProfilingConnection.reset();</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  {</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// Setup the profiling connection</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  BOOST_ASSERT(m_ProfilingConnectionFactory);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  m_ProfilingConnection = m_ProfilingConnectionFactory->GetProfilingConnection(m_Options);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">catch</span> (<span class="keyword">const</span> Exception& e)</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  {</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(warning) << <span class="stringliteral">"An error has occurred when creating the profiling connection: "</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  << e.what();</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="comment">// Move to the next state</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#a175365c95c51fb3dad223ce3f48a3ffc">TransitionToState</a>(m_ProfilingConnection</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  ? <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a> <span class="comment">// Profiling connection obtained, wait for ack</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  : <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>); <span class="comment">// Profiling connection failed, stay in the</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">// "NotConnected" state</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>:</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  BOOST_ASSERT(m_ProfilingConnection);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// Start the command thread</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  m_CommandHandler.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler.html#af5f886492fa5da4ff3cde1769e9da2cb">Start</a>(*m_ProfilingConnection);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">// Start the send thread, while in "WaitingForAck" state it'll send out a "Stream MetaData" packet waiting for</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="comment">// a valid "Connection Acknowledged" packet confirming the connection</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  m_SendThread.<a class="code" href="classarmnn_1_1profiling_1_1_send_thread.html#a160847691cc1341520cf16c11c1ec724">Start</a>(*m_ProfilingConnection);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="comment">// The connection acknowledged command handler will automatically transition the state to "Active" once a</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">// valid "Connection Acknowledged" packet has been received</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">ProfilingState::Active</a>:</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="comment">// The period counter capture thread is started by the Periodic Counter Selection command handler upon</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="comment">// request by an external profiling service</span></div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">"Unknown profiling service state: %1"</span>)</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  % static_cast<int>(currentState)));</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_send_thread_html_a160847691cc1341520cf16c11c1ec724"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_thread.html#a160847691cc1341520cf16c11c1ec724">armnn::profiling::SendThread::Start</a></div><div class="ttdeci">void Start(IProfilingConnection &profilingConnection) override</div><div class="ttdoc">Start the thread. </div><div class="ttdef"><b>Definition:</b> <a href="_send_thread_8cpp_source.html#l00052">SendThread.cpp:52</a></div></div> |
| 1348 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div> |
| 1349 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806">armnn::profiling::ProfilingState</a></div><div class="ttdeci">ProfilingState</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.html#l00018">ProfilingStateMachine.hpp:18</a></div></div> |
| 1350 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_html_a175365c95c51fb3dad223ce3f48a3ffc"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#a175365c95c51fb3dad223ce3f48a3ffc">armnn::profiling::ProfilingStateMachine::TransitionToState</a></div><div class="ttdeci">void TransitionToState(ProfilingState newState)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.html#l00036">ProfilingStateMachine.cpp:36</a></div></div> |
| 1351 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</a></div></div> |
| 1352 | <div class="ttc" id="namespacearmnn_utils_1_1_sockets_html_a248c764067ee60c03ee370784c49f353"><div class="ttname"><a href="namespacearmnn_utils_1_1_sockets.html#a248c764067ee60c03ee370784c49f353">armnnUtils::Sockets::Initialize</a></div><div class="ttdeci">bool Initialize()</div><div class="ttdoc">Performs any required one-time setup. </div><div class="ttdef"><b>Definition:</b> <a href="_network_sockets_8cpp_source.html#l00018">NetworkSockets.cpp:18</a></div></div> |
| 1353 | <div class="ttc" id="classarmnn_1_1profiling_1_1_send_thread_html_a32e1e5f33658343e4a480d37329cff38"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_thread.html#a32e1e5f33658343e4a480d37329cff38">armnn::profiling::SendThread::Stop</a></div><div class="ttdeci">void Stop(bool rethrowSendThreadExceptions=true) override</div><div class="ttdoc">Stop the thread. </div><div class="ttdef"><b>Definition:</b> <a href="_send_thread_8cpp_source.html#l00082">SendThread.cpp:82</a></div></div> |
| 1354 | <div class="ttc" id="_logging_8hpp_html_a7b6ad073975f437ec38ca7d20154727f"><div class="ttname"><a href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a></div><div class="ttdeci">#define ARMNN_LOG(severity)</div><div class="ttdef"><b>Definition:</b> <a href="_logging_8hpp_source.html#l00163">Logging.hpp:163</a></div></div> |
| 1355 | <div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_html_af5f886492fa5da4ff3cde1769e9da2cb"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler.html#af5f886492fa5da4ff3cde1769e9da2cb">armnn::profiling::CommandHandler::Start</a></div><div class="ttdeci">void Start(IProfilingConnection &profilingConnection)</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_8cpp_source.html#l00017">CommandHandler.cpp:17</a></div></div> |
| 1356 | <div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a></div><div class="ttdeci">bool m_EnableProfiling</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00070">IRuntime.hpp:70</a></div></div> |
| 1357 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_html_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.html#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.html#l00031">ProfilingStateMachine.cpp:31</a></div></div> |
| 1358 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div> |
| 1359 | <div class="ttc" id="classarmnn_1_1profiling_1_1_periodic_counter_capture_html_a634c58de2126b4a4e6a2a093e60e1290"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_periodic_counter_capture.html#a634c58de2126b4a4e6a2a093e60e1290">armnn::profiling::PeriodicCounterCapture::Stop</a></div><div class="ttdeci">void Stop() override</div><div class="ttdef"><b>Definition:</b> <a href="_periodic_counter_capture_8cpp_source.html#l00037">PeriodicCounterCapture.cpp:37</a></div></div> |
| 1360 | <div class="ttc" id="namespacearmnn_1_1profiling_html_acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::ProfilingState::Active</a></div></div> |
| 1361 | <div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_html_a17a237457e57625296e6b24feb19c60a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler.html#a17a237457e57625296e6b24feb19c60a">armnn::profiling::CommandHandler::Stop</a></div><div class="ttdeci">void Stop()</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_8cpp_source.html#l00034">CommandHandler.cpp:34</a></div></div> |
| 1362 | </div><!-- fragment --> |
| 1363 | </div> |
| 1364 | </div> |
| 1365 | <a id="adc4b29d0bfe41252ef520acfa5bc897c"></a> |
| 1366 | <h2 class="memtitle"><span class="permalink"><a href="#adc4b29d0bfe41252ef520acfa5bc897c">◆ </a></span>WaitForPacketSent()</h2> |
| 1367 | |
| 1368 | <div class="memitem"> |
| 1369 | <div class="memproto"> |
| 1370 | <table class="mlabels"> |
| 1371 | <tr> |
| 1372 | <td class="mlabels-left"> |
| 1373 | <table class="memname"> |
| 1374 | <tr> |
| 1375 | <td class="memname">bool WaitForPacketSent </td> |
| 1376 | <td>(</td> |
| 1377 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.html">ProfilingService</a> & </td> |
| 1378 | <td class="paramname"><em>instance</em>, </td> |
| 1379 | </tr> |
| 1380 | <tr> |
| 1381 | <td class="paramkey"></td> |
| 1382 | <td></td> |
| 1383 | <td class="paramtype">uint32_t </td> |
| 1384 | <td class="paramname"><em>timeout</em> = <code>1000</code> </td> |
| 1385 | </tr> |
| 1386 | <tr> |
| 1387 | <td></td> |
| 1388 | <td>)</td> |
| 1389 | <td></td><td></td> |
| 1390 | </tr> |
| 1391 | </table> |
| 1392 | </td> |
| 1393 | <td class="mlabels-right"> |
| 1394 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> |
| 1395 | </tr> |
| 1396 | </table> |
| 1397 | </div><div class="memdoc"> |
| 1398 | |
| 1399 | <p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.html#l00244">244</a> of file <a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a>.</p> |
| 1400 | |
| 1401 | <p class="reference">References <a class="el" href="_send_thread_8cpp_source.html#l00263">SendThread::WaitForPacketSent()</a>.</p> |
| 1402 | |
| 1403 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8hpp_source.html#l00238">SwapProfilingConnectionFactoryHelper::WaitForPacketsSent()</a>.</p> |
| 1404 | <div class="fragment"><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  {</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">return</span> instance.m_SendThread.WaitForPacketSent(timeout);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  }</div></div><!-- fragment --> |
| 1405 | </div> |
| 1406 | </div> |
| 1407 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 1408 | <li>src/profiling/<a class="el" href="_profiling_service_8hpp_source.html">ProfilingService.hpp</a></li> |
| 1409 | <li>src/profiling/<a class="el" href="_profiling_service_8cpp_source.html">ProfilingService.cpp</a></li> |
| 1410 | </ul> |
| 1411 | </div><!-- contents --> |
| 1412 | </div><!-- doc-content --> |
| 1413 | <!-- start footer part --> |
| 1414 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 1415 | <ul> |
| 1416 | <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_profiling_service.html">ProfilingService</a></li> |
| 1417 | <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by |
| 1418 | <a href="http://www.doxygen.org/index.html"> |
| 1419 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 1420 | </ul> |
| 1421 | </div> |
| 1422 | </body> |
| 1423 | </html> |