blob: fddcb46326319dc35233c2b5555ab79ce9cb258f [file] [log] [blame]
<!-- Copyright (c) 2020 ARM Limited. -->
<!-- -->
<!-- SPDX-License-Identifier: MIT -->
<!-- -->
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: src/profiling/ProfilingService.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">20.02</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_profiling_service_8hpp_source.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">ProfilingService.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_profiling_service_8hpp.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Copyright © 2017 Arm Ltd. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_buffer_manager_8hpp.xhtml">BufferManager.hpp</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_command_handler_8hpp.xhtml">CommandHandler.hpp</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_connection_acknowledged_command_handler_8hpp.xhtml">ConnectionAcknowledgedCommandHandler.hpp</a>&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="src_2profiling_2_counter_directory_8hpp.xhtml">CounterDirectory.hpp</a>&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_counter_id_map_8hpp.xhtml">CounterIdMap.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_counter_registry_8hpp.xhtml">ICounterRegistry.hpp</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_counter_values_8hpp.xhtml">ICounterValues.hpp</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_profiling_service_8hpp.xhtml">IProfilingService.hpp</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_periodic_counter_capture_8hpp.xhtml">PeriodicCounterCapture.hpp</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_periodic_counter_selection_command_handler_8hpp.xhtml">PeriodicCounterSelectionCommandHandler.hpp</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_per_job_counter_selection_command_handler_8hpp.xhtml">PerJobCounterSelectionCommandHandler.hpp</a>&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_profiling_connection_factory_8hpp.xhtml">ProfilingConnectionFactory.hpp</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_profiling_guid_generator_8hpp.xhtml">ProfilingGuidGenerator.hpp</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_profiling_state_machine_8hpp.xhtml">ProfilingStateMachine.hpp</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_request_counter_directory_command_handler_8hpp.xhtml">RequestCounterDirectoryCommandHandler.hpp</a>&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_send_counter_packet_8hpp.xhtml">SendCounterPacket.hpp</a>&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_send_thread_8hpp.xhtml">SendThread.hpp</a>&quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_send_timeline_packet_8hpp.xhtml">SendTimelinePacket.hpp</a>&quot;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_timeline_packet_writer_factory_8hpp.xhtml">TimelinePacketWriterFactory.hpp</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_i_backend_profiling_context_8hpp.xhtml">armnn/backends/profiling/IBackendProfilingContext.hpp</a>&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearmnn.xhtml">armnn</a></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span>profiling</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="comment">// Static constants describing ArmNN&#39;s counter UID&#39;s</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t NETWORK_LOADS = 0;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t NETWORK_UNLOADS = 1;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t REGISTERED_BACKENDS = 2;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t UNREGISTERED_BACKENDS = 3;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t INFERENCES_RUN = 4;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t MAX_ARMNN_COUNTER = INFERENCES_RUN;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml"> 42</a></span>&#160;<span class="keyword">class </span><a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> : <span class="keyword">public</span> <a class="code" href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml">IReadWriteCounterValues</a>, <span class="keyword">public</span> <a class="code" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml">IProfilingService</a></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;{</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0"> 45</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">ExternalProfilingOptions</a> = <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">IRuntime::CreationOptions::ExternalProfilingOptions</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a"> 46</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a">IProfilingConnectionFactoryPtr</a> = std::unique_ptr&lt;IProfilingConnectionFactory&gt;;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3"> 47</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3">IProfilingConnectionPtr</a> = std::unique_ptr&lt;IProfilingConnection&gt;;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a"> 48</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a">CounterIndices</a> = std::vector&lt;std::atomic&lt;uint32_t&gt;*&gt;;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c"> 49</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c">CounterValues</a> = std::list&lt;std::atomic&lt;uint32_t&gt;&gt;;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="comment">// Getter for the singleton instance</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97"> 52</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">Instance</a>()</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">static</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> instance;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordflow">return</span> instance;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="comment">// Resets the profiling options, optionally clears the profiling service entirely</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ae7a3588986b93e13fda47c7ce4b0627c">ResetExternalProfilingOptions</a>(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">ExternalProfilingOptions</a>&amp; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>, <span class="keywordtype">bool</span> resetProfilingService = <span class="keyword">false</span>);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a004992fdba75e298495d6b628234a4bd">ConfigureProfilingService</a>(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">ExternalProfilingOptions</a>&amp; options,</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">bool</span> resetProfilingService = <span class="keyword">false</span>);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="comment">// Updates the profiling service, making it transition to a new state if necessary</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a>();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">// Disconnects the profiling service from the external server</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65d18fa17ec0238d7e72f6c8f5c880b6">Disconnect</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">// Store a profiling context returned from a backend that support profiling.</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ab156998ddd9e58d2f79567bfb70e122c">AddBackendProfilingContext</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> backendId,</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; std::shared_ptr&lt;armnn::profiling::IBackendProfilingContext&gt; profilingContext);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">const</span> <a class="code" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a>&amp; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adfaa32654e05eab63b2adc34b2138475">GetCounterDirectory</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_i_counter_registry.xhtml">ICounterRegistry</a>&amp; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad5fffd20c7356754964d06ae73f72293">GetCounterRegistry</a>();</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a0ae21870422d53982556e0e31d6b19ee">IsCounterRegistered</a>(uint16_t counterUid) <span class="keyword">const override</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; uint32_t <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a551aeb069aa71dd81310c7635e65e53c">GetCounterValue</a>(uint16_t counterUid) <span class="keyword">const override</span>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; uint16_t <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a>() <span class="keyword">const override</span>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// counter global/backend mapping functions</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">const</span> <a class="code" href="classarmnn_1_1profiling_1_1_i_counter_mappings.xhtml">ICounterMappings</a>&amp; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aed969262d8bf6d59eb8f65fb89d47959">GetCounterMappings</a>() <span class="keyword">const override</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.xhtml">IRegisterCounterMapping</a>&amp; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a04f78379965ef10275613dd265fd0607">GetCounterMappingRegistry</a>();</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="comment">// Getters for the profiling service state</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a70db5b1cdd0d22c1fa912c6e8b9089ce">IsProfilingEnabled</a>() <span class="keyword">const override</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aff23669159bfc39106dc16d50c0a6e5f">GetCaptureData</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a40078141c4d1216eef4215fc10d0cbbc">SetCaptureData</a>(uint32_t capturePeriod,</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keyword">const</span> std::vector&lt;uint16_t&gt;&amp; counterIds,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">const</span> std::set&lt;BackendId&gt;&amp; activeBackends);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="comment">// Setters for the profiling service state</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a5468b88e2e2e65892f9589d00ed06775">SetCounterValue</a>(uint16_t counterUid, uint32_t value) <span class="keyword">override</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; uint32_t <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2d1ab72611dfc67cf1b491849ea386a4">AddCounterValue</a>(uint16_t counterUid, uint32_t value) <span class="keyword">override</span>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; uint32_t <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2e08a9bc2818fb46503c1720562de8d7">SubtractCounterValue</a>(uint16_t counterUid, uint32_t value) <span class="keyword">override</span>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; uint32_t <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6c2d955d387944f5b7ad37ebb435a37f">IncrementCounterValue</a>(uint16_t counterUid) <span class="keyword">override</span>;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="comment">// IProfilingGuidGenerator functions</span><span class="comment"></span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="comment"> /// Return the next random Guid in the sequence</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="comment"></span> <a class="code" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>() <span class="keyword">override</span>;<span class="comment"></span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="comment"> /// Create a ProfilingStaticGuid based on a hash of the string</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="comment"></span> <a class="code" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a>(<span class="keyword">const</span> std::string&amp; str) <span class="keyword">override</span>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; std::unique_ptr&lt;ISendTimelinePacket&gt; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a71c4eb6e11d491f84df504cf7f5a6337">GetSendTimelinePacket</a>() <span class="keyword">const override</span>;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a28c5bcb3adea9e2476255acf1fc0647e"> 106</a></span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">ISendCounterPacket</a>&amp; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a28c5bcb3adea9e2476255acf1fc0647e">GetSendCounterPacket</a>()<span class="keyword"> override</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">return</span> m_SendCounterPacket;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="comment"> /// Check if the profiling is enabled</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1761b178387cbae811472267972df121"> 112</a></span>&#160;<span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1761b178387cbae811472267972df121">IsEnabled</a>() { <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.xhtml#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>; }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="comment">// Copy/move constructors/destructors and copy/move assignment operators are deleted</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; operator=(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="comment">// Initialization/reset functions</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordtype">void</span> Initialize();</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordtype">void</span> InitializeCounterValue(uint16_t counterUid);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordtype">void</span> Reset();</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordtype">void</span> Stop();</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="comment">// Helper function</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordtype">void</span> CheckCounterUid(uint16_t counterUid) <span class="keyword">const</span>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="comment">// Profiling service components</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">ExternalProfilingOptions</a> m_Options;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_counter_directory.xhtml">CounterDirectory</a> m_CounterDirectory;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_counter_id_map.xhtml">CounterIdMap</a> m_CounterIdMap;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a">IProfilingConnectionFactoryPtr</a> m_ProfilingConnectionFactory;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3">IProfilingConnectionPtr</a> m_ProfilingConnection;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml">ProfilingStateMachine</a> m_StateMachine;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a">CounterIndices</a> m_CounterIndex;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c">CounterValues</a> m_CounterValues;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml">CommandHandlerRegistry</a> m_CommandHandlerRegistry;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">PacketVersionResolver</a> m_PacketVersionResolver;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_command_handler.xhtml">CommandHandler</a> m_CommandHandler;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">BufferManager</a> m_BufferManager;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_send_counter_packet.xhtml">SendCounterPacket</a> m_SendCounterPacket;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_send_thread.xhtml">SendThread</a> m_SendThread;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_send_timeline_packet.xhtml">SendTimelinePacket</a> m_SendTimelinePacket;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_holder.xhtml">Holder</a> m_Holder;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_periodic_counter_capture.xhtml">PeriodicCounterCapture</a> m_PeriodicCounterCapture;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_connection_acknowledged_command_handler.xhtml">ConnectionAcknowledgedCommandHandler</a> m_ConnectionAcknowledgedCommandHandler;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.xhtml">RequestCounterDirectoryCommandHandler</a> m_RequestCounterDirectoryCommandHandler;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_periodic_counter_selection_command_handler.xhtml">PeriodicCounterSelectionCommandHandler</a> m_PeriodicCounterSelectionCommandHandler;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_per_job_counter_selection_command_handler.xhtml">PerJobCounterSelectionCommandHandler</a> m_PerJobCounterSelectionCommandHandler;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_guid_generator.xhtml">ProfilingGuidGenerator</a> m_GuidGenerator;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">TimelinePacketWriterFactory</a> m_TimelinePacketWriterFactory;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; std::unordered_map&lt;<a class="code" href="classarmnn_1_1_backend_id.xhtml">BackendId</a>,</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; std::shared_ptr&lt;armnn::profiling::IBackendProfilingContext&gt;&gt; m_BackendProfilingContexts;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; uint16_t m_MaxGlobalCounterId;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="comment">// Default constructor/destructor kept protected for testing</span></div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f"> 160</a></span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a>()</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; : m_Options()</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; , m_CounterDirectory()</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; , m_ProfilingConnectionFactory(new <a class="code" href="classarmnn_1_1profiling_1_1_profiling_connection_factory.xhtml">ProfilingConnectionFactory</a>())</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; , m_ProfilingConnection()</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; , m_StateMachine()</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; , m_CounterIndex()</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; , m_CounterValues()</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; , m_CommandHandlerRegistry()</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; , m_PacketVersionResolver()</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; , m_CommandHandler(1000,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="_cl_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a>,</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; m_CommandHandlerRegistry,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; m_PacketVersionResolver)</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; , m_BufferManager()</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; , m_SendCounterPacket(m_BufferManager)</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; , m_SendThread(m_StateMachine, m_BufferManager, m_SendCounterPacket)</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; , m_SendTimelinePacket(m_BufferManager)</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; , m_PeriodicCounterCapture(m_Holder, m_SendCounterPacket, *this, m_CounterIdMap, m_BackendProfilingContexts)</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; , m_ConnectionAcknowledgedCommandHandler(0,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; 1,</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 1).GetEncodedValue(),</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; m_StateMachine)</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; , m_RequestCounterDirectoryCommandHandler(0,</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; 3,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 3).GetEncodedValue(),</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; m_StateMachine)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; , m_PeriodicCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; 4,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 4).GetEncodedValue(),</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; m_BackendProfilingContexts,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; m_CounterIdMap,</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; m_Holder,</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; MAX_ARMNN_COUNTER,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; m_PeriodicCounterCapture,</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; *this,</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; m_StateMachine)</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; , m_PerJobCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; 5,</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 5).GetEncodedValue(),</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; m_StateMachine)</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; , m_TimelinePacketWriterFactory(m_BufferManager)</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; , m_MaxGlobalCounterId(<a class="code" href="namespacearmnn.xhtml">armnn</a>::profiling::INFERENCES_RUN)</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="comment">// Register the &quot;Connection Acknowledged&quot; command handler</span></div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_ConnectionAcknowledgedCommandHandler);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="comment">// Register the &quot;Request Counter Directory&quot; command handler</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_RequestCounterDirectoryCommandHandler);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="comment">// Register the &quot;Periodic Counter Selection&quot; command handler</span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_PeriodicCounterSelectionCommandHandler);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="comment">// Register the &quot;Per-Job Counter Selection&quot; command handler</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_PerJobCounterSelectionCommandHandler);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; }</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65bfac075d1a9b46ce6bb2ffabfde9ac">~ProfilingService</a>();</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="comment">// Protected methods for testing</span></div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f"> 226</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">SwapProfilingConnectionFactory</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; instance,</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a>* other,</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a>*&amp; backup)</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; BOOST_ASSERT(instance.m_ProfilingConnectionFactory);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; BOOST_ASSERT(other);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; backup = instance.m_ProfilingConnectionFactory.release();</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; instance.m_ProfilingConnectionFactory.reset(other);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; }</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9"> 236</a></span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a>* <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9">GetProfilingConnection</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; instance)</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordflow">return</span> instance.m_ProfilingConnection.get();</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; }</div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9"> 240</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9">TransitionToState</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; instance, <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> newState)</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; {</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; instance.m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#a175365c95c51fb3dad223ce3f48a3ffc">TransitionToState</a>(newState);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; }</div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c"> 244</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c">WaitForPacketSent</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; instance, uint32_t timeout = 1000)</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; {</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">return</span> instance.m_SendThread.<a class="code" href="classarmnn_1_1profiling_1_1_send_thread.xhtml#aca1be8cb336582dbbdc9dae32475cfea">WaitForPacketSent</a>(timeout);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; }</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a4c6219fe49caa747ddfb5092f008c922"> 249</a></span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">BufferManager</a>&amp; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a4c6219fe49caa747ddfb5092f008c922">GetBufferManager</a>(<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; instance)</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordflow">return</span> instance.m_BufferManager;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; }</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;};</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;} <span class="comment">// namespace profiling</span></div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;} <span class="comment">// namespace armnn</span></div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a0ae21870422d53982556e0e31d6b19ee"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a0ae21870422d53982556e0e31d6b19ee">armnn::profiling::ProfilingService::IsCounterRegistered</a></div><div class="ttdeci">bool IsCounterRegistered(uint16_t counterUid) const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00219">ProfilingService.cpp:219</a></div></div>
<div class="ttc" id="_buffer_manager_8hpp_xhtml"><div class="ttname"><a href="_buffer_manager_8hpp.xhtml">BufferManager.hpp</a></div></div>
<div class="ttc" id="_per_job_counter_selection_command_handler_8hpp_xhtml"><div class="ttname"><a href="_per_job_counter_selection_command_handler_8hpp.xhtml">PerJobCounterSelectionCommandHandler.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService &amp; Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml">armnn::profiling::ProfilingStateMachine</a></div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.xhtml#l00026">ProfilingStateMachine.hpp:26</a></div></div>
<div class="ttc" id="_send_timeline_packet_8hpp_xhtml"><div class="ttname"><a href="_send_timeline_packet_8hpp.xhtml">SendTimelinePacket.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a8b4cbb2df55028789ae1901fd9d8987c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c">armnn::profiling::ProfilingService::CounterValues</a></div><div class="ttdeci">std::list&lt; std::atomic&lt; uint32_t &gt; &gt; CounterValues</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00049">ProfilingService.hpp:49</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_register_counter_mapping_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.xhtml">armnn::profiling::IRegisterCounterMapping</a></div><div class="ttdef"><b>Definition:</b> <a href="_counter_id_map_8hpp_source.xhtml#l00023">CounterIdMap.hpp:23</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingService::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00209">ProfilingService.cpp:209</a></div></div>
<div class="ttc" id="_i_counter_registry_8hpp_xhtml"><div class="ttname"><a href="_i_counter_registry_8hpp.xhtml">ICounterRegistry.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_counter_directory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_counter_directory.xhtml">armnn::profiling::CounterDirectory</a></div><div class="ttdef"><b>Definition:</b> <a href="src_2profiling_2_counter_directory_8hpp_source.xhtml#l00023">CounterDirectory.hpp:23</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a1761b178387cbae811472267972df121"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1761b178387cbae811472267972df121">armnn::profiling::ProfilingService::IsEnabled</a></div><div class="ttdeci">bool IsEnabled()</div><div class="ttdoc">Check if the profiling is enabled. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00112">ProfilingService.hpp:112</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ad5fffd20c7356754964d06ae73f72293"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad5fffd20c7356754964d06ae73f72293">armnn::profiling::ProfilingService::GetCounterRegistry</a></div><div class="ttdeci">ICounterRegistry &amp; GetCounterRegistry()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00204">ProfilingService.cpp:204</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a551aeb069aa71dd81310c7635e65e53c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a551aeb069aa71dd81310c7635e65e53c">armnn::profiling::ProfilingService::GetCounterValue</a></div><div class="ttdeci">uint32_t GetCounterValue(uint16_t counterUid) const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00224">ProfilingService.cpp:224</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_capture_data_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_capture_data.xhtml">armnn::profiling::CaptureData</a></div><div class="ttdef"><b>Definition:</b> <a href="_holder_8hpp_source.xhtml#l00019">Holder.hpp:19</a></div></div>
<div class="ttc" id="_connection_acknowledged_command_handler_8hpp_xhtml"><div class="ttname"><a href="_connection_acknowledged_command_handler_8hpp.xhtml">ConnectionAcknowledgedCommandHandler.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">armnn::profiling::PacketVersionResolver</a></div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8hpp_source.xhtml#l00036">PacketVersionResolver.hpp:36</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_profiling_dynamic_guid_xhtml"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">armnn::profiling::ProfilingDynamicGuid</a></div><div class="ttdoc">Strongly typed guids to distinguish between those generated at runtime, and those that are statically...</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00294">Types.hpp:294</a></div></div>
<div class="ttc" id="_send_thread_8hpp_xhtml"><div class="ttname"><a href="_send_thread_8hpp.xhtml">SendThread.hpp</a></div></div>
<div class="ttc" id="_profiling_state_machine_8hpp_xhtml"><div class="ttname"><a href="_profiling_state_machine_8hpp.xhtml">ProfilingStateMachine.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_profiling_connection_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">armnn::profiling::IProfilingConnectionFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_profiling_connection_factory_8hpp_source.xhtml#l00020">IProfilingConnectionFactory.hpp:20</a></div></div>
<div class="ttc" id="namespacearmnn_xhtml"><div class="ttname"><a href="namespacearmnn.xhtml">armnn</a></div><div class="ttdoc">Copyright (c) 2020 ARM Limited. </div><div class="ttdef"><b>Definition:</b> <a href="00__introduction_8dox_source.xhtml#l00025">00_introduction.dox:25</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a65d18fa17ec0238d7e72f6c8f5c880b6"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65d18fa17ec0238d7e72f6c8f5c880b6">armnn::profiling::ProfilingService::Disconnect</a></div><div class="ttdeci">void Disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00170">ProfilingService.cpp:170</a></div></div>
<div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_xhtml_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml#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.xhtml#l00070">IRuntime.hpp:70</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aec0783b5a136e042adcc47bae4fe5291"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#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.xhtml#l00089">ProfilingService.cpp:89</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::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_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_profiling_service_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml">armnn::profiling::IProfilingService</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_profiling_service_8hpp_source.xhtml#l00019">IProfilingService.hpp:19</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6c2d955d387944f5b7ad37ebb435a37f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6c2d955d387944f5b7ad37ebb435a37f">armnn::profiling::ProfilingService::IncrementCounterValue</a></div><div class="ttdeci">uint32_t IncrementCounterValue(uint16_t counterUid) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00278">ProfilingService.cpp:278</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_abb7f442bd7409c8dff2b9346fd67bce3"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3">armnn::profiling::ProfilingService::IProfilingConnectionPtr</a></div><div class="ttdeci">std::unique_ptr&lt; IProfilingConnection &gt; IProfilingConnectionPtr</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00047">ProfilingService.hpp:47</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_connection_acknowledged_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_connection_acknowledged_command_handler.xhtml">armnn::profiling::ConnectionAcknowledgedCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_connection_acknowledged_command_handler_8hpp_source.xhtml#l00020">ConnectionAcknowledgedCommandHandler.hpp:20</a></div></div>
<div class="ttc" id="_periodic_counter_selection_command_handler_8hpp_xhtml"><div class="ttname"><a href="_periodic_counter_selection_command_handler_8hpp.xhtml">PeriodicCounterSelectionCommandHandler.hpp</a></div></div>
<div class="ttc" id="_cl_layer_tests_8cpp_xhtml_af3b727ae5a13ff472892ab8bda2eb1b5"><div class="ttname"><a href="_cl_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a></div><div class="ttdeci">DataLayout::NHWC false</div><div class="ttdef"><b>Definition:</b> <a href="_cl_layer_tests_8cpp_source.xhtml#l00129">ClLayerTests.cpp:129</a></div></div>
<div class="ttc" id="_command_handler_8hpp_xhtml"><div class="ttname"><a href="_command_handler_8hpp.xhtml">CommandHandler.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_adc4b29d0bfe41252ef520acfa5bc897c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c">armnn::profiling::ProfilingService::WaitForPacketSent</a></div><div class="ttdeci">bool WaitForPacketSent(ProfilingService &amp;instance, uint32_t timeout=1000)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00244">ProfilingService.hpp:244</a></div></div>
<div class="ttc" id="_profiling_guid_generator_8hpp_xhtml"><div class="ttname"><a href="_profiling_guid_generator_8hpp.xhtml">ProfilingGuidGenerator.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aee86b9f3f64361cd1e2c052246edc44f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">armnn::profiling::ProfilingService::ProfilingService</a></div><div class="ttdeci">ProfilingService()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00160">ProfilingService.hpp:160</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_registry_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml">armnn::profiling::CommandHandlerRegistry</a></div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_registry_8hpp_source.xhtml#l00032">CommandHandlerRegistry.hpp:32</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_send_thread_xhtml_aca1be8cb336582dbbdc9dae32475cfea"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_thread.xhtml#aca1be8cb336582dbbdc9dae32475cfea">armnn::profiling::SendThread::WaitForPacketSent</a></div><div class="ttdeci">bool WaitForPacketSent(uint32_t timeout)</div><div class="ttdef"><b>Definition:</b> <a href="_send_thread_8cpp_source.xhtml#l00262">SendThread.cpp:262</a></div></div>
<div class="ttc" id="_request_counter_directory_command_handler_8hpp_xhtml"><div class="ttname"><a href="_request_counter_directory_command_handler_8hpp.xhtml">RequestCounterDirectoryCommandHandler.hpp</a></div></div>
<div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_xhtml"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">armnn::IRuntime::CreationOptions::ExternalProfilingOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00060">IRuntime.hpp:60</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a2e08a9bc2818fb46503c1720562de8d7"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2e08a9bc2818fb46503c1720562de8d7">armnn::profiling::ProfilingService::SubtractCounterValue</a></div><div class="ttdeci">uint32_t SubtractCounterValue(uint16_t counterUid, uint32_t value) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00270">ProfilingService.cpp:270</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a59428d9e62f7be5c7682efffce09891a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a">armnn::profiling::ProfilingService::CounterIndices</a></div><div class="ttdeci">std::vector&lt; std::atomic&lt; uint32_t &gt; * &gt; CounterIndices</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00048">ProfilingService.hpp:48</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a253c6681998b98d3239d0bdf053b0e0f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">armnn::profiling::ProfilingService::SwapProfilingConnectionFactory</a></div><div class="ttdeci">void SwapProfilingConnectionFactory(ProfilingService &amp;instance, IProfilingConnectionFactory *other, IProfilingConnectionFactory *&amp;backup)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00226">ProfilingService.hpp:226</a></div></div>
<div class="ttc" id="src_2profiling_2_counter_directory_8hpp_xhtml"><div class="ttname"><a href="src_2profiling_2_counter_directory_8hpp.xhtml">CounterDirectory.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_registry_xhtml_a7875d60ac5ca76c70f599367ec61261a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#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.xhtml#l00017">CommandHandlerRegistry.cpp:17</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_profiling_static_guid_xhtml"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">armnn::profiling::ProfilingStaticGuid</a></div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00299">Types.hpp:299</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a40078141c4d1216eef4215fc10d0cbbc"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a40078141c4d1216eef4215fc10d0cbbc">armnn::profiling::ProfilingService::SetCaptureData</a></div><div class="ttdeci">void SetCaptureData(uint32_t capturePeriod, const std::vector&lt; uint16_t &gt; &amp;counterIds, const std::set&lt; BackendId &gt; &amp;activeBackends)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00247">ProfilingService.cpp:247</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler.xhtml">armnn::profiling::CommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_8hpp_source.xhtml#l00021">CommandHandler.hpp:21</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_per_job_counter_selection_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_per_job_counter_selection_command_handler.xhtml">armnn::profiling::PerJobCounterSelectionCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_per_job_counter_selection_command_handler_8hpp_source.xhtml#l00018">PerJobCounterSelectionCommandHandler.hpp:18</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a71c4eb6e11d491f84df504cf7f5a6337"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a71c4eb6e11d491f84df504cf7f5a6337">armnn::profiling::ProfilingService::GetSendTimelinePacket</a></div><div class="ttdeci">std::unique_ptr&lt; ISendTimelinePacket &gt; GetSendTimelinePacket() const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00296">ProfilingService.cpp:296</a></div></div>
<div class="ttc" id="_counter_id_map_8hpp_xhtml"><div class="ttname"><a href="_counter_id_map_8hpp.xhtml">CounterIdMap.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aed969262d8bf6d59eb8f65fb89d47959"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aed969262d8bf6d59eb8f65fb89d47959">armnn::profiling::ProfilingService::GetCounterMappings</a></div><div class="ttdeci">const ICounterMappings &amp; GetCounterMappings() const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00232">ProfilingService.cpp:232</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ae7a3588986b93e13fda47c7ce4b0627c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ae7a3588986b93e13fda47c7ce4b0627c">armnn::profiling::ProfilingService::ResetExternalProfilingOptions</a></div><div class="ttdeci">void ResetExternalProfilingOptions(const ExternalProfilingOptions &amp;options, bool resetProfilingService=false)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00020">ProfilingService.cpp:20</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a2d1ab72611dfc67cf1b491849ea386a4"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2d1ab72611dfc67cf1b491849ea386a4">armnn::profiling::ProfilingService::AddCounterValue</a></div><div class="ttdeci">uint32_t AddCounterValue(uint16_t counterUid, uint32_t value) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00262">ProfilingService.cpp:262</a></div></div>
<div class="ttc" id="_timeline_packet_writer_factory_8hpp_xhtml"><div class="ttname"><a href="_timeline_packet_writer_factory_8hpp.xhtml">TimelinePacketWriterFactory.hpp</a></div></div>
<div class="ttc" id="_i_backend_profiling_context_8hpp_xhtml"><div class="ttname"><a href="_i_backend_profiling_context_8hpp.xhtml">IBackendProfilingContext.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_request_counter_directory_command_handler.xhtml">armnn::profiling::RequestCounterDirectoryCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_request_counter_directory_command_handler_8hpp_source.xhtml#l00020">RequestCounterDirectoryCommandHandler.hpp:20</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_connection_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_connection_factory.xhtml">armnn::profiling::ProfilingConnectionFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_profiling_connection_factory_8hpp_source.xhtml#l00016">ProfilingConnectionFactory.hpp:16</a></div></div>
<div class="ttc" id="_i_counter_values_8hpp_xhtml"><div class="ttname"><a href="_i_counter_values_8hpp.xhtml">ICounterValues.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_send_counter_packet_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">armnn::profiling::ISendCounterPacket</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_send_counter_packet_8hpp_source.xhtml#l00017">ISendCounterPacket.hpp:17</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a04f78379965ef10275613dd265fd0607"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a04f78379965ef10275613dd265fd0607">armnn::profiling::ProfilingService::GetCounterMappingRegistry</a></div><div class="ttdeci">IRegisterCounterMapping &amp; GetCounterMappingRegistry()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00237">ProfilingService.cpp:237</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_periodic_counter_selection_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_periodic_counter_selection_command_handler.xhtml">armnn::profiling::PeriodicCounterSelectionCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_periodic_counter_selection_command_handler_8hpp_source.xhtml#l00031">PeriodicCounterSelectionCommandHandler.hpp:31</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_periodic_counter_capture_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_periodic_counter_capture.xhtml">armnn::profiling::PeriodicCounterCapture</a></div><div class="ttdef"><b>Definition:</b> <a href="_periodic_counter_capture_8hpp_source.xhtml#l00026">PeriodicCounterCapture.hpp:26</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a4c6219fe49caa747ddfb5092f008c922"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a4c6219fe49caa747ddfb5092f008c922">armnn::profiling::ProfilingService::GetBufferManager</a></div><div class="ttdeci">BufferManager &amp; GetBufferManager(ProfilingService &amp;instance)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00249">ProfilingService.hpp:249</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a5468b88e2e2e65892f9589d00ed06775"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a5468b88e2e2e65892f9589d00ed06775">armnn::profiling::ProfilingService::SetCounterValue</a></div><div class="ttdeci">void SetCounterValue(uint16_t counterUid, uint32_t value) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00254">ProfilingService.cpp:254</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">armnn::profiling::ProfilingService</a></div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00042">ProfilingService.hpp:42</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aff23669159bfc39106dc16d50c0a6e5f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aff23669159bfc39106dc16d50c0a6e5f">armnn::profiling::ProfilingService::GetCaptureData</a></div><div class="ttdeci">CaptureData GetCaptureData() override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00242">ProfilingService.cpp:242</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a70db5b1cdd0d22c1fa912c6e8b9089ce"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a70db5b1cdd0d22c1fa912c6e8b9089ce">armnn::profiling::ProfilingService::IsProfilingEnabled</a></div><div class="ttdeci">bool IsProfilingEnabled() const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00034">ProfilingService.cpp:34</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_profiling_connection_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">armnn::profiling::IProfilingConnection</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_profiling_connection_8hpp_source.xhtml#l00018">IProfilingConnection.hpp:18</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aaf454291f8070b3d7b947b1d616b93f9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9">armnn::profiling::ProfilingService::GetProfilingConnection</a></div><div class="ttdeci">IProfilingConnection * GetProfilingConnection(ProfilingService &amp;instance)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00236">ProfilingService.hpp:236</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">armnn::profiling::TimelinePacketWriterFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_packet_writer_factory_8hpp_source.xhtml#l00019">TimelinePacketWriterFactory.hpp:19</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_send_counter_packet_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_counter_packet.xhtml">armnn::profiling::SendCounterPacket</a></div><div class="ttdef"><b>Definition:</b> <a href="_send_counter_packet_8hpp_source.xhtml#l00021">SendCounterPacket.hpp:21</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_buffer_manager_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">armnn::profiling::BufferManager</a></div><div class="ttdef"><b>Definition:</b> <a href="_buffer_manager_8hpp_source.xhtml#l00021">BufferManager.hpp:21</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_counter_registry_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_counter_registry.xhtml">armnn::profiling::ICounterRegistry</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_registry_8hpp_source.xhtml#l00017">ICounterRegistry.hpp:17</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">armnn::profiling::ProfilingState</a></div><div class="ttdeci">ProfilingState</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.xhtml#l00018">ProfilingStateMachine.hpp:18</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml_a175365c95c51fb3dad223ce3f48a3ffc"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#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.xhtml#l00036">ProfilingStateMachine.cpp:36</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a7dad9d60aee962234b621096eaeb994a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a">armnn::profiling::ProfilingService::IProfilingConnectionFactoryPtr</a></div><div class="ttdeci">std::unique_ptr&lt; IProfilingConnectionFactory &gt; IProfilingConnectionFactoryPtr</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00046">ProfilingService.hpp:46</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_guid_generator_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_guid_generator.xhtml">armnn::profiling::ProfilingGuidGenerator</a></div><div class="ttdef"><b>Definition:</b> <a href="_profiling_guid_generator_8hpp_source.xhtml#l00018">ProfilingGuidGenerator.hpp:18</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a34cc06a0c80d907108ee791182c55da9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9">armnn::profiling::ProfilingService::TransitionToState</a></div><div class="ttdeci">void TransitionToState(ProfilingService &amp;instance, ProfilingState newState)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00240">ProfilingService.hpp:240</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a65bfac075d1a9b46ce6bb2ffabfde9ac"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65bfac075d1a9b46ce6bb2ffabfde9ac">armnn::profiling::ProfilingService::~ProfilingService</a></div><div class="ttdeci">~ProfilingService()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00454">ProfilingService.cpp:454</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a28c5bcb3adea9e2476255acf1fc0647e"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a28c5bcb3adea9e2476255acf1fc0647e">armnn::profiling::ProfilingService::GetSendCounterPacket</a></div><div class="ttdeci">ISendCounterPacket &amp; GetSendCounterPacket() override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00106">ProfilingService.hpp:106</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_holder_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_holder.xhtml">armnn::profiling::Holder</a></div><div class="ttdef"><b>Definition:</b> <a href="_holder_8hpp_source.xhtml#l00051">Holder.hpp:51</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ab156998ddd9e58d2f79567bfb70e122c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ab156998ddd9e58d2f79567bfb70e122c">armnn::profiling::ProfilingService::AddBackendProfilingContext</a></div><div class="ttdeci">void AddBackendProfilingContext(const BackendId backendId, std::shared_ptr&lt; armnn::profiling::IBackendProfilingContext &gt; profilingContext)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00191">ProfilingService.cpp:191</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_counter_id_map_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_counter_id_map.xhtml">armnn::profiling::CounterIdMap</a></div><div class="ttdef"><b>Definition:</b> <a href="_counter_id_map_8hpp_source.xhtml#l00033">CounterIdMap.hpp:33</a></div></div>
<div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#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.xhtml#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_adfaa32654e05eab63b2adc34b2138475"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adfaa32654e05eab63b2adc34b2138475">armnn::profiling::ProfilingService::GetCounterDirectory</a></div><div class="ttdeci">const ICounterDirectory &amp; GetCounterDirectory() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00199">ProfilingService.cpp:199</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_send_timeline_packet_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_timeline_packet.xhtml">armnn::profiling::SendTimelinePacket</a></div><div class="ttdef"><b>Definition:</b> <a href="_send_timeline_packet_8hpp_source.xhtml#l00022">SendTimelinePacket.hpp:22</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_counter_directory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">armnn::profiling::ICounterDirectory</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_directory_8hpp_source.xhtml#l00139">ICounterDirectory.hpp:139</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a004992fdba75e298495d6b628234a4bd"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a004992fdba75e298495d6b628234a4bd">armnn::profiling::ProfilingService::ConfigureProfilingService</a></div><div class="ttdeci">ProfilingState ConfigureProfilingService(const ExternalProfilingOptions &amp;options, bool resetProfilingService=false)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00039">ProfilingService.cpp:39</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ad9062caad1836f8e6b810e4e97bb19d1"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">armnn::profiling::ProfilingService::GetCounterCount</a></div><div class="ttdeci">uint16_t GetCounterCount() const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00214">ProfilingService.cpp:214</a></div></div>
<div class="ttc" id="_i_profiling_service_8hpp_xhtml"><div class="ttname"><a href="_i_profiling_service_8hpp.xhtml">IProfilingService.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_afd19633513acfc3ae294aa90b1e13a04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#afd19633513acfc3ae294aa90b1e13a04">armnn::profiling::ProfilingService::GenerateStaticId</a></div><div class="ttdeci">ProfilingStaticGuid GenerateStaticId(const std::string &amp;str) override</div><div class="ttdoc">Create a ProfilingStaticGuid based on a hash of the string. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00291">ProfilingService.cpp:291</a></div></div>
<div class="ttc" id="_profiling_connection_factory_8hpp_xhtml"><div class="ttname"><a href="_profiling_connection_factory_8hpp.xhtml">ProfilingConnectionFactory.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_send_thread_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_thread.xhtml">armnn::profiling::SendThread</a></div><div class="ttdef"><b>Definition:</b> <a href="_send_thread_8hpp_source.xhtml#l00029">SendThread.hpp:29</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_counter_mappings_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_counter_mappings.xhtml">armnn::profiling::ICounterMappings</a></div><div class="ttdef"><b>Definition:</b> <a href="_counter_id_map_8hpp_source.xhtml#l00015">CounterIdMap.hpp:15</a></div></div>
<div class="ttc" id="_send_counter_packet_8hpp_xhtml"><div class="ttname"><a href="_send_counter_packet_8hpp.xhtml">SendCounterPacket.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_i_read_write_counter_values_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml">armnn::profiling::IReadWriteCounterValues</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_values_8hpp_source.xhtml#l00037">ICounterValues.hpp:37</a></div></div>
<div class="ttc" id="_periodic_counter_capture_8hpp_xhtml"><div class="ttname"><a href="_periodic_counter_capture_8hpp.xhtml">PeriodicCounterCapture.hpp</a></div></div>
<div class="ttc" id="classarmnn_1_1_backend_id_xhtml"><div class="ttname"><a href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.xhtml#l00075">BackendId.hpp:75</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_637c692f14729569dd2eac0c18e2a54a.xhtml">profiling</a></li><li class="navelem"><a class="el" href="_profiling_service_8hpp.xhtml">ProfilingService.hpp</a></li>
<li class="footer">Generated on Fri Mar 13 2020 16:09:13 for ArmNN by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>