aboutsummaryrefslogtreecommitdiff
path: root/21.02/_profiling_service_8hpp_source.xhtml
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2021-02-25 17:44:00 +0000
committerJan Eilers <jan.eilers@arm.com>2021-02-25 18:27:49 +0000
commitfd627ffaec8fd8801d980b4c91ee7c0607ab6aaf (patch)
treeeb4bc8f9b411f30c7655616142b5a4bdd3a1acd0 /21.02/_profiling_service_8hpp_source.xhtml
parentfb14ebbd68e04876809145296af96f6f41857418 (diff)
downloadarmnn-fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf.tar.gz
IVGCVSW-5687 Update Doxygen Docu
* Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5
Diffstat (limited to '21.02/_profiling_service_8hpp_source.xhtml')
-rw-r--r--21.02/_profiling_service_8hpp_source.xhtml227
1 files changed, 227 insertions, 0 deletions
diff --git a/21.02/_profiling_service_8hpp_source.xhtml b/21.02/_profiling_service_8hpp_source.xhtml
new file mode 100644
index 0000000000..40497f8ab3
--- /dev/null
+++ b/21.02/_profiling_service_8hpp_source.xhtml
@@ -0,0 +1,227 @@
+<!-- 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">21.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 © 2019 Arm Ltd and Contributors. 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="_activate_timeline_reporting_command_handler_8hpp.xhtml">ActivateTimelineReportingCommandHandler.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="_buffer_manager_8hpp.xhtml">BufferManager.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="_command_handler_8hpp.xhtml">CommandHandler.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="_connection_acknowledged_command_handler_8hpp.xhtml">ConnectionAcknowledgedCommandHandler.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="src_2profiling_2_counter_directory_8hpp.xhtml">CounterDirectory.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="_counter_id_map_8hpp.xhtml">CounterIdMap.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="_deactivate_timeline_reporting_command_handler_8hpp.xhtml">DeactivateTimelineReportingCommandHandler.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_counter_registry_8hpp.xhtml">ICounterRegistry.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="_i_counter_values_8hpp.xhtml">ICounterValues.hpp</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_i_local_packet_handler_8hpp.xhtml">armnn/profiling/ILocalPacketHandler.hpp</a>&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</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="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_report_structure_8hpp.xhtml">IReportStructure.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="_periodic_counter_capture_8hpp.xhtml">PeriodicCounterCapture.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="_periodic_counter_selection_command_handler_8hpp.xhtml">PeriodicCounterSelectionCommandHandler.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="_per_job_counter_selection_command_handler_8hpp.xhtml">PerJobCounterSelectionCommandHandler.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="_profiling_connection_factory_8hpp.xhtml">ProfilingConnectionFactory.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="_profiling_guid_generator_8hpp.xhtml">ProfilingGuidGenerator.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="_profiling_state_machine_8hpp.xhtml">ProfilingStateMachine.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="_request_counter_directory_command_handler_8hpp.xhtml">RequestCounterDirectoryCommandHandler.hpp</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</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="l00028"></a><span class="lineno"> 28</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="l00029"></a><span class="lineno"> 29</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="l00030"></a><span class="lineno"> 30</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="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_notify_backends_8hpp.xhtml">INotifyBackends.hpp</a>&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</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="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearmnn.xhtml">armnn</a></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">namespace </span>profiling</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">// Static constants describing ArmNN&#39;s counter UID&#39;s</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t NETWORK_LOADS = 0;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t NETWORK_UNLOADS = 1;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t REGISTERED_BACKENDS = 2;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t UNREGISTERED_BACKENDS = 3;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint16_t INFERENCES_RUN = 4;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</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="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml"> 49</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>, <span class="keyword">public</span> <a class="code" href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml">INotifyBackends</a></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="keyword">public</span>:</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0"> 52</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="l00053"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a"> 53</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="l00054"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3"> 54</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="l00055"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a"> 55</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="l00056"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c"> 56</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="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">using</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad74ddc9fd5e95754c376d5472ff8159b">BackendProfilingContext</a> = std::unordered_map&lt;<a class="code" href="classarmnn_1_1_backend_id.xhtml">BackendId</a>,</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad74ddc9fd5e95754c376d5472ff8159b"> 58</a></span>&#160; std::shared_ptr&lt;armnn::profiling::IBackendProfilingContext&gt;&gt;;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6088be651ed3e55053d5b4a24100e6d2"> 60</a></span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6088be651ed3e55053d5b4a24100e6d2">ProfilingService</a>(<a class="code" href="classarmnn_1_1_optional.xhtml">Optional&lt;IReportStructure&amp;&gt;</a> reportStructure = <a class="code" href="structarmnn_1_1_empty_optional.xhtml">EmptyOptional</a>())</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; : m_Options()</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; , m_TimelineReporting(<a class="code" href="_cl_layer_tests_8cpp.xhtml#a2289f9e7fac0ce47801448e873b04303">false</a>)</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; , m_CounterDirectory()</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</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="l00065"></a><span class="lineno"> 65</span>&#160; , m_ProfilingConnection()</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; , m_StateMachine()</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; , m_CounterIndex()</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; , m_CounterValues()</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; , m_CommandHandlerRegistry()</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; , m_PacketVersionResolver()</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; , m_CommandHandler(1000,</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="_cl_layer_tests_8cpp.xhtml#a2289f9e7fac0ce47801448e873b04303">false</a>,</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; m_CommandHandlerRegistry,</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; m_PacketVersionResolver)</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; , m_BufferManager()</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; , m_SendCounterPacket(m_BufferManager)</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; , m_SendThread(m_StateMachine, m_BufferManager, m_SendCounterPacket)</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; , m_SendTimelinePacket(m_BufferManager)</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; , m_PeriodicCounterCapture(m_Holder, m_SendCounterPacket, *this, m_CounterIdMap, m_BackendProfilingContexts)</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; , m_ConnectionAcknowledgedCommandHandler(0,</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; 1,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 1).GetEncodedValue(),</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; m_StateMachine,</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; *this,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; m_BackendProfilingContexts)</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; , m_RequestCounterDirectoryCommandHandler(0,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; 3,</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 3).GetEncodedValue(),</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; m_StateMachine)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; , m_PeriodicCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; 4,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 4).GetEncodedValue(),</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; m_BackendProfilingContexts,</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; m_CounterIdMap,</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; m_Holder,</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; MAX_ARMNN_COUNTER,</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; m_PeriodicCounterCapture,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; *this,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; m_StateMachine)</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; , m_PerJobCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; 5,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 5).GetEncodedValue(),</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; m_StateMachine)</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; , m_ActivateTimelineReportingCommandHandler(0,</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; 6,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 6)</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; .GetEncodedValue(),</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; m_StateMachine,</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; reportStructure,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; m_TimelineReporting,</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; *this)</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; , m_DeactivateTimelineReportingCommandHandler(0,</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; 7,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 7)</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; .GetEncodedValue(),</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; m_TimelineReporting,</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; m_StateMachine,</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; *this)</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; , m_TimelinePacketWriterFactory(m_BufferManager)</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; , m_MaxGlobalCounterId(<a class="code" href="namespacearmnn.xhtml">armnn</a>::profiling::INFERENCES_RUN)</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; , m_ServiceActive(<a class="code" href="_cl_layer_tests_8cpp.xhtml#a2289f9e7fac0ce47801448e873b04303">false</a>)</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="comment">// Register the &quot;Connection Acknowledged&quot; command handler</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_ConnectionAcknowledgedCommandHandler);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="comment">// Register the &quot;Request Counter Directory&quot; command handler</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_RequestCounterDirectoryCommandHandler);</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="comment">// Register the &quot;Periodic Counter Selection&quot; command handler</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_PeriodicCounterSelectionCommandHandler);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="comment">// Register the &quot;Per-Job Counter Selection&quot; command handler</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_PerJobCounterSelectionCommandHandler);</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_ActivateTimelineReportingCommandHandler);</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_DeactivateTimelineReportingCommandHandler);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; }</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65bfac075d1a9b46ce6bb2ffabfde9ac">~ProfilingService</a>();</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="comment">// Resets the profiling options, optionally clears the profiling service entirely</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</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; options, <span class="keywordtype">bool</span> resetProfilingService = <span class="keyword">false</span>);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</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="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordtype">bool</span> resetProfilingService = <span class="keyword">false</span>);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</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="l00157"></a><span class="lineno"> 157</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="l00158"></a><span class="lineno"> 158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="comment">// Disconnects the profiling service from the external server</span></div><div class="line"><a name="l00160"></a><span class="lineno"> 160</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="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="comment">// Store a profiling context returned from a backend that support profiling.</span></div><div class="line"><a name="l00163"></a><span class="lineno"> 163</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> BackendId backendId,</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; std::shared_ptr&lt;armnn::profiling::IBackendProfilingContext&gt; profilingContext);</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="comment">// Enable the recording of timeline events and entities</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a0213410b7af3116277901a1e87bb96ee">NotifyBackendsForTimelineReporting</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</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="l00170"></a><span class="lineno"> 170</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="l00171"></a><span class="lineno"> 171</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="l00172"></a><span class="lineno"> 172</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="l00173"></a><span class="lineno"> 173</span>&#160; uint32_t <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a5a8454419fcb43e456ad6ad1b2143402">GetAbsoluteCounterValue</a>(uint16_t counterUid) <span class="keyword">const override</span>;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; uint32_t <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8f9bcec7e9c0fb2fe463c120a0fb43fe">GetDeltaCounterValue</a>(uint16_t counterUid) <span class="keyword">override</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</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="l00176"></a><span class="lineno"> 176</span>&#160; <span class="comment">// counter global/backend mapping functions</span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</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="l00178"></a><span class="lineno"> 178</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="l00179"></a><span class="lineno"> 179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="comment">// Getters for the profiling service state</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</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="l00182"></a><span class="lineno"> 182</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</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="l00184"></a><span class="lineno"> 184</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="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">const</span> std::vector&lt;uint16_t&gt;&amp; counterIds,</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keyword">const</span> std::set&lt;BackendId&gt;&amp; activeBackends);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="comment">// Setters for the profiling service state</span></div><div class="line"><a name="l00189"></a><span class="lineno"> 189</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="l00190"></a><span class="lineno"> 190</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="l00191"></a><span class="lineno"> 191</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="l00192"></a><span class="lineno"> 192</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="l00193"></a><span class="lineno"> 193</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="comment">// IProfilingGuidGenerator functions</span><span class="comment"></span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="comment"> /// Return the next random Guid in the sequence</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</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="l00197"></a><span class="lineno"> 197</span>&#160;<span class="comment"> /// Create a ProfilingStaticGuid based on a hash of the string</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</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="l00199"></a><span class="lineno"> 199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</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="l00202"></a><span class="lineno"> 202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a28c5bcb3adea9e2476255acf1fc0647e"> 203</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="l00204"></a><span class="lineno"> 204</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">return</span> m_SendCounterPacket;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; }</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keyword">static</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#ad6a0ab3d6679dded1eb2e1838becf79e">GetNextGuid</a>();</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keyword">static</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#a881aa03d7b35e6d0acd783f2aaa22ac9">GetStaticId</a>(<span class="keyword">const</span> std::string&amp; str);</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a3ae86439d5449553c50941ff3ecc3d97">ResetGuidGenerator</a>();</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"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8c2670ec96f23799ba3c4b5620e06b66"> 214</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8c2670ec96f23799ba3c4b5620e06b66">IsTimelineReportingEnabled</a>()</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; {</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordflow">return</span> m_TimelineReporting;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; }</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ac84eb9eb1d10764a565b0847e6825204">AddLocalPacketHandler</a>(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a96b0827ffefa36d7ec2b4ac34a922d12">ILocalPacketHandlerSharedPtr</a> localPacketHandler);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aa969a672380904e127264c3a8b27504b">NotifyProfilingServiceActive</a>() <span class="keyword">override</span>; <span class="comment">// IProfilingServiceStatus</span></div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a80a0e4644a0be7b00bc581cb786d5a4f">WaitForProfilingServiceActivation</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> timeout) <span class="keyword">override</span>; <span class="comment">// IProfilingServiceStatus</span></div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="comment">//Copy/move constructors/destructors and copy/move assignment operators are deleted</span></div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6088be651ed3e55053d5b4a24100e6d2">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="l00227"></a><span class="lineno"> 227</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6088be651ed3e55053d5b4a24100e6d2">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="l00228"></a><span class="lineno"> 228</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="l00229"></a><span class="lineno"> 229</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="l00230"></a><span class="lineno"> 230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="comment">// Initialization/reset functions</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="keywordtype">void</span> Initialize();</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keywordtype">void</span> InitializeCounterValue(uint16_t counterUid);</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="keywordtype">void</span> Reset();</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keywordtype">void</span> Stop();</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="comment">// Helper function</span></div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordtype">void</span> CheckCounterUid(uint16_t counterUid) <span class="keyword">const</span>;</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"> 240</span>&#160; <span class="comment">// Profiling service components</span></div><div class="line"><a name="l00241"></a><span class="lineno"> 241</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="l00242"></a><span class="lineno"> 242</span>&#160; std::atomic&lt;bool&gt; m_TimelineReporting;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_counter_directory.xhtml">CounterDirectory</a> m_CounterDirectory;</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</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="l00245"></a><span class="lineno"> 245</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="l00246"></a><span class="lineno"> 246</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="l00247"></a><span class="lineno"> 247</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="l00248"></a><span class="lineno"> 248</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="l00249"></a><span class="lineno"> 249</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="l00250"></a><span class="lineno"> 250</span>&#160; arm::pipe::CommandHandlerRegistry m_CommandHandlerRegistry;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; arm::pipe::PacketVersionResolver m_PacketVersionResolver;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_command_handler.xhtml">CommandHandler</a> m_CommandHandler;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">BufferManager</a> m_BufferManager;</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</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="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_send_thread.xhtml">SendThread</a> m_SendThread;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</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="l00257"></a><span class="lineno"> 257</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_holder.xhtml">Holder</a> m_Holder;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</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="l00261"></a><span class="lineno"> 261</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</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="l00263"></a><span class="lineno"> 263</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="l00264"></a><span class="lineno"> 264</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="l00265"></a><span class="lineno"> 265</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="l00266"></a><span class="lineno"> 266</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml">ActivateTimelineReportingCommandHandler</a> m_ActivateTimelineReportingCommandHandler;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_deactivate_timeline_reporting_command_handler.xhtml">DeactivateTimelineReportingCommandHandler</a> m_DeactivateTimelineReportingCommandHandler;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</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="l00270"></a><span class="lineno"> 270</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad74ddc9fd5e95754c376d5472ff8159b">BackendProfilingContext</a> m_BackendProfilingContexts;</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; uint16_t m_MaxGlobalCounterId;</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keyword">static</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_guid_generator.xhtml">ProfilingGuidGenerator</a> m_GuidGenerator;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="comment">// Signalling to let external actors know when service is active or not</span></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; std::mutex m_ServiceActiveMutex;</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; std::condition_variable m_ServiceActiveConditionVariable;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordtype">bool</span> m_ServiceActive;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="comment">// Protected methods for testing</span></div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f"> 283</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="l00284"></a><span class="lineno"> 284</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="l00285"></a><span class="lineno"> 285</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="l00286"></a><span class="lineno"> 286</span>&#160; {</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(instance.m_ProfilingConnectionFactory);</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(other);</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; backup = instance.m_ProfilingConnectionFactory.release();</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; instance.m_ProfilingConnectionFactory.reset(other);</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; }</div><div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9"> 293</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="l00294"></a><span class="lineno"> 294</span>&#160; {</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keywordflow">return</span> instance.m_ProfilingConnection.get();</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; }</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9"> 297</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="l00298"></a><span class="lineno"> 298</span>&#160; {</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</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="l00300"></a><span class="lineno"> 300</span>&#160; }</div><div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c"> 301</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="l00302"></a><span class="lineno"> 302</span>&#160; {</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</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="l00304"></a><span class="lineno"> 304</span>&#160; }</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a4c6219fe49caa747ddfb5092f008c922"> 306</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="l00307"></a><span class="lineno"> 307</span>&#160; {</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keywordflow">return</span> instance.m_BufferManager;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; }</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;};</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;} <span class="comment">// namespace profiling</span></div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</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#l00240">ProfilingService.cpp:240</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="_deactivate_timeline_reporting_command_handler_8hpp_xhtml"><div class="ttname"><a href="_deactivate_timeline_reporting_command_handler_8hpp.xhtml">DeactivateTimelineReportingCommandHandler.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_a80a0e4644a0be7b00bc581cb786d5a4f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a80a0e4644a0be7b00bc581cb786d5a4f">armnn::profiling::ProfilingService::WaitForProfilingServiceActivation</a></div><div class="ttdeci">void WaitForProfilingServiceActivation(unsigned int timeout) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00514">ProfilingService.cpp:514</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="namespacearmnn_1_1profiling_xhtml_a96b0827ffefa36d7ec2b4ac34a922d12"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a96b0827ffefa36d7ec2b4ac34a922d12">armnn::profiling::ILocalPacketHandlerSharedPtr</a></div><div class="ttdeci">std::shared_ptr&lt; ILocalPacketHandler &gt; ILocalPacketHandlerSharedPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_local_packet_handler_8hpp_source.xhtml#l00074">ILocalPacketHandler.hpp:74</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_a5a8454419fcb43e456ad6ad1b2143402"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a5a8454419fcb43e456ad6ad1b2143402">armnn::profiling::ProfilingService::GetAbsoluteCounterValue</a></div><div class="ttdeci">uint32_t GetAbsoluteCounterValue(uint16_t counterUid) const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00245">ProfilingService.cpp:245</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#l00056">ProfilingService.hpp:56</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ad74ddc9fd5e95754c376d5472ff8159b"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad74ddc9fd5e95754c376d5472ff8159b">armnn::profiling::ProfilingService::BackendProfilingContext</a></div><div class="ttdeci">std::unordered_map&lt; BackendId, std::shared_ptr&lt; armnn::profiling::IBackendProfilingContext &gt; &gt; BackendProfilingContext</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00058">ProfilingService.hpp:58</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="_activate_timeline_reporting_command_handler_8hpp_xhtml"><div class="ttname"><a href="_activate_timeline_reporting_command_handler_8hpp.xhtml">ActivateTimelineReportingCommandHandler.hpp</a></div></div>
+<div class="ttc" id="classarmnn_1_1_optional_xhtml"><div class="ttname"><a href="classarmnn_1_1_optional.xhtml">armnn::Optional</a></div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00270">Optional.hpp:270</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#l00230">ProfilingService.cpp:230</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_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#l00225">ProfilingService.cpp:225</a></div></div>
+<div class="ttc" id="_cl_layer_tests_8cpp_xhtml_a2289f9e7fac0ce47801448e873b04303"><div class="ttname"><a href="_cl_layer_tests_8cpp.xhtml#a2289f9e7fac0ce47801448e873b04303">false</a></div><div class="ttdeci">DataLayout::NCHW false</div><div class="ttdef"><b>Definition:</b> <a href="_cl_layer_tests_8cpp_source.xhtml#l00135">ClLayerTests.cpp:135</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="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#l00335">Types.hpp:335</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a0213410b7af3116277901a1e87bb96ee"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a0213410b7af3116277901a1e87bb96ee">armnn::profiling::ProfilingService::NotifyBackendsForTimelineReporting</a></div><div class="ttdeci">void NotifyBackendsForTimelineReporting() override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00493">ProfilingService.cpp:493</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aa969a672380904e127264c3a8b27504b"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aa969a672380904e127264c3a8b27504b">armnn::profiling::ProfilingService::NotifyProfilingServiceActive</a></div><div class="ttdeci">void NotifyProfilingServiceActive() override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00505">ProfilingService.cpp:505</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) 2021 ARM Limited and Contributors. </div><div class="ttdef"><b>Definition:</b> <a href="01__00__software__tools_8dox_source.xhtml#l00006">01_00_software_tools.dox:6</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#l00191">ProfilingService.cpp:191</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#l00110">ProfilingService.cpp:110</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#l00317">ProfilingService.cpp:317</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#l00020">IProfilingService.hpp:20</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#l00309">ProfilingService.cpp:309</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#l00054">ProfilingService.hpp:54</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#l00023">ConnectionAcknowledgedCommandHandler.hpp:23</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="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ac84eb9eb1d10764a565b0847e6825204"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ac84eb9eb1d10764a565b0847e6825204">armnn::profiling::ProfilingService::AddLocalPacketHandler</a></div><div class="ttdeci">void AddLocalPacketHandler(ILocalPacketHandlerSharedPtr localPacketHandler)</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_a3ae86439d5449553c50941ff3ecc3d97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a3ae86439d5449553c50941ff3ecc3d97">armnn::profiling::ProfilingService::ResetGuidGenerator</a></div><div class="ttdeci">void ResetGuidGenerator()</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_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#l00301">ProfilingService.hpp:301</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_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#l00260">SendThread.cpp:260</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#l00062">IRuntime.hpp:62</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a8f9bcec7e9c0fb2fe463c120a0fb43fe"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8f9bcec7e9c0fb2fe463c120a0fb43fe">armnn::profiling::ProfilingService::GetDeltaCounterValue</a></div><div class="ttdeci">uint32_t GetDeltaCounterValue(uint16_t counterUid) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00253">ProfilingService.cpp:253</a></div></div>
+<div class="ttc" id="_i_report_structure_8hpp_xhtml"><div class="ttname"><a href="_i_report_structure_8hpp.xhtml">IReportStructure.hpp</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#l00301">ProfilingService.cpp:301</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#l00055">ProfilingService.hpp:55</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#l00283">ProfilingService.hpp:283</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_profiling_service_xhtml_a881aa03d7b35e6d0acd783f2aaa22ac9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a881aa03d7b35e6d0acd783f2aaa22ac9">armnn::profiling::ProfilingService::GetStaticId</a></div><div class="ttdeci">static ProfilingStaticGuid GetStaticId(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00029">ProfilingService.cpp:29</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_activate_timeline_reporting_command_handler.xhtml">armnn::profiling::ActivateTimelineReportingCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_activate_timeline_reporting_command_handler_8hpp_source.xhtml#l00025">ActivateTimelineReportingCommandHandler.hpp:25</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#l00340">Types.hpp:340</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#l00278">ProfilingService.cpp:278</a></div></div>
+<div class="ttc" id="_i_notify_backends_8hpp_xhtml"><div class="ttname"><a href="_i_notify_backends_8hpp.xhtml">INotifyBackends.hpp</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_i_notify_backends_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml">armnn::profiling::INotifyBackends</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_notify_backends_8hpp_source.xhtml#l00014">INotifyBackends.hpp:14</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#l00022">CommandHandler.hpp:22</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#l00019">PerJobCounterSelectionCommandHandler.hpp:19</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#l00327">ProfilingService.cpp:327</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#l00263">ProfilingService.cpp:263</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#l00039">ProfilingService.cpp:39</a></div></div>
+<div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</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#l00293">ProfilingService.cpp:293</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#l00021">RequestCounterDirectoryCommandHandler.hpp:21</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#l00268">ProfilingService.cpp:268</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a8c2670ec96f23799ba3c4b5620e06b66"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8c2670ec96f23799ba3c4b5620e06b66">armnn::profiling::ProfilingService::IsTimelineReportingEnabled</a></div><div class="ttdeci">bool IsTimelineReportingEnabled()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00214">ProfilingService.hpp:214</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#l00306">ProfilingService.hpp:306</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6088be651ed3e55053d5b4a24100e6d2"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6088be651ed3e55053d5b4a24100e6d2">armnn::profiling::ProfilingService::ProfilingService</a></div><div class="ttdeci">ProfilingService(Optional&lt; IReportStructure &amp;&gt; reportStructure=EmptyOptional())</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00060">ProfilingService.hpp:60</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#l00285">ProfilingService.cpp:285</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#l00049">ProfilingService.hpp:49</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#l00273">ProfilingService.cpp:273</a></div></div>
+<div class="ttc" id="structarmnn_1_1_empty_optional_xhtml"><div class="ttname"><a href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a></div><div class="ttdoc">EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00032">Optional.hpp:32</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#l00055">ProfilingService.cpp:55</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#l00020">IProfilingConnection.hpp:20</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#l00293">ProfilingService.hpp:293</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#l00022">BufferManager.hpp:22</a></div></div>
+<div class="ttc" id="_i_local_packet_handler_8hpp_xhtml"><div class="ttname"><a href="_i_local_packet_handler_8hpp.xhtml">ILocalPacketHandler.hpp</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_service_xhtml_ad6a0ab3d6679dded1eb2e1838becf79e"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad6a0ab3d6679dded1eb2e1838becf79e">armnn::profiling::ProfilingService::GetNextGuid</a></div><div class="ttdeci">static ProfilingDynamicGuid GetNextGuid()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00024">ProfilingService.cpp:24</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#l00053">ProfilingService.hpp:53</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#l00019">ProfilingGuidGenerator.hpp:19</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#l00297">ProfilingService.hpp:297</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#l00538">ProfilingService.cpp:538</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#l00203">ProfilingService.hpp:203</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#l00212">ProfilingService.cpp:212</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="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#l00220">ProfilingService.cpp:220</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#l00137">ICounterDirectory.hpp:137</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#l00060">ProfilingService.cpp:60</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#l00235">ProfilingService.cpp:235</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#l00322">ProfilingService.cpp:322</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_deactivate_timeline_reporting_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_deactivate_timeline_reporting_command_handler.xhtml">armnn::profiling::DeactivateTimelineReportingCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_deactivate_timeline_reporting_command_handler_8hpp_source.xhtml#l00020">DeactivateTimelineReportingCommandHandler.hpp:20</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#l00038">ICounterValues.hpp:38</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 Thu Feb 25 2021 17:27:53 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>