aboutsummaryrefslogtreecommitdiff
path: root/20.02/classarmnn_1_1profiling_1_1_profiling_service.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '20.02/classarmnn_1_1profiling_1_1_profiling_service.xhtml')
-rw-r--r--20.02/classarmnn_1_1profiling_1_1_profiling_service.xhtml1437
1 files changed, 1437 insertions, 0 deletions
diff --git a/20.02/classarmnn_1_1profiling_1_1_profiling_service.xhtml b/20.02/classarmnn_1_1profiling_1_1_profiling_service.xhtml
new file mode 100644
index 0000000000..42d443082b
--- /dev/null
+++ b/20.02/classarmnn_1_1profiling_1_1_profiling_service.xhtml
@@ -0,0 +1,1437 @@
+<!-- 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: ProfilingService Class Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtreedata.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ extensions: ["tex2jax.js"],
+ jax: ["input/TeX","output/HTML-CSS"],
+});
+</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">
+ &#160;<span id="projectnumber">20.02</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ <div id="nav-sync" class="sync"></div>
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_profiling_service.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="summary">
+<a href="#pub-types">Public Types</a> &#124;
+<a href="#pub-methods">Public Member Functions</a> &#124;
+<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
+<a href="#pro-methods">Protected Member Functions</a> &#124;
+<a href="classarmnn_1_1profiling_1_1_profiling_service-members.xhtml">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">ProfilingService Class Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include &lt;<a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>&gt;</code></p>
+<div class="dynheader">
+Inheritance diagram for ProfilingService:</div>
+<div class="dyncontent">
+ <div class="center">
+ <img src="classarmnn_1_1profiling_1_1_profiling_service.png" usemap="#ProfilingService_map" alt=""/>
+ <map id="ProfilingService_map" name="ProfilingService_map">
+<area href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml" alt="IReadWriteCounterValues" shape="rect" coords="123,56,359,80"/>
+<area href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml" alt="IProfilingService" shape="rect" coords="492,56,728,80"/>
+<area href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml" alt="IReadCounterValues" shape="rect" coords="0,0,236,24"/>
+<area href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml" alt="IWriteCounterValues" shape="rect" coords="246,0,482,24"/>
+<area href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.xhtml" alt="IProfilingGuidGenerator" shape="rect" coords="492,0,728,24"/>
+<area href="classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.xhtml" alt="ProfilingServiceRuntimeHelper" shape="rect" coords="184,168,420,192"/>
+<area href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml" alt="SwapProfilingConnectionFactoryHelper" shape="rect" coords="430,168,666,192"/>
+</map>
+ </div></div>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
+Public Types</h2></td></tr>
+<tr class="memitem:a1e3ab71aae7621abd6c1a16cc71b68e0"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> = <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">IRuntime::CreationOptions::ExternalProfilingOptions</a></td></tr>
+<tr class="separator:a1e3ab71aae7621abd6c1a16cc71b68e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a7dad9d60aee962234b621096eaeb994a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a">IProfilingConnectionFactoryPtr</a> = std::unique_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> &gt;</td></tr>
+<tr class="separator:a7dad9d60aee962234b621096eaeb994a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:abb7f442bd7409c8dff2b9346fd67bce3"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3">IProfilingConnectionPtr</a> = std::unique_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> &gt;</td></tr>
+<tr class="separator:abb7f442bd7409c8dff2b9346fd67bce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a59428d9e62f7be5c7682efffce09891a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a">CounterIndices</a> = std::vector&lt; std::atomic&lt; uint32_t &gt; * &gt;</td></tr>
+<tr class="separator:a59428d9e62f7be5c7682efffce09891a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a8b4cbb2df55028789ae1901fd9d8987c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c">CounterValues</a> = std::list&lt; std::atomic&lt; uint32_t &gt; &gt;</td></tr>
+<tr class="separator:a8b4cbb2df55028789ae1901fd9d8987c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr class="memitem:ae7a3588986b93e13fda47c7ce4b0627c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ae7a3588986b93e13fda47c7ce4b0627c">ResetExternalProfilingOptions</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &amp;<a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>, bool resetProfilingService=<a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a>)</td></tr>
+<tr class="separator:ae7a3588986b93e13fda47c7ce4b0627c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a004992fdba75e298495d6b628234a4bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a004992fdba75e298495d6b628234a4bd">ConfigureProfilingService</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &amp;<a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>, bool resetProfilingService=<a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a>)</td></tr>
+<tr class="separator:a004992fdba75e298495d6b628234a4bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aec0783b5a136e042adcc47bae4fe5291"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a> ()</td></tr>
+<tr class="separator:aec0783b5a136e042adcc47bae4fe5291"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a65d18fa17ec0238d7e72f6c8f5c880b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65d18fa17ec0238d7e72f6c8f5c880b6">Disconnect</a> ()</td></tr>
+<tr class="separator:a65d18fa17ec0238d7e72f6c8f5c880b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ab156998ddd9e58d2f79567bfb70e122c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ab156998ddd9e58d2f79567bfb70e122c">AddBackendProfilingContext</a> (const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> backendId, std::shared_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_backend_profiling_context.xhtml">armnn::profiling::IBackendProfilingContext</a> &gt; profilingContext)</td></tr>
+<tr class="separator:ab156998ddd9e58d2f79567bfb70e122c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:adfaa32654e05eab63b2adc34b2138475"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adfaa32654e05eab63b2adc34b2138475">GetCounterDirectory</a> () const</td></tr>
+<tr class="separator:adfaa32654e05eab63b2adc34b2138475"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad5fffd20c7356754964d06ae73f72293"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_registry.xhtml">ICounterRegistry</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad5fffd20c7356754964d06ae73f72293">GetCounterRegistry</a> ()</td></tr>
+<tr class="separator:ad5fffd20c7356754964d06ae73f72293"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad8d263669817cf577760710ff6c96bb9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a> () const</td></tr>
+<tr class="separator:ad8d263669817cf577760710ff6c96bb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0ae21870422d53982556e0e31d6b19ee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a0ae21870422d53982556e0e31d6b19ee">IsCounterRegistered</a> (uint16_t counterUid) const override</td></tr>
+<tr class="separator:a0ae21870422d53982556e0e31d6b19ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a551aeb069aa71dd81310c7635e65e53c"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a551aeb069aa71dd81310c7635e65e53c">GetCounterValue</a> (uint16_t counterUid) const override</td></tr>
+<tr class="separator:a551aeb069aa71dd81310c7635e65e53c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad9062caad1836f8e6b810e4e97bb19d1"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a> () const override</td></tr>
+<tr class="separator:ad9062caad1836f8e6b810e4e97bb19d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aed969262d8bf6d59eb8f65fb89d47959"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.xhtml">ICounterMappings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aed969262d8bf6d59eb8f65fb89d47959">GetCounterMappings</a> () const override</td></tr>
+<tr class="separator:aed969262d8bf6d59eb8f65fb89d47959"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a04f78379965ef10275613dd265fd0607"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.xhtml">IRegisterCounterMapping</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a04f78379965ef10275613dd265fd0607">GetCounterMappingRegistry</a> ()</td></tr>
+<tr class="separator:a04f78379965ef10275613dd265fd0607"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a70db5b1cdd0d22c1fa912c6e8b9089ce">IsProfilingEnabled</a> () const override</td></tr>
+<tr class="separator:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aff23669159bfc39106dc16d50c0a6e5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aff23669159bfc39106dc16d50c0a6e5f">GetCaptureData</a> () override</td></tr>
+<tr class="separator:aff23669159bfc39106dc16d50c0a6e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a40078141c4d1216eef4215fc10d0cbbc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a40078141c4d1216eef4215fc10d0cbbc">SetCaptureData</a> (uint32_t capturePeriod, const std::vector&lt; uint16_t &gt; &amp;counterIds, const std::set&lt; <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &gt; &amp;activeBackends)</td></tr>
+<tr class="separator:a40078141c4d1216eef4215fc10d0cbbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a5468b88e2e2e65892f9589d00ed06775"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a5468b88e2e2e65892f9589d00ed06775">SetCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr>
+<tr class="separator:a5468b88e2e2e65892f9589d00ed06775"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2d1ab72611dfc67cf1b491849ea386a4"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2d1ab72611dfc67cf1b491849ea386a4">AddCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr>
+<tr class="separator:a2d1ab72611dfc67cf1b491849ea386a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2e08a9bc2818fb46503c1720562de8d7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2e08a9bc2818fb46503c1720562de8d7">SubtractCounterValue</a> (uint16_t counterUid, uint32_t value) override</td></tr>
+<tr class="separator:a2e08a9bc2818fb46503c1720562de8d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a6c2d955d387944f5b7ad37ebb435a37f"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6c2d955d387944f5b7ad37ebb435a37f">IncrementCounterValue</a> (uint16_t counterUid) override</td></tr>
+<tr class="separator:a6c2d955d387944f5b7ad37ebb435a37f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aeea32305626f921e1e9f99434dbf9049"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a> () override</td></tr>
+<tr class="memdesc:aeea32305626f921e1e9f99434dbf9049"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the next random Guid in the sequence. <a href="#aeea32305626f921e1e9f99434dbf9049">More...</a><br /></td></tr>
+<tr class="separator:aeea32305626f921e1e9f99434dbf9049"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afd19633513acfc3ae294aa90b1e13a04"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a> (const std::string &amp;str) override</td></tr>
+<tr class="memdesc:afd19633513acfc3ae294aa90b1e13a04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> based on a hash of the string. <a href="#afd19633513acfc3ae294aa90b1e13a04">More...</a><br /></td></tr>
+<tr class="separator:afd19633513acfc3ae294aa90b1e13a04"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a71c4eb6e11d491f84df504cf7f5a6337"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml">ISendTimelinePacket</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a71c4eb6e11d491f84df504cf7f5a6337">GetSendTimelinePacket</a> () const override</td></tr>
+<tr class="separator:a71c4eb6e11d491f84df504cf7f5a6337"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a28c5bcb3adea9e2476255acf1fc0647e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">ISendCounterPacket</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a28c5bcb3adea9e2476255acf1fc0647e">GetSendCounterPacket</a> () override</td></tr>
+<tr class="separator:a28c5bcb3adea9e2476255acf1fc0647e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1761b178387cbae811472267972df121"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1761b178387cbae811472267972df121">IsEnabled</a> ()</td></tr>
+<tr class="memdesc:a1761b178387cbae811472267972df121"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the profiling is enabled. <a href="#a1761b178387cbae811472267972df121">More...</a><br /></td></tr>
+<tr class="separator:a1761b178387cbae811472267972df121"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml">IReadWriteCounterValues</a></td></tr>
+<tr class="memitem:a793b09867c400487ca81505aa8ebd6cc inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml#a793b09867c400487ca81505aa8ebd6cc">~IReadWriteCounterValues</a> ()</td></tr>
+<tr class="separator:a793b09867c400487ca81505aa8ebd6cc inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_write_counter_values"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml">IReadCounterValues</a></td></tr>
+<tr class="memitem:a0ac59f90f7593e43d1d7939d2ca11a4c inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#a0ac59f90f7593e43d1d7939d2ca11a4c">~IReadCounterValues</a> ()</td></tr>
+<tr class="separator:a0ac59f90f7593e43d1d7939d2ca11a4c inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml">IWriteCounterValues</a></td></tr>
+<tr class="memitem:ae66105a7872a56f4f98e700d673bfd8b inherit pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#ae66105a7872a56f4f98e700d673bfd8b">~IWriteCounterValues</a> ()</td></tr>
+<tr class="separator:ae66105a7872a56f4f98e700d673bfd8b inherit pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml">IProfilingService</a></td></tr>
+<tr class="memitem:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#a1d441898feff66d8ac30fa1724386869">~IProfilingService</a> ()</td></tr>
+<tr class="separator:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.xhtml">IProfilingGuidGenerator</a></td></tr>
+<tr class="memitem:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.xhtml#ad19d8099ddbd9db86a34bdc756d110a8">~IProfilingGuidGenerator</a> ()</td></tr>
+<tr class="separator:ad19d8099ddbd9db86a34bdc756d110a8 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_guid_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
+Static Public Member Functions</h2></td></tr>
+<tr class="memitem:a6d016886de3596fe67dbabf107168f97"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">Instance</a> ()</td></tr>
+<tr class="separator:a6d016886de3596fe67dbabf107168f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
+Protected Member Functions</h2></td></tr>
+<tr class="memitem:aee86b9f3f64361cd1e2c052246edc44f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a> ()</td></tr>
+<tr class="separator:aee86b9f3f64361cd1e2c052246edc44f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a65bfac075d1a9b46ce6bb2ffabfde9ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a65bfac075d1a9b46ce6bb2ffabfde9ac">~ProfilingService</a> ()</td></tr>
+<tr class="separator:a65bfac075d1a9b46ce6bb2ffabfde9ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a253c6681998b98d3239d0bdf053b0e0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a253c6681998b98d3239d0bdf053b0e0f">SwapProfilingConnectionFactory</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;instance, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *other, <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *&amp;backup)</td></tr>
+<tr class="separator:a253c6681998b98d3239d0bdf053b0e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aaf454291f8070b3d7b947b1d616b93f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aaf454291f8070b3d7b947b1d616b93f9">GetProfilingConnection</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;instance)</td></tr>
+<tr class="separator:aaf454291f8070b3d7b947b1d616b93f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a34cc06a0c80d907108ee791182c55da9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a34cc06a0c80d907108ee791182c55da9">TransitionToState</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;instance, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> newState)</td></tr>
+<tr class="separator:a34cc06a0c80d907108ee791182c55da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:adc4b29d0bfe41252ef520acfa5bc897c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#adc4b29d0bfe41252ef520acfa5bc897c">WaitForPacketSent</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;instance, uint32_t timeout=1000)</td></tr>
+<tr class="separator:adc4b29d0bfe41252ef520acfa5bc897c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a4c6219fe49caa747ddfb5092f008c922"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">BufferManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a4c6219fe49caa747ddfb5092f008c922">GetBufferManager</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;instance)</td></tr>
+<tr class="separator:a4c6219fe49caa747ddfb5092f008c922"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock">
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00042">42</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+</div><h2 class="groupheader">Member Typedef Documentation</h2>
+<a id="a59428d9e62f7be5c7682efffce09891a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a59428d9e62f7be5c7682efffce09891a">&#9670;&nbsp;</a></span>CounterIndices</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a59428d9e62f7be5c7682efffce09891a">CounterIndices</a> = std::vector&lt;std::atomic&lt;uint32_t&gt;*&gt;</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00048">48</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+</div>
+</div>
+<a id="a8b4cbb2df55028789ae1901fd9d8987c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8b4cbb2df55028789ae1901fd9d8987c">&#9670;&nbsp;</a></span>CounterValues</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a8b4cbb2df55028789ae1901fd9d8987c">CounterValues</a> = std::list&lt;std::atomic&lt;uint32_t&gt; &gt;</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00049">49</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+</div>
+</div>
+<a id="a1e3ab71aae7621abd6c1a16cc71b68e0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1e3ab71aae7621abd6c1a16cc71b68e0">&#9670;&nbsp;</a></span>ExternalProfilingOptions</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> = <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml">IRuntime::CreationOptions::ExternalProfilingOptions</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00045">45</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+</div>
+</div>
+<a id="a7dad9d60aee962234b621096eaeb994a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a7dad9d60aee962234b621096eaeb994a">&#9670;&nbsp;</a></span>IProfilingConnectionFactoryPtr</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a7dad9d60aee962234b621096eaeb994a">IProfilingConnectionFactoryPtr</a> = std::unique_ptr&lt;<a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a>&gt;</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00046">46</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+</div>
+</div>
+<a id="abb7f442bd7409c8dff2b9346fd67bce3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#abb7f442bd7409c8dff2b9346fd67bce3">&#9670;&nbsp;</a></span>IProfilingConnectionPtr</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#abb7f442bd7409c8dff2b9346fd67bce3">IProfilingConnectionPtr</a> = std::unique_ptr&lt;<a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a>&gt;</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00047">47</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+</div>
+</div>
+<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
+<a id="aee86b9f3f64361cd1e2c052246edc44f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aee86b9f3f64361cd1e2c052246edc44f">&#9670;&nbsp;</a></span>ProfilingService()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00160">160</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_command_handler_registry_8cpp_source.xhtml#l00017">CommandHandlerRegistry::RegisterFunctor()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00454">ProfilingService::~ProfilingService()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00112">ProfilingService::IsEnabled()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; : m_Options()</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; , m_CounterDirectory()</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; , m_ProfilingConnectionFactory(<span class="keyword">new</span> ProfilingConnectionFactory())</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; , m_ProfilingConnection()</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; , m_StateMachine()</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; , m_CounterIndex()</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; , m_CounterValues()</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; , m_CommandHandlerRegistry()</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; , m_PacketVersionResolver()</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; , m_CommandHandler(1000,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keyword">false</span>,</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; m_CommandHandlerRegistry,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; m_PacketVersionResolver)</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; , m_BufferManager()</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; , m_SendCounterPacket(m_BufferManager)</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; , m_SendThread(m_StateMachine, m_BufferManager, m_SendCounterPacket)</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; , m_SendTimelinePacket(m_BufferManager)</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; , m_PeriodicCounterCapture(m_Holder, m_SendCounterPacket, *<span class="keyword">this</span>, m_CounterIdMap, m_BackendProfilingContexts)</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; , m_ConnectionAcknowledgedCommandHandler(0,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; 1,</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 1).<a class="code" href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; m_StateMachine)</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; , m_RequestCounterDirectoryCommandHandler(0,</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; 3,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 3).<a class="code" href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; m_StateMachine)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; , m_PeriodicCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; 4,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 4).<a class="code" href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; m_BackendProfilingContexts,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; m_CounterIdMap,</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; m_Holder,</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; MAX_ARMNN_COUNTER,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; m_PeriodicCounterCapture,</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; *<span class="keyword">this</span>,</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; m_StateMachine)</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; , m_PerJobCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; 5,</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; m_PacketVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(0, 5).<a class="code" href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(),</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; m_StateMachine)</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; , m_TimelinePacketWriterFactory(m_BufferManager)</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; , m_MaxGlobalCounterId(armnn::profiling::INFERENCES_RUN)</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="comment">// Register the &quot;Connection Acknowledged&quot; command handler</span></div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_ConnectionAcknowledgedCommandHandler);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="comment">// Register the &quot;Request Counter Directory&quot; command handler</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_RequestCounterDirectoryCommandHandler);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="comment">// Register the &quot;Periodic Counter Selection&quot; command handler</span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_PeriodicCounterSelectionCommandHandler);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="comment">// Register the &quot;Per-Job Counter Selection&quot; command handler</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; m_CommandHandlerRegistry.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">RegisterFunctor</a>(&amp;m_PerJobCounterSelectionCommandHandler);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_version_xhtml_a0ab0d5a402c197d4093cbc5fdbf81214"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">armnn::profiling::Version::GetEncodedValue</a></div><div class="ttdeci">uint32_t GetEncodedValue()</div><div class="ttdef"><b>Definition:</b> <a href="_encode_version_8hpp_source.xhtml#l00045">EncodeVersion.hpp:45</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml_ac8ad466123304f923e64997ac096926a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">armnn::profiling::PacketVersionResolver::ResolvePacketVersion</a></div><div class="ttdeci">Version ResolvePacketVersion(uint32_t familyId, uint32_t packetId) const</div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver.cpp:55</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_registry_xhtml_a7875d60ac5ca76c70f599367ec61261a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_registry.xhtml#a7875d60ac5ca76c70f599367ec61261a">armnn::profiling::CommandHandlerRegistry::RegisterFunctor</a></div><div class="ttdeci">void RegisterFunctor(CommandHandlerFunctor *functor, uint32_t familyId, uint32_t packetId, uint32_t version)</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_registry_8cpp_source.xhtml#l00017">CommandHandlerRegistry.cpp:17</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a65bfac075d1a9b46ce6bb2ffabfde9ac"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a65bfac075d1a9b46ce6bb2ffabfde9ac">&#9670;&nbsp;</a></span>~ProfilingService()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">protected</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00454">454</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00160">ProfilingService::ProfilingService()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160;{</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; Stop();</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<h2 class="groupheader">Member Function Documentation</h2>
+<a id="ab156998ddd9e58d2f79567bfb70e122c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab156998ddd9e58d2f79567bfb70e122c">&#9670;&nbsp;</a></span>AddBackendProfilingContext()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void AddBackendProfilingContext </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a>&#160;</td>
+ <td class="paramname"><em>backendId</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_backend_profiling_context.xhtml">armnn::profiling::IBackendProfilingContext</a> &gt;&#160;</td>
+ <td class="paramname"><em>profilingContext</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00191">191</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_runtime_8cpp_source.xhtml#l00155">Runtime::Runtime()</a>.</p>
+<div class="fragment"><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; BOOST_ASSERT(profilingContext != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="comment">// Register the backend counters</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; m_MaxGlobalCounterId = profilingContext-&gt;RegisterCounters(m_MaxGlobalCounterId);</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; m_BackendProfilingContexts.emplace(backendId, std::move(profilingContext));</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a2d1ab72611dfc67cf1b491849ea386a4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2d1ab72611dfc67cf1b491849ea386a4">&#9670;&nbsp;</a></span>AddCounterValue()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint32_t AddCounterValue </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t&#160;</td>
+ <td class="paramname"><em>counterUid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>value</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a4bea6d881d0a2c0ebf8779bce4050352">IWriteCounterValues</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00262">262</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00678">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;{</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;fetch_add(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a004992fdba75e298495d6b628234a4bd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a004992fdba75e298495d6b628234a4bd">&#9670;&nbsp;</a></span>ConfigureProfilingService()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> ConfigureProfilingService </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &amp;&#160;</td>
+ <td class="paramname"><em>options</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool&#160;</td>
+ <td class="paramname"><em>resetProfilingService</em> = <code><a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a></code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00039">39</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="_i_runtime_8hpp_source.xhtml#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00020">ProfilingService::ResetExternalProfilingOptions()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00089">ProfilingService::Update()</a>, and <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.xhtml#l00112">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_runtime_8cpp_source.xhtml#l00155">Runtime::Runtime()</a>, and <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00290">VerifyPostOptimisationStructureTestImpl()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;{</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ae7a3588986b93e13fda47c7ce4b0627c">ResetExternalProfilingOptions</a>(<a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>, resetProfilingService);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>.m_EnableProfiling)</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordflow">switch</span> (currentState)</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"> 49</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// should transition to NotConnected</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// will either stay in NotConnected because there is no server</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="comment">// or will enter WaitingForAck.</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">if</span> (currentState == <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// poke it again to send out the metadata packet</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// will either stay in NotConnected because there is no server</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// or will enter WaitingForAck</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordflow">if</span> (currentState == <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>)</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">Update</a>(); <span class="comment">// poke it again to send out the metadata packet</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; }</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordflow">else</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; {</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">// Make sure profiling is shutdown</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; Stop();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordflow">return</span> m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine.cpp:31</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aec0783b5a136e042adcc47bae4fe5291"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aec0783b5a136e042adcc47bae4fe5291">armnn::profiling::ProfilingService::Update</a></div><div class="ttdeci">void Update()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00089">ProfilingService.cpp:89</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ae7a3588986b93e13fda47c7ce4b0627c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ae7a3588986b93e13fda47c7ce4b0627c">armnn::profiling::ProfilingService::ResetExternalProfilingOptions</a></div><div class="ttdeci">void ResetExternalProfilingOptions(const ExternalProfilingOptions &amp;options, bool resetProfilingService=false)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00020">ProfilingService.cpp:20</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</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="_file_only_profiling_decorator_tests_8cpp_xhtml_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a65d18fa17ec0238d7e72f6c8f5c880b6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a65d18fa17ec0238d7e72f6c8f5c880b6">&#9670;&nbsp;</a></span>Disconnect()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void Disconnect </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00170">170</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::Active</a>, <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, and <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l02753">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;{</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; {</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>:</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordflow">return</span>; <span class="comment">// NOP</span></div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">ProfilingState::Active</a>:</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="comment">// Stop the command thread (if running)</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; Stop();</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; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">&quot;Unknown profiling service state: %1&quot;</span>)</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; % static_cast&lt;int&gt;(currentState)));</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;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine.cpp:31</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::ProfilingState::Active</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</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><!-- fragment -->
+</div>
+</div>
+<a id="afd19633513acfc3ae294aa90b1e13a04"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afd19633513acfc3ae294aa90b1e13a04">&#9670;&nbsp;</a></span>GenerateStaticId()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> GenerateStaticId </td>
+ <td>(</td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>str</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Create a <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> based on a hash of the string. </p>
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.xhtml#a9aff9f95b721c2dd1d229b9816261f1b">IProfilingGuidGenerator</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00291">291</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_guid_generator_8hpp_source.xhtml#l00038">ProfilingGuidGenerator::GenerateStaticId()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_timeline_packet_tests_8cpp_source.xhtml#l00396">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00148">TimelineUtilityMethods::DeclareLabel()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;{</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordflow">return</span> m_GuidGenerator.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_guid_generator.xhtml#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a>(str);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_guid_generator_xhtml_afd19633513acfc3ae294aa90b1e13a04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_guid_generator.xhtml#afd19633513acfc3ae294aa90b1e13a04">armnn::profiling::ProfilingGuidGenerator::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_guid_generator_8hpp_source.xhtml#l00038">ProfilingGuidGenerator.hpp:38</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a4c6219fe49caa747ddfb5092f008c922"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4c6219fe49caa747ddfb5092f008c922">&#9670;&nbsp;</a></span>GetBufferManager()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">BufferManager</a>&amp; GetBufferManager </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
+ <td class="paramname"><em>instance</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00249">249</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordflow">return</span> instance.m_BufferManager;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="aff23669159bfc39106dc16d50c0a6e5f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aff23669159bfc39106dc16d50c0a6e5f">&#9670;&nbsp;</a></span>GetCaptureData()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> GetCaptureData </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#ac4e831d7fe03198d15e7212c7d40c96c">IProfilingService</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00242">242</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_holder_8cpp_source.xhtml#l00054">Holder::GetCaptureData()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;{</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordflow">return</span> m_Holder.<a class="code" href="classarmnn_1_1profiling_1_1_holder.xhtml#a95c8634416821480a8140c87054718f6">GetCaptureData</a>();</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_holder_xhtml_a95c8634416821480a8140c87054718f6"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_holder.xhtml#a95c8634416821480a8140c87054718f6">armnn::profiling::Holder::GetCaptureData</a></div><div class="ttdeci">CaptureData GetCaptureData() const</div><div class="ttdef"><b>Definition:</b> <a href="_holder_8cpp_source.xhtml#l00054">Holder.cpp:54</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ad9062caad1836f8e6b810e4e97bb19d1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad9062caad1836f8e6b810e4e97bb19d1">&#9670;&nbsp;</a></span>GetCounterCount()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint16_t GetCounterCount </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#acab78d0987a9cca5a9cac957be610a7d">IReadCounterValues</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00214">214</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="src_2profiling_2_counter_directory_8hpp_source.xhtml#l00054">CounterDirectory::GetCounterCount()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><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_CounterDirectory.<a class="code" href="classarmnn_1_1profiling_1_1_counter_directory.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a>();</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_counter_directory_xhtml_ad9062caad1836f8e6b810e4e97bb19d1"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_counter_directory.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">armnn::profiling::CounterDirectory::GetCounterCount</a></div><div class="ttdeci">uint16_t GetCounterCount() const override</div><div class="ttdef"><b>Definition:</b> <a href="src_2profiling_2_counter_directory_8hpp_source.xhtml#l00054">CounterDirectory.hpp:54</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="adfaa32654e05eab63b2adc34b2138475"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adfaa32654e05eab63b2adc34b2138475">&#9670;&nbsp;</a></span>GetCounterDirectory()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a> &amp; GetCounterDirectory </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00199">199</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00655">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><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; <span class="keywordflow">return</span> m_CounterDirectory;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a04f78379965ef10275613dd265fd0607"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a04f78379965ef10275613dd265fd0607">&#9670;&nbsp;</a></span>GetCounterMappingRegistry()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.xhtml">IRegisterCounterMapping</a> &amp; GetCounterMappingRegistry </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00237">237</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_register_backend_counters_8cpp_source.xhtml#l00035">RegisterBackendCounters::RegisterCounter()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;{</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keywordflow">return</span> m_CounterIdMap;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="aed969262d8bf6d59eb8f65fb89d47959"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aed969262d8bf6d59eb8f65fb89d47959">&#9670;&nbsp;</a></span>GetCounterMappings()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.xhtml">ICounterMappings</a> &amp; GetCounterMappings </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#a743ad7374bfc124be30eebeb93206acd">IProfilingService</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00232">232</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.xhtml#l00112">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00066">BackendProfiling::GetActiveCounters()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;{</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="keywordflow">return</span> m_CounterIdMap;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="ad5fffd20c7356754964d06ae73f72293"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad5fffd20c7356754964d06ae73f72293">&#9670;&nbsp;</a></span>GetCounterRegistry()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_registry.xhtml">ICounterRegistry</a> &amp; GetCounterRegistry </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00204">204</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;{</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">return</span> m_CounterDirectory;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a551aeb069aa71dd81310c7635e65e53c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a551aeb069aa71dd81310c7635e65e53c">&#9670;&nbsp;</a></span>GetCounterValue()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint32_t GetCounterValue </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t&#160;</td>
+ <td class="paramname"><em>counterUid</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#af0092bd7f4da4a071b29bc04aec883cd">IReadCounterValues</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00224">224</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00678">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00069">while()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;{</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;load(std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="ad8d263669817cf577760710ff6c96bb9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad8d263669817cf577760710ff6c96bb9">&#9670;&nbsp;</a></span>GetCurrentState()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> GetCurrentState </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00209">209</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine::GetCurrentState()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00645">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00069">while()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;{</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordflow">return</span> m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine.cpp:31</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="aaf454291f8070b3d7b947b1d616b93f9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aaf454291f8070b3d7b947b1d616b93f9">&#9670;&nbsp;</a></span>GetProfilingConnection()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a>* GetProfilingConnection </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
+ <td class="paramname"><em>instance</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00236">236</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordflow">return</span> instance.m_ProfilingConnection.get();</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a28c5bcb3adea9e2476255acf1fc0647e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a28c5bcb3adea9e2476255acf1fc0647e">&#9670;&nbsp;</a></span>GetSendCounterPacket()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">ISendCounterPacket</a>&amp; GetSendCounterPacket </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#af39c79e2dbf841cf43cfcf1e5f2a30cb">IProfilingService</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00106">106</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; {</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">return</span> m_SendCounterPacket;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a71c4eb6e11d491f84df504cf7f5a6337"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a71c4eb6e11d491f84df504cf7f5a6337">&#9670;&nbsp;</a></span>GetSendTimelinePacket()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::unique_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml">ISendTimelinePacket</a> &gt; GetSendTimelinePacket </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#a33877b12b685ae752dc1227fe14d9441">IProfilingService</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00296">296</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_counter_directory_8cpp_source.xhtml#l00439">CounterDirectory::Clear()</a>, <a class="el" href="_timeline_packet_writer_factory_8cpp_source.xhtml#l00016">TimelinePacketWriterFactory::GetSendTimelinePacket()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00390">CounterDirectory::IsCategoryRegistered()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00425">CounterDirectory::IsCounterRegistered()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00219">ProfilingService::IsCounterRegistered()</a>, <a class="el" href="_i_counter_directory_8hpp_source.xhtml#l00125">Counter::m_Uid</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00021">CounterDirectory::RegisterCategory()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00181">CounterDirectory::RegisterCounter()</a>, <a class="el" href="_buffer_manager_8cpp_source.xhtml#l00077">BufferManager::Reset()</a>, <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00088">ProfilingStateMachine::Reset()</a>, <a class="el" href="_counter_id_map_8cpp_source.xhtml#l00024">CounterIdMap::Reset()</a>, <a class="el" href="_send_thread_8cpp_source.xhtml#l00081">SendThread::Stop()</a>, <a class="el" href="_command_handler_8cpp_source.xhtml#l00034">CommandHandler::Stop()</a>, <a class="el" href="_periodic_counter_capture_8cpp_source.xhtml#l00037">PeriodicCounterCapture::Stop()</a>, and <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00036">ProfilingStateMachine::TransitionToState()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_timeline_packet_tests_8cpp_source.xhtml#l00415">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00016">TimelineUtilityMethods::GetTimelineUtils()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;{</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keywordflow">return</span> m_TimelinePacketWriterFactory.<a class="code" href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml#a169a8836d1862bc9ed922e124e905302">GetSendTimelinePacket</a>();</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory_xhtml_a169a8836d1862bc9ed922e124e905302"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml#a169a8836d1862bc9ed922e124e905302">armnn::profiling::TimelinePacketWriterFactory::GetSendTimelinePacket</a></div><div class="ttdeci">std::unique_ptr&lt; ISendTimelinePacket &gt; GetSendTimelinePacket() const</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_packet_writer_factory_8cpp_source.xhtml#l00016">TimelinePacketWriterFactory.cpp:16</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a6c2d955d387944f5b7ad37ebb435a37f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a6c2d955d387944f5b7ad37ebb435a37f">&#9670;&nbsp;</a></span>IncrementCounterValue()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint32_t IncrementCounterValue </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t&#160;</td>
+ <td class="paramname"><em>counterUid</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a78f2b663eb502e4849edfb4bdfda71bb">IWriteCounterValues</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00278">278</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00678">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_backend_registry_8cpp_source.xhtml#l00034">BackendRegistry::Deregister()</a>, <a class="el" href="_loaded_network_8cpp_source.xhtml#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_runtime_8cpp_source.xhtml#l00061">Runtime::LoadNetwork()</a>, <a class="el" href="_backend_registry_8cpp_source.xhtml#l00019">BackendRegistry::Register()</a>, <a class="el" href="_runtime_8cpp_source.xhtml#l00105">Runtime::UnloadNetwork()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00069">while()</a>.</p>
+<div class="fragment"><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; CheckCounterUid(counterUid);</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;operator++(std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a6d016886de3596fe67dbabf107168f97"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a6d016886de3596fe67dbabf107168f97">&#9670;&nbsp;</a></span>Instance()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a>&amp; Instance </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">52</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_service_8cpp_source.xhtml#l00191">ProfilingService::AddBackendProfilingContext()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00262">ProfilingService::AddCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00039">ProfilingService::ConfigureProfilingService()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00170">ProfilingService::Disconnect()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00291">ProfilingService::GenerateStaticId()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00242">ProfilingService::GetCaptureData()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00214">ProfilingService::GetCounterCount()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00199">ProfilingService::GetCounterDirectory()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00237">ProfilingService::GetCounterMappingRegistry()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00232">ProfilingService::GetCounterMappings()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00204">ProfilingService::GetCounterRegistry()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00224">ProfilingService::GetCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00209">ProfilingService::GetCurrentState()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00296">ProfilingService::GetSendTimelinePacket()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00278">ProfilingService::IncrementCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00219">ProfilingService::IsCounterRegistered()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00034">ProfilingService::IsProfilingEnabled()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>, <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00045">options</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00020">ProfilingService::ResetExternalProfilingOptions()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00247">ProfilingService::SetCaptureData()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00254">ProfilingService::SetCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00270">ProfilingService::SubtractCounterValue()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00089">ProfilingService::Update()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.xhtml#l00112">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00336">TimelineUtilityMethods::CreateConnectionRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00231">TimelineUtilityMethods::CreateNamedTypedChildEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00321">TimelineUtilityMethods::CreateRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00148">TimelineUtilityMethods::DeclareLabel()</a>, <a class="el" href="_backend_registry_8cpp_source.xhtml#l00034">BackendRegistry::Deregister()</a>, <a class="el" href="_loaded_network_8cpp_source.xhtml#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00233">SwapProfilingConnectionFactoryHelper::ForceTransitionToState()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00066">BackendProfiling::GetActiveCounters()</a>, <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00227">SwapProfilingConnectionFactoryHelper::GetMockProfilingConnection()</a>, <a class="el" href="_profiling_test_utils_8hpp_source.xhtml#l00065">ProfilingServiceRuntimeHelper::GetProfilingBufferManager()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00016">TimelineUtilityMethods::GetTimelineUtils()</a>, <a class="el" href="_runtime_8cpp_source.xhtml#l00061">Runtime::LoadNetwork()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00362">TimelineUtilityMethods::RecordEvent()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>, <a class="el" href="_backend_registry_8cpp_source.xhtml#l00019">BackendRegistry::Register()</a>, <a class="el" href="_register_backend_counters_8cpp_source.xhtml#l00035">RegisterBackendCounters::RegisterCounter()</a>, <a class="el" href="_runtime_8cpp_source.xhtml#l00155">Runtime::Runtime()</a>, <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00207">SwapProfilingConnectionFactoryHelper::SwapProfilingConnectionFactoryHelper()</a>, <a class="el" href="_runtime_8cpp_source.xhtml#l00105">Runtime::UnloadNetwork()</a>, <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00290">VerifyPostOptimisationStructureTestImpl()</a>, <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00238">SwapProfilingConnectionFactoryHelper::WaitForPacketsSent()</a>, and <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00218">SwapProfilingConnectionFactoryHelper::~SwapProfilingConnectionFactoryHelper()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">static</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">ProfilingService</a> instance;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordflow">return</span> instance;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aee86b9f3f64361cd1e2c052246edc44f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aee86b9f3f64361cd1e2c052246edc44f">armnn::profiling::ProfilingService::ProfilingService</a></div><div class="ttdeci">ProfilingService()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00160">ProfilingService.hpp:160</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a0ae21870422d53982556e0e31d6b19ee"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0ae21870422d53982556e0e31d6b19ee">&#9670;&nbsp;</a></span>IsCounterRegistered()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool IsCounterRegistered </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t&#160;</td>
+ <td class="paramname"><em>counterUid</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#a0e2c96a05cefc72d60f5a35692a4a928">IReadCounterValues</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00219">219</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8cpp_source.xhtml#l00296">ProfilingService::GetSendTimelinePacket()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00069">while()</a>.</p>
+<div class="fragment"><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="keywordflow">return</span> counterUid &lt; m_CounterIndex.size();</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a1761b178387cbae811472267972df121"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1761b178387cbae811472267972df121">&#9670;&nbsp;</a></span>IsEnabled()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool IsEnabled </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Check if the profiling is enabled. </p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00112">112</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_i_runtime_8hpp_source.xhtml#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00160">ProfilingService::ProfilingService()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;{ <span class="keywordflow">return</span> m_Options.<a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>; }</div><div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_xhtml_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml#a26d42007440bb01a1a6d0ab3b5a657ee">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a></div><div class="ttdeci">bool m_EnableProfiling</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00070">IRuntime.hpp:70</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a70db5b1cdd0d22c1fa912c6e8b9089ce"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a70db5b1cdd0d22c1fa912c6e8b9089ce">&#9670;&nbsp;</a></span>IsProfilingEnabled()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool IsProfilingEnabled </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#a93ee1c2509b9db845936a291b575dd17">IProfilingService</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00034">34</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_i_runtime_8hpp_source.xhtml#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><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="keywordflow">return</span> m_Options.<a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;}</div><div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_xhtml_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml#a26d42007440bb01a1a6d0ab3b5a657ee">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a></div><div class="ttdeci">bool m_EnableProfiling</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00070">IRuntime.hpp:70</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="aeea32305626f921e1e9f99434dbf9049"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aeea32305626f921e1e9f99434dbf9049">&#9670;&nbsp;</a></span>NextGuid()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> NextGuid </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the next random Guid in the sequence. </p>
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_guid_generator.xhtml#a46e22ba5f91b48d2b5165648787b9ace">IProfilingGuidGenerator</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">286</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_guid_generator_8hpp_source.xhtml#l00025">ProfilingGuidGenerator::NextGuid()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_timeline_packet_tests_8cpp_source.xhtml#l00396">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00336">TimelineUtilityMethods::CreateConnectionRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00231">TimelineUtilityMethods::CreateNamedTypedChildEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00321">TimelineUtilityMethods::CreateRelationship()</a>, <a class="el" href="_loaded_network_8cpp_source.xhtml#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00362">TimelineUtilityMethods::RecordEvent()</a>, and <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;{</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keywordflow">return</span> m_GuidGenerator.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_guid_generator.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_guid_generator_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_guid_generator.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingGuidGenerator::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_guid_generator_8hpp_source.xhtml#l00025">ProfilingGuidGenerator.hpp:25</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ae7a3588986b93e13fda47c7ce4b0627c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae7a3588986b93e13fda47c7ce4b0627c">&#9670;&nbsp;</a></span>ResetExternalProfilingOptions()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ResetExternalProfilingOptions </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &amp;&#160;</td>
+ <td class="paramname"><em>options</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool&#160;</td>
+ <td class="paramname"><em>resetProfilingService</em> = <code><a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a></code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00020">20</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00045">options</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.xhtml#l00112">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00039">ProfilingService::ConfigureProfilingService()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00069">while()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;{</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="comment">// Update the profiling options</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; m_Options = <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="comment">// Check if the profiling service needs to be reset</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordflow">if</span> (resetProfilingService)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="comment">// Reset the profiling service</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; Reset();</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; }</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;}</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a40078141c4d1216eef4215fc10d0cbbc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a40078141c4d1216eef4215fc10d0cbbc">&#9670;&nbsp;</a></span>SetCaptureData()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void SetCaptureData </td>
+ <td>(</td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>capturePeriod</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::vector&lt; uint16_t &gt; &amp;&#160;</td>
+ <td class="paramname"><em>counterIds</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::set&lt; <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &gt; &amp;&#160;</td>
+ <td class="paramname"><em>activeBackends</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00247">247</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_holder_8cpp_source.xhtml#l00074">Holder::SetCaptureData()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l03245">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;{</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; m_Holder.<a class="code" href="classarmnn_1_1profiling_1_1_holder.xhtml#ae904af7c6336ceeeb95ab8435047c7cb">SetCaptureData</a>(capturePeriod, counterIds, activeBackends);</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_holder_xhtml_ae904af7c6336ceeeb95ab8435047c7cb"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_holder.xhtml#ae904af7c6336ceeeb95ab8435047c7cb">armnn::profiling::Holder::SetCaptureData</a></div><div class="ttdeci">void SetCaptureData(uint32_t capturePeriod, const std::vector&lt; uint16_t &gt; &amp;counterIds, const std::set&lt; armnn::BackendId &gt; &amp;activeBackends)</div><div class="ttdef"><b>Definition:</b> <a href="_holder_8cpp_source.xhtml#l00074">Holder.cpp:74</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a5468b88e2e2e65892f9589d00ed06775"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5468b88e2e2e65892f9589d00ed06775">&#9670;&nbsp;</a></span>SetCounterValue()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">void SetCounterValue </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t&#160;</td>
+ <td class="paramname"><em>counterUid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>value</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a4ba4a09617cccdeabacf0efafcc8f4b9">IWriteCounterValues</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00254">254</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00678">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;{</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; counterValuePtr-&gt;store(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a2e08a9bc2818fb46503c1720562de8d7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2e08a9bc2818fb46503c1720562de8d7">&#9670;&nbsp;</a></span>SubtractCounterValue()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint32_t SubtractCounterValue </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t&#160;</td>
+ <td class="paramname"><em>counterUid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>value</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a1a7730e559150a572dc27b05c96d98b9">IWriteCounterValues</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00270">270</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00678">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;{</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; BOOST_ASSERT(counterValuePtr);</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;fetch_sub(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a253c6681998b98d3239d0bdf053b0e0f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a253c6681998b98d3239d0bdf053b0e0f">&#9670;&nbsp;</a></span>SwapProfilingConnectionFactory()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">void SwapProfilingConnectionFactory </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
+ <td class="paramname"><em>instance</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *&#160;</td>
+ <td class="paramname"><em>other</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *&amp;&#160;</td>
+ <td class="paramname"><em>backup</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00226">226</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; BOOST_ASSERT(instance.m_ProfilingConnectionFactory);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; BOOST_ASSERT(other);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; backup = instance.m_ProfilingConnectionFactory.release();</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; instance.m_ProfilingConnectionFactory.reset(other);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a34cc06a0c80d907108ee791182c55da9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a34cc06a0c80d907108ee791182c55da9">&#9670;&nbsp;</a></span>TransitionToState()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">void TransitionToState </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
+ <td class="paramname"><em>instance</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a>&#160;</td>
+ <td class="paramname"><em>newState</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00240">240</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00036">ProfilingStateMachine::TransitionToState()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; {</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; instance.m_StateMachine.TransitionToState(newState);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="aec0783b5a136e042adcc47bae4fe5291"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aec0783b5a136e042adcc47bae4fe5291">&#9670;&nbsp;</a></span>Update()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void Update </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00089">89</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::Active</a>, <a class="el" href="_logging_8hpp_source.xhtml#l00163">ARMNN_LOG</a>, <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine::GetCurrentState()</a>, <a class="el" href="_i_runtime_8hpp_source.xhtml#l00070">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::NotConnected</a>, <a class="el" href="_send_thread_8cpp_source.xhtml#l00051">SendThread::Start()</a>, <a class="el" href="_command_handler_8cpp_source.xhtml#l00017">CommandHandler::Start()</a>, <a class="el" href="_send_thread_8cpp_source.xhtml#l00081">SendThread::Stop()</a>, <a class="el" href="_command_handler_8cpp_source.xhtml#l00034">CommandHandler::Stop()</a>, <a class="el" href="_periodic_counter_capture_8cpp_source.xhtml#l00037">PeriodicCounterCapture::Stop()</a>, <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00036">ProfilingStateMachine::TransitionToState()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::Uninitialised</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>, <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407a7b83d3f08fa392b79e3f553b585971cd">armnn::warning</a>, and <a class="el" href="_exceptions_8cpp_source.xhtml#l00032">Exception::what()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00645">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00039">ProfilingService::ConfigureProfilingService()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;{</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">if</span> (!m_Options.<a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="comment">// Don&#39;t run if profiling is disabled</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; }</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> currentState = m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="comment">// Initialize the profiling service</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="namespacearmnn_utils_1_1_sockets.xhtml#a248c764067ee60c03ee370784c49f353">Initialize</a>();</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="comment">// Move to the next state</span></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#a175365c95c51fb3dad223ce3f48a3ffc">TransitionToState</a>(<a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>:</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="comment">// Stop the command thread (if running)</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; m_CommandHandler.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#a17a237457e57625296e6b24feb19c60a">Stop</a>();</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="comment">// Stop the send thread (if running)</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; m_SendThread.<a class="code" href="classarmnn_1_1profiling_1_1_send_thread.xhtml#a32e1e5f33658343e4a480d37329cff38">Stop</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="comment">// Stop the periodic counter capture thread (if running)</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; m_PeriodicCounterCapture.<a class="code" href="classarmnn_1_1profiling_1_1_periodic_counter_capture.xhtml#a634c58de2126b4a4e6a2a093e60e1290">Stop</a>();</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="comment">// Reset any existing profiling connection</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; m_ProfilingConnection.reset();</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">try</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; {</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="comment">// Setup the profiling connection</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; BOOST_ASSERT(m_ProfilingConnectionFactory);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; m_ProfilingConnection = m_ProfilingConnectionFactory-&gt;GetProfilingConnection(m_Options);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; }</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">catch</span> (<span class="keyword">const</span> Exception&amp; e)</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <a class="code" href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(warning) &lt;&lt; <span class="stringliteral">&quot;An error has occurred when creating the profiling connection: &quot;</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; &lt;&lt; e.what();</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; }</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordflow">catch</span> (<span class="keyword">const</span> armnnProfiling::SocketConnectionException&amp; e)</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; <a class="code" href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(warning) &lt;&lt; <span class="stringliteral">&quot;An error has occurred when creating the profiling connection [&quot;</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; &lt;&lt; e.what() &lt;&lt; <span class="stringliteral">&quot;] on socket [&quot;</span> &lt;&lt; e.GetSocketFd() &lt;&lt; <span class="stringliteral">&quot;].&quot;</span>;</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;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="comment">// Move to the next state</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; m_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#a175365c95c51fb3dad223ce3f48a3ffc">TransitionToState</a>(m_ProfilingConnection</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; ? <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a> <span class="comment">// Profiling connection obtained, wait for ack</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; : <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">ProfilingState::NotConnected</a>); <span class="comment">// Profiling connection failed, stay in the</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="comment">// &quot;NotConnected&quot; state</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">ProfilingState::WaitingForAck</a>:</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; BOOST_ASSERT(m_ProfilingConnection);</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; <span class="comment">// Start the command thread</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; m_CommandHandler.<a class="code" href="classarmnn_1_1profiling_1_1_command_handler.xhtml#af5f886492fa5da4ff3cde1769e9da2cb">Start</a>(*m_ProfilingConnection);</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">// Start the send thread, while in &quot;WaitingForAck&quot; state it&#39;ll send out a &quot;Stream MetaData&quot; packet waiting for</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="comment">// a valid &quot;Connection Acknowledged&quot; packet confirming the connection</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; m_SendThread.<a class="code" href="classarmnn_1_1profiling_1_1_send_thread.xhtml#a160847691cc1341520cf16c11c1ec724">Start</a>(*m_ProfilingConnection);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="comment">// The connection acknowledged command handler will automatically transition the state to &quot;Active&quot; once a</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">// valid &quot;Connection Acknowledged&quot; packet has been received</span></div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">ProfilingState::Active</a>:</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="comment">// The period counter capture thread is started by the Periodic Counter Selection command handler upon</span></div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="comment">// request by an external profiling service</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">throw</span> RuntimeException(boost::str(boost::format(<span class="stringliteral">&quot;Unknown profiling service state: %1&quot;</span>)</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; % static_cast&lt;int&gt;(currentState)));</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; }</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml_ad8d263669817cf577760710ff6c96bb9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">armnn::profiling::ProfilingStateMachine::GetCurrentState</a></div><div class="ttdeci">ProfilingState GetCurrentState() const</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine.cpp:31</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_xhtml_af5f886492fa5da4ff3cde1769e9da2cb"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler.xhtml#af5f886492fa5da4ff3cde1769e9da2cb">armnn::profiling::CommandHandler::Start</a></div><div class="ttdeci">void Start(IProfilingConnection &amp;profilingConnection)</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_8cpp_source.xhtml#l00017">CommandHandler.cpp:17</a></div></div>
+<div class="ttc" id="_logging_8hpp_xhtml_a7b6ad073975f437ec38ca7d20154727f"><div class="ttname"><a href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a></div><div class="ttdeci">#define ARMNN_LOG(severity)</div><div class="ttdef"><b>Definition:</b> <a href="_logging_8hpp_source.xhtml#l00163">Logging.hpp:163</a></div></div>
+<div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_xhtml_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.xhtml#a26d42007440bb01a1a6d0ab3b5a657ee">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a></div><div class="ttdeci">bool m_EnableProfiling</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00070">IRuntime.hpp:70</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_periodic_counter_capture_xhtml_a634c58de2126b4a4e6a2a093e60e1290"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_periodic_counter_capture.xhtml#a634c58de2126b4a4e6a2a093e60e1290">armnn::profiling::PeriodicCounterCapture::Stop</a></div><div class="ttdeci">void Stop() override</div><div class="ttdef"><b>Definition:</b> <a href="_periodic_counter_capture_8cpp_source.xhtml#l00037">PeriodicCounterCapture.cpp:37</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4075072d219e061ca0f3124f8fbef463">armnn::profiling::ProfilingState::NotConnected</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::ProfilingState::Active</a></div></div>
+<div class="ttc" id="namespacearmnn_utils_1_1_sockets_xhtml_a248c764067ee60c03ee370784c49f353"><div class="ttname"><a href="namespacearmnn_utils_1_1_sockets.xhtml#a248c764067ee60c03ee370784c49f353">armnnUtils::Sockets::Initialize</a></div><div class="ttdeci">bool Initialize()</div><div class="ttdoc">Performs any required one-time setup. </div><div class="ttdef"><b>Definition:</b> <a href="_network_sockets_8cpp_source.xhtml#l00018">NetworkSockets.cpp:18</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_xhtml_a17a237457e57625296e6b24feb19c60a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler.xhtml#a17a237457e57625296e6b24feb19c60a">armnn::profiling::CommandHandler::Stop</a></div><div class="ttdeci">void Stop()</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_8cpp_source.xhtml#l00034">CommandHandler.cpp:34</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::ProfilingState::WaitingForAck</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">armnn::profiling::ProfilingState::Uninitialised</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_acb0c054138599582d5a5f537e9798806"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">armnn::profiling::ProfilingState</a></div><div class="ttdeci">ProfilingState</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8hpp_source.xhtml#l00018">ProfilingStateMachine.hpp:18</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_state_machine_xhtml_a175365c95c51fb3dad223ce3f48a3ffc"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#a175365c95c51fb3dad223ce3f48a3ffc">armnn::profiling::ProfilingStateMachine::TransitionToState</a></div><div class="ttdeci">void TransitionToState(ProfilingState newState)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_state_machine_8cpp_source.xhtml#l00036">ProfilingStateMachine.cpp:36</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_send_thread_xhtml_a32e1e5f33658343e4a480d37329cff38"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_thread.xhtml#a32e1e5f33658343e4a480d37329cff38">armnn::profiling::SendThread::Stop</a></div><div class="ttdeci">void Stop(bool rethrowSendThreadExceptions=true) override</div><div class="ttdoc">Stop the thread. </div><div class="ttdef"><b>Definition:</b> <a href="_send_thread_8cpp_source.xhtml#l00081">SendThread.cpp:81</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_send_thread_xhtml_a160847691cc1341520cf16c11c1ec724"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_send_thread.xhtml#a160847691cc1341520cf16c11c1ec724">armnn::profiling::SendThread::Start</a></div><div class="ttdeci">void Start(IProfilingConnection &amp;profilingConnection) override</div><div class="ttdoc">Start the thread. </div><div class="ttdef"><b>Definition:</b> <a href="_send_thread_8cpp_source.xhtml#l00051">SendThread.cpp:51</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="adc4b29d0bfe41252ef520acfa5bc897c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adc4b29d0bfe41252ef520acfa5bc897c">&#9670;&nbsp;</a></span>WaitForPacketSent()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool WaitForPacketSent </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
+ <td class="paramname"><em>instance</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>timeout</em> = <code>1000</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00244">244</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_send_thread_8cpp_source.xhtml#l00262">SendThread::WaitForPacketSent()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00238">SwapProfilingConnectionFactoryHelper::WaitForPacketsSent()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; {</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">return</span> instance.m_SendThread.WaitForPacketSent(timeout);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; }</div></div><!-- fragment -->
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following files:<ul>
+<li>src/profiling/<a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a></li>
+<li>src/profiling/<a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a></li>
+</ul>
+</div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1profiling.xhtml">profiling</a></li><li class="navelem"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a></li>
+ <li class="footer">Generated on Fri Mar 13 2020 16:09:21 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>