blob: 53ebee28b35d00a8b112688bb9e22b52ecd6b9d9 [file] [log] [blame]
Nikhil Raj9aed8fb2021-11-17 13:16:45 +00001<!-- Copyright (c) 2020 ARM Limited. -->
2<!-- -->
3<!-- SPDX-License-Identifier: MIT -->
4<!-- -->
5<!-- HTML header for doxygen 1.8.13-->
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7<html xmlns="http://www.w3.org/1999/xhtml">
8<head>
9<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
10<meta http-equiv="X-UA-Compatible" content="IE=9"/>
11<meta name="generator" content="Doxygen 1.8.13"/>
12<meta name="robots" content="NOINDEX, NOFOLLOW" />
13<meta name="viewport" content="width=device-width, initial-scale=1"/>
14<title>ArmNN: ProfilingService Class Reference</title>
15<link href="tabs.css" rel="stylesheet" type="text/css"/>
16<script type="text/javascript" src="jquery.js"></script>
17<script type="text/javascript" src="dynsections.js"></script>
18<link href="navtree.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="resize.js"></script>
20<script type="text/javascript" src="navtreedata.js"></script>
21<script type="text/javascript" src="navtree.js"></script>
22<script type="text/javascript">
23 $(document).ready(initResizable);
24</script>
25<link href="search/search.css" rel="stylesheet" type="text/css"/>
26<script type="text/javascript" src="search/searchdata.js"></script>
27<script type="text/javascript" src="search/search.js"></script>
28<script type="text/x-mathjax-config">
29 MathJax.Hub.Config({
30 extensions: ["tex2jax.js"],
31 jax: ["input/TeX","output/HTML-CSS"],
32});
33</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
34<link href="doxygen.css" rel="stylesheet" type="text/css" />
35<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
36</head>
37<body>
38<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
39<div id="titlearea">
40<table cellspacing="0" cellpadding="0">
41 <tbody>
42 <tr style="height: 56px;">
43 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
44 <td style="padding-left: 0.5em;">
45 <div id="projectname">
46 &#160;<span id="projectnumber">21.11</span>
47 </div>
48 </td>
49 </tr>
50 </tbody>
51</table>
52</div>
53<!-- end header part -->
54<!-- Generated by Doxygen 1.8.13 -->
55<script type="text/javascript">
56var searchBox = new SearchBox("searchBox", "search",false,'Search');
57</script>
58<script type="text/javascript" src="menudata.js"></script>
59<script type="text/javascript" src="menu.js"></script>
60<script type="text/javascript">
61$(function() {
62 initMenu('',true,false,'search.php','Search');
63 $(document).ready(function() { init_search(); });
64});
65</script>
66<div id="main-nav"></div>
67</div><!-- top -->
68<div id="side-nav" class="ui-resizable side-nav-resizable">
69 <div id="nav-tree">
70 <div id="nav-tree-contents">
71 <div id="nav-sync" class="sync"></div>
72 </div>
73 </div>
74 <div id="splitbar" style="-moz-user-select:none;"
75 class="ui-resizable-handle">
76 </div>
77</div>
78<script type="text/javascript">
79$(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_profiling_service.xhtml','');});
80</script>
81<div id="doc-content">
82<!-- window showing the filter options -->
83<div id="MSearchSelectWindow"
84 onmouseover="return searchBox.OnSearchSelectShow()"
85 onmouseout="return searchBox.OnSearchSelectHide()"
86 onkeydown="return searchBox.OnSearchSelectKey(event)">
87</div>
88
89<!-- iframe showing the search results (closed by default) -->
90<div id="MSearchResultsWindow">
91<iframe src="javascript:void(0)" frameborder="0"
92 name="MSearchResults" id="MSearchResults">
93</iframe>
94</div>
95
96<div class="header">
97 <div class="summary">
98<a href="#pub-types">Public Types</a> &#124;
99<a href="#pub-methods">Public Member Functions</a> &#124;
100<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
101<a href="#pro-methods">Protected Member Functions</a> &#124;
102<a href="classarmnn_1_1profiling_1_1_profiling_service-members.xhtml">List of all members</a> </div>
103 <div class="headertitle">
104<div class="title">ProfilingService Class Reference</div> </div>
105</div><!--header-->
106<div class="contents">
107
108<p><code>#include &lt;<a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>&gt;</code></p>
109<div class="dynheader">
110Inheritance diagram for ProfilingService:</div>
111<div class="dyncontent">
112 <div class="center">
113 <img src="classarmnn_1_1profiling_1_1_profiling_service.png" usemap="#ProfilingService_map" alt=""/>
114 <map id="ProfilingService_map" name="ProfilingService_map">
115<area href="classarmnn_1_1profiling_1_1_i_read_write_counter_values.xhtml" alt="IReadWriteCounterValues" shape="rect" coords="123,56,359,80"/>
116<area href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml" alt="IProfilingService" shape="rect" coords="615,56,851,80"/>
117<area href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml" alt="INotifyBackends" shape="rect" coords="861,56,1097,80"/>
118<area href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml" alt="IReadCounterValues" shape="rect" coords="0,0,236,24"/>
119<area href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml" alt="IWriteCounterValues" shape="rect" coords="246,0,482,24"/>
120<area href="classarmnn_1_1profiling_1_1_i_profiling_service_status.xhtml" alt="IProfilingServiceStatus" shape="rect" coords="738,0,974,24"/>
121<area href="classarmnn_1_1profiling_1_1_mock_profiling_service.xhtml" alt="MockProfilingService" shape="rect" coords="369,168,605,192"/>
122<area href="classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.xhtml" alt="ProfilingServiceRuntimeHelper" shape="rect" coords="615,168,851,192"/>
123<area href="classarmnn_1_1profiling_1_1_swap_profiling_connection_factory_helper.xhtml" alt="SwapProfilingConnectionFactoryHelper" shape="rect" coords="861,168,1097,192"/>
124</map>
125 </div></div>
126<table class="memberdecls">
127<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
128Public Types</h2></td></tr>
129<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>
130<tr class="separator:a1e3ab71aae7621abd6c1a16cc71b68e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
131<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>
132<tr class="separator:a7dad9d60aee962234b621096eaeb994a"><td class="memSeparator" colspan="2">&#160;</td></tr>
133<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>
134<tr class="separator:abb7f442bd7409c8dff2b9346fd67bce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
135<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>
136<tr class="separator:a59428d9e62f7be5c7682efffce09891a"><td class="memSeparator" colspan="2">&#160;</td></tr>
137<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>
138<tr class="separator:a8b4cbb2df55028789ae1901fd9d8987c"><td class="memSeparator" colspan="2">&#160;</td></tr>
139<tr class="memitem:ad74ddc9fd5e95754c376d5472ff8159b"><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#ad74ddc9fd5e95754c376d5472ff8159b">BackendProfilingContext</a> = std::unordered_map&lt; <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a>, std::shared_ptr&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_backend_profiling_context.xhtml">armnn::profiling::IBackendProfilingContext</a> &gt; &gt;</td></tr>
140<tr class="separator:ad74ddc9fd5e95754c376d5472ff8159b"><td class="memSeparator" colspan="2">&#160;</td></tr>
141</table><table class="memberdecls">
142<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
143Public Member Functions</h2></td></tr>
144<tr class="memitem:a6088be651ed3e55053d5b4a24100e6d2"><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#a6088be651ed3e55053d5b4a24100e6d2">ProfilingService</a> (<a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_report_structure.xhtml">IReportStructure</a> &amp;&gt; reportStructure=<a class="el" href="structarmnn_1_1_empty_optional.xhtml">EmptyOptional</a>())</td></tr>
145<tr class="separator:a6088be651ed3e55053d5b4a24100e6d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
146<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>
147<tr class="separator:a65bfac075d1a9b46ce6bb2ffabfde9ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
148<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;options, bool resetProfilingService=false)</td></tr>
149<tr class="separator:ae7a3588986b93e13fda47c7ce4b0627c"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<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;options, bool resetProfilingService=false)</td></tr>
151<tr class="separator:a004992fdba75e298495d6b628234a4bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
152<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>
153<tr class="separator:aec0783b5a136e042adcc47bae4fe5291"><td class="memSeparator" colspan="2">&#160;</td></tr>
154<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>
155<tr class="separator:a65d18fa17ec0238d7e72f6c8f5c880b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
156<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>
157<tr class="separator:ab156998ddd9e58d2f79567bfb70e122c"><td class="memSeparator" colspan="2">&#160;</td></tr>
158<tr class="memitem:a0213410b7af3116277901a1e87bb96ee"><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#a0213410b7af3116277901a1e87bb96ee">NotifyBackendsForTimelineReporting</a> () override</td></tr>
159<tr class="separator:a0213410b7af3116277901a1e87bb96ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
160<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>
161<tr class="separator:adfaa32654e05eab63b2adc34b2138475"><td class="memSeparator" colspan="2">&#160;</td></tr>
162<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>
163<tr class="separator:ad5fffd20c7356754964d06ae73f72293"><td class="memSeparator" colspan="2">&#160;</td></tr>
164<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>
165<tr class="separator:ad8d263669817cf577760710ff6c96bb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
166<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>
167<tr class="separator:a0ae21870422d53982556e0e31d6b19ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
168<tr class="memitem:a5a8454419fcb43e456ad6ad1b2143402"><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#a5a8454419fcb43e456ad6ad1b2143402">GetAbsoluteCounterValue</a> (uint16_t counterUid) const override</td></tr>
169<tr class="separator:a5a8454419fcb43e456ad6ad1b2143402"><td class="memSeparator" colspan="2">&#160;</td></tr>
170<tr class="memitem:a8f9bcec7e9c0fb2fe463c120a0fb43fe"><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#a8f9bcec7e9c0fb2fe463c120a0fb43fe">GetDeltaCounterValue</a> (uint16_t counterUid) override</td></tr>
171<tr class="separator:a8f9bcec7e9c0fb2fe463c120a0fb43fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
172<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>
173<tr class="separator:ad9062caad1836f8e6b810e4e97bb19d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
174<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>
175<tr class="separator:aed969262d8bf6d59eb8f65fb89d47959"><td class="memSeparator" colspan="2">&#160;</td></tr>
176<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>
177<tr class="separator:a04f78379965ef10275613dd265fd0607"><td class="memSeparator" colspan="2">&#160;</td></tr>
178<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>
179<tr class="separator:a70db5b1cdd0d22c1fa912c6e8b9089ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
180<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>
181<tr class="separator:aff23669159bfc39106dc16d50c0a6e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
182<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>
183<tr class="separator:a40078141c4d1216eef4215fc10d0cbbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
184<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>
185<tr class="separator:a5468b88e2e2e65892f9589d00ed06775"><td class="memSeparator" colspan="2">&#160;</td></tr>
186<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>
187<tr class="separator:a2d1ab72611dfc67cf1b491849ea386a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
188<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>
189<tr class="separator:a2e08a9bc2818fb46503c1720562de8d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
190<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>
191<tr class="separator:a6c2d955d387944f5b7ad37ebb435a37f"><td class="memSeparator" colspan="2">&#160;</td></tr>
192<tr class="memitem:aeea32305626f921e1e9f99434dbf9049"><td class="memItemLeft" align="right" valign="top">ProfilingDynamicGuid&#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>
193<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>
194<tr class="separator:aeea32305626f921e1e9f99434dbf9049"><td class="memSeparator" colspan="2">&#160;</td></tr>
195<tr class="memitem:afd19633513acfc3ae294aa90b1e13a04"><td class="memItemLeft" align="right" valign="top">ProfilingStaticGuid&#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>
196<tr class="memdesc:afd19633513acfc3ae294aa90b1e13a04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a ProfilingStaticGuid based on a hash of the string. <a href="#afd19633513acfc3ae294aa90b1e13a04">More...</a><br /></td></tr>
197<tr class="separator:afd19633513acfc3ae294aa90b1e13a04"><td class="memSeparator" colspan="2">&#160;</td></tr>
198<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>
199<tr class="separator:a71c4eb6e11d491f84df504cf7f5a6337"><td class="memSeparator" colspan="2">&#160;</td></tr>
200<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>
201<tr class="separator:a28c5bcb3adea9e2476255acf1fc0647e"><td class="memSeparator" colspan="2">&#160;</td></tr>
202<tr class="memitem:a3ae86439d5449553c50941ff3ecc3d97"><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#a3ae86439d5449553c50941ff3ecc3d97">ResetGuidGenerator</a> ()</td></tr>
203<tr class="separator:a3ae86439d5449553c50941ff3ecc3d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
204<tr class="memitem:a8c2670ec96f23799ba3c4b5620e06b66"><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#a8c2670ec96f23799ba3c4b5620e06b66">IsTimelineReportingEnabled</a> ()</td></tr>
205<tr class="separator:a8c2670ec96f23799ba3c4b5620e06b66"><td class="memSeparator" colspan="2">&#160;</td></tr>
206<tr class="memitem:ac84eb9eb1d10764a565b0847e6825204"><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#ac84eb9eb1d10764a565b0847e6825204">AddLocalPacketHandler</a> (<a class="el" href="namespacearmnn_1_1profiling.xhtml#a96b0827ffefa36d7ec2b4ac34a922d12">ILocalPacketHandlerSharedPtr</a> localPacketHandler)</td></tr>
207<tr class="separator:ac84eb9eb1d10764a565b0847e6825204"><td class="memSeparator" colspan="2">&#160;</td></tr>
208<tr class="memitem:aa969a672380904e127264c3a8b27504b"><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#aa969a672380904e127264c3a8b27504b">NotifyProfilingServiceActive</a> () override</td></tr>
209<tr class="separator:aa969a672380904e127264c3a8b27504b"><td class="memSeparator" colspan="2">&#160;</td></tr>
210<tr class="memitem:a80a0e4644a0be7b00bc581cb786d5a4f"><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#a80a0e4644a0be7b00bc581cb786d5a4f">WaitForProfilingServiceActivation</a> (unsigned int timeout) override</td></tr>
211<tr class="separator:a80a0e4644a0be7b00bc581cb786d5a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
212<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>
213<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>
214<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>
215<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>
216<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>
217<tr class="separator:a0ac59f90f7593e43d1d7939d2ca11a4c inherit pub_methods_classarmnn_1_1profiling_1_1_i_read_counter_values"><td class="memSeparator" colspan="2">&#160;</td></tr>
218<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>
219<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>
220<tr class="separator:ae66105a7872a56f4f98e700d673bfd8b inherit pub_methods_classarmnn_1_1profiling_1_1_i_write_counter_values"><td class="memSeparator" colspan="2">&#160;</td></tr>
221<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>
222<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>
223<tr class="separator:a1d441898feff66d8ac30fa1724386869 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
224<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service_status"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service_status')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service_status.xhtml">IProfilingServiceStatus</a></td></tr>
225<tr class="memitem:af4bf449fcf364b0af33d8ddb33029687 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service_status"><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_status.xhtml#af4bf449fcf364b0af33d8ddb33029687">~IProfilingServiceStatus</a> ()</td></tr>
226<tr class="separator:af4bf449fcf364b0af33d8ddb33029687 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_service_status"><td class="memSeparator" colspan="2">&#160;</td></tr>
227<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_notify_backends"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_notify_backends')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml">INotifyBackends</a></td></tr>
228<tr class="memitem:a7924cd151bcaeb450e380ce38d10c61f inherit pub_methods_classarmnn_1_1profiling_1_1_i_notify_backends"><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_notify_backends.xhtml#a7924cd151bcaeb450e380ce38d10c61f">~INotifyBackends</a> ()</td></tr>
229<tr class="separator:a7924cd151bcaeb450e380ce38d10c61f inherit pub_methods_classarmnn_1_1profiling_1_1_i_notify_backends"><td class="memSeparator" colspan="2">&#160;</td></tr>
230</table><table class="memberdecls">
231<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
232Static Public Member Functions</h2></td></tr>
233<tr class="memitem:ad6a0ab3d6679dded1eb2e1838becf79e"><td class="memItemLeft" align="right" valign="top">static ProfilingDynamicGuid&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad6a0ab3d6679dded1eb2e1838becf79e">GetNextGuid</a> ()</td></tr>
234<tr class="separator:ad6a0ab3d6679dded1eb2e1838becf79e"><td class="memSeparator" colspan="2">&#160;</td></tr>
235<tr class="memitem:a881aa03d7b35e6d0acd783f2aaa22ac9"><td class="memItemLeft" align="right" valign="top">static ProfilingStaticGuid&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a881aa03d7b35e6d0acd783f2aaa22ac9">GetStaticId</a> (const std::string &amp;str)</td></tr>
236<tr class="separator:a881aa03d7b35e6d0acd783f2aaa22ac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
237</table><table class="memberdecls">
238<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
239Protected Member Functions</h2></td></tr>
240<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>
241<tr class="separator:a253c6681998b98d3239d0bdf053b0e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
242<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>
243<tr class="separator:aaf454291f8070b3d7b947b1d616b93f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
244<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>
245<tr class="separator:a34cc06a0c80d907108ee791182c55da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
246<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>
247<tr class="separator:adc4b29d0bfe41252ef520acfa5bc897c"><td class="memSeparator" colspan="2">&#160;</td></tr>
248<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>
249<tr class="separator:a4c6219fe49caa747ddfb5092f008c922"><td class="memSeparator" colspan="2">&#160;</td></tr>
250</table>
251<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
252<div class="textblock">
253<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00050">50</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
254</div><h2 class="groupheader">Member Typedef Documentation</h2>
255<a id="ad74ddc9fd5e95754c376d5472ff8159b"></a>
256<h2 class="memtitle"><span class="permalink"><a href="#ad74ddc9fd5e95754c376d5472ff8159b">&#9670;&nbsp;</a></span>BackendProfilingContext</h2>
257
258<div class="memitem">
259<div class="memproto">
260 <table class="memname">
261 <tr>
262 <td class="memname">using <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad74ddc9fd5e95754c376d5472ff8159b">BackendProfilingContext</a> = std::unordered_map&lt;<a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a>, std::shared_ptr&lt;<a class="el" href="classarmnn_1_1profiling_1_1_i_backend_profiling_context.xhtml">armnn::profiling::IBackendProfilingContext</a>&gt; &gt;</td>
263 </tr>
264 </table>
265</div><div class="memdoc">
266
267<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00059">59</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
268
269</div>
270</div>
271<a id="a59428d9e62f7be5c7682efffce09891a"></a>
272<h2 class="memtitle"><span class="permalink"><a href="#a59428d9e62f7be5c7682efffce09891a">&#9670;&nbsp;</a></span>CounterIndices</h2>
273
274<div class="memitem">
275<div class="memproto">
276 <table class="memname">
277 <tr>
278 <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>
279 </tr>
280 </table>
281</div><div class="memdoc">
282
283<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00056">56</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
284
285</div>
286</div>
287<a id="a8b4cbb2df55028789ae1901fd9d8987c"></a>
288<h2 class="memtitle"><span class="permalink"><a href="#a8b4cbb2df55028789ae1901fd9d8987c">&#9670;&nbsp;</a></span>CounterValues</h2>
289
290<div class="memitem">
291<div class="memproto">
292 <table class="memname">
293 <tr>
294 <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>
295 </tr>
296 </table>
297</div><div class="memdoc">
298
299<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00057">57</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
300
301</div>
302</div>
303<a id="a1e3ab71aae7621abd6c1a16cc71b68e0"></a>
304<h2 class="memtitle"><span class="permalink"><a href="#a1e3ab71aae7621abd6c1a16cc71b68e0">&#9670;&nbsp;</a></span>ExternalProfilingOptions</h2>
305
306<div class="memitem">
307<div class="memproto">
308 <table class="memname">
309 <tr>
310 <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>
311 </tr>
312 </table>
313</div><div class="memdoc">
314
315<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00053">53</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
316
317</div>
318</div>
319<a id="a7dad9d60aee962234b621096eaeb994a"></a>
320<h2 class="memtitle"><span class="permalink"><a href="#a7dad9d60aee962234b621096eaeb994a">&#9670;&nbsp;</a></span>IProfilingConnectionFactoryPtr</h2>
321
322<div class="memitem">
323<div class="memproto">
324 <table class="memname">
325 <tr>
326 <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>
327 </tr>
328 </table>
329</div><div class="memdoc">
330
331<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00054">54</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
332
333</div>
334</div>
335<a id="abb7f442bd7409c8dff2b9346fd67bce3"></a>
336<h2 class="memtitle"><span class="permalink"><a href="#abb7f442bd7409c8dff2b9346fd67bce3">&#9670;&nbsp;</a></span>IProfilingConnectionPtr</h2>
337
338<div class="memitem">
339<div class="memproto">
340 <table class="memname">
341 <tr>
342 <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>
343 </tr>
344 </table>
345</div><div class="memdoc">
346
347<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00055">55</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
348
349</div>
350</div>
351<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
352<a id="a6088be651ed3e55053d5b4a24100e6d2"></a>
353<h2 class="memtitle"><span class="permalink"><a href="#a6088be651ed3e55053d5b4a24100e6d2">&#9670;&nbsp;</a></span>ProfilingService()</h2>
354
355<div class="memitem">
356<div class="memproto">
357<table class="mlabels">
358 <tr>
359 <td class="mlabels-left">
360 <table class="memname">
361 <tr>
362 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> </td>
363 <td>(</td>
364 <td class="paramtype"><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>&lt; <a class="el" href="classarmnn_1_1profiling_1_1_i_report_structure.xhtml">IReportStructure</a> &amp;&gt;&#160;</td>
365 <td class="paramname"><em>reportStructure</em> = <code><a class="el" href="structarmnn_1_1_empty_optional.xhtml">EmptyOptional</a>()</code></td><td>)</td>
366 <td></td>
367 </tr>
368 </table>
369 </td>
370 <td class="mlabels-right">
371<span class="mlabels"><span class="mlabel">inline</span></span> </td>
372 </tr>
373</table>
374</div><div class="memdoc">
375
376<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">61</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
377
378<p class="reference">References <a class="el" href="_profiling_service_8cpp_source.xhtml#l00214">ProfilingService::AddBackendProfilingContext()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00295">ProfilingService::AddCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00062">ProfilingService::ConfigureProfilingService()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00193">ProfilingService::Disconnect()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00324">ProfilingService::GenerateStaticId()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00247">ProfilingService::GetAbsoluteCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00275">ProfilingService::GetCaptureData()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00237">ProfilingService::GetCounterCount()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00222">ProfilingService::GetCounterDirectory()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00270">ProfilingService::GetCounterMappingRegistry()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00265">ProfilingService::GetCounterMappings()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00227">ProfilingService::GetCounterRegistry()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00232">ProfilingService::GetCurrentState()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00255">ProfilingService::GetDeltaCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00329">ProfilingService::GetSendTimelinePacket()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00311">ProfilingService::IncrementCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00242">ProfilingService::IsCounterRegistered()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00057">ProfilingService::IsProfilingEnabled()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00319">ProfilingService::NextGuid()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00495">ProfilingService::NotifyBackendsForTimelineReporting()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00041">ProfilingService::ResetExternalProfilingOptions()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00280">ProfilingService::SetCaptureData()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00287">ProfilingService::SetCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00303">ProfilingService::SubtractCounterValue()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00112">ProfilingService::Update()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00540">ProfilingService::~ProfilingService()</a>.</p>
379
380<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00215">ProfilingService::IsTimelineReportingEnabled()</a>.</p>
381<div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; : m_Options()</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; , m_TimelineReporting(<span class="keyword">false</span>)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; , m_CounterDirectory()</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; , m_ProfilingConnectionFactory(<span class="keyword">new</span> ProfilingConnectionFactory())</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; , m_ProfilingConnection()</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; , m_StateMachine()</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; , m_CounterIndex()</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; , m_CounterValues()</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; , m_CommandHandlerRegistry()</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; , m_PacketVersionResolver()</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; , m_CommandHandler(1000,</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">false</span>,</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; m_CommandHandlerRegistry,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; m_PacketVersionResolver)</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; , m_BufferManager()</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; , m_SendCounterPacket(m_BufferManager)</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; , m_SendThread(m_StateMachine, m_BufferManager, m_SendCounterPacket)</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; , m_SendTimelinePacket(m_BufferManager)</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; , m_PeriodicCounterCapture(m_Holder, m_SendCounterPacket, *<span class="keyword">this</span>, m_CounterIdMap, m_BackendProfilingContexts)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; , m_ConnectionAcknowledgedCommandHandler(0,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; 1,</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 1).GetEncodedValue(),</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; m_StateMachine,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; *<span class="keyword">this</span>,</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; m_BackendProfilingContexts)</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; , m_RequestCounterDirectoryCommandHandler(0,</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; 3,</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 3).GetEncodedValue(),</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; m_CounterDirectory,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; m_StateMachine)</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; , m_PeriodicCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; 4,</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 4).GetEncodedValue(),</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; m_BackendProfilingContexts,</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; m_CounterIdMap,</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; m_Holder,</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; MAX_ARMNN_COUNTER,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; m_PeriodicCounterCapture,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; *<span class="keyword">this</span>,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; m_SendCounterPacket,</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; m_StateMachine)</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; , m_PerJobCounterSelectionCommandHandler(0,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; 5,</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 5).GetEncodedValue(),</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; m_StateMachine)</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; , m_ActivateTimelineReportingCommandHandler(0,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; 6,</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 6)</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; .GetEncodedValue(),</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; m_SendTimelinePacket,</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; m_StateMachine,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; reportStructure,</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; m_TimelineReporting,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; *<span class="keyword">this</span>)</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; , m_DeactivateTimelineReportingCommandHandler(0,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; 7,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; m_PacketVersionResolver.ResolvePacketVersion(0, 7)</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; .GetEncodedValue(),</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; m_TimelineReporting,</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; m_StateMachine,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; *<span class="keyword">this</span>)</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; , m_TimelinePacketWriterFactory(m_BufferManager)</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; , m_MaxGlobalCounterId(armnn::profiling::INFERENCES_RUN)</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; , m_ServiceActive(<span class="keyword">false</span>)</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="comment">// Register the &quot;Connection Acknowledged&quot; command handler</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_ConnectionAcknowledgedCommandHandler);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="comment">// Register the &quot;Request Counter Directory&quot; command handler</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_RequestCounterDirectoryCommandHandler);</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">// Register the &quot;Periodic Counter Selection&quot; command handler</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_PeriodicCounterSelectionCommandHandler);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="comment">// Register the &quot;Per-Job Counter Selection&quot; command handler</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_PerJobCounterSelectionCommandHandler);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_ActivateTimelineReportingCommandHandler);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; m_CommandHandlerRegistry.RegisterFunctor(&amp;m_DeactivateTimelineReportingCommandHandler);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; }</div></div><!-- fragment -->
382</div>
383</div>
384<a id="a65bfac075d1a9b46ce6bb2ffabfde9ac"></a>
385<h2 class="memtitle"><span class="permalink"><a href="#a65bfac075d1a9b46ce6bb2ffabfde9ac">&#9670;&nbsp;</a></span>~ProfilingService()</h2>
386
387<div class="memitem">
388<div class="memproto">
389 <table class="memname">
390 <tr>
391 <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> </td>
392 <td>(</td>
393 <td class="paramname"></td><td>)</td>
394 <td></td>
395 </tr>
396 </table>
397</div><div class="memdoc">
398
399<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00540">540</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
400
401<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
402<div class="fragment"><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;{</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; Stop();</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160;}</div></div><!-- fragment -->
403</div>
404</div>
405<h2 class="groupheader">Member Function Documentation</h2>
406<a id="ab156998ddd9e58d2f79567bfb70e122c"></a>
407<h2 class="memtitle"><span class="permalink"><a href="#ab156998ddd9e58d2f79567bfb70e122c">&#9670;&nbsp;</a></span>AddBackendProfilingContext()</h2>
408
409<div class="memitem">
410<div class="memproto">
411 <table class="memname">
412 <tr>
413 <td class="memname">void AddBackendProfilingContext </td>
414 <td>(</td>
415 <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a>&#160;</td>
416 <td class="paramname"><em>backendId</em>, </td>
417 </tr>
418 <tr>
419 <td class="paramkey"></td>
420 <td></td>
421 <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>
422 <td class="paramname"><em>profilingContext</em>&#160;</td>
423 </tr>
424 <tr>
425 <td></td>
426 <td>)</td>
427 <td></td><td></td>
428 </tr>
429 </table>
430</div><div class="memdoc">
431
432<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>
433
434<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>.</p>
435
436<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_runtime_8cpp_source.xhtml#l00291">RuntimeImpl::RuntimeImpl()</a>.</p>
437<div class="fragment"><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; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(profilingContext != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="comment">// Register the backend counters</span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; m_MaxGlobalCounterId = profilingContext-&gt;RegisterCounters(m_MaxGlobalCounterId);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; m_BackendProfilingContexts.emplace(backendId, std::move(profilingContext));</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;}</div><div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
438</div><!-- fragment -->
439</div>
440</div>
441<a id="a2d1ab72611dfc67cf1b491849ea386a4"></a>
442<h2 class="memtitle"><span class="permalink"><a href="#a2d1ab72611dfc67cf1b491849ea386a4">&#9670;&nbsp;</a></span>AddCounterValue()</h2>
443
444<div class="memitem">
445<div class="memproto">
446<table class="mlabels">
447 <tr>
448 <td class="mlabels-left">
449 <table class="memname">
450 <tr>
451 <td class="memname">uint32_t AddCounterValue </td>
452 <td>(</td>
453 <td class="paramtype">uint16_t&#160;</td>
454 <td class="paramname"><em>counterUid</em>, </td>
455 </tr>
456 <tr>
457 <td class="paramkey"></td>
458 <td></td>
459 <td class="paramtype">uint32_t&#160;</td>
460 <td class="paramname"><em>value</em>&#160;</td>
461 </tr>
462 <tr>
463 <td></td>
464 <td>)</td>
465 <td></td><td></td>
466 </tr>
467 </table>
468 </td>
469 <td class="mlabels-right">
470<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
471 </tr>
472</table>
473</div><div class="memdoc">
474
475<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a4bea6d881d0a2c0ebf8779bce4050352">IWriteCounterValues</a>.</p>
476
477<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00295">295</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
478
479<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>.</p>
480
481<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
482<div class="fragment"><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;{</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(counterValuePtr);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;fetch_add(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;}</div><div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
483</div><!-- fragment -->
484</div>
485</div>
486<a id="ac84eb9eb1d10764a565b0847e6825204"></a>
487<h2 class="memtitle"><span class="permalink"><a href="#ac84eb9eb1d10764a565b0847e6825204">&#9670;&nbsp;</a></span>AddLocalPacketHandler()</h2>
488
489<div class="memitem">
490<div class="memproto">
491 <table class="memname">
492 <tr>
493 <td class="memname">void AddLocalPacketHandler </td>
494 <td>(</td>
495 <td class="paramtype"><a class="el" href="namespacearmnn_1_1profiling.xhtml#a96b0827ffefa36d7ec2b4ac34a922d12">ILocalPacketHandlerSharedPtr</a>&#160;</td>
496 <td class="paramname"><em>localPacketHandler</em></td><td>)</td>
497 <td></td>
498 </tr>
499 </table>
500</div><div class="memdoc">
501
502<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00215">ProfilingService::IsTimelineReportingEnabled()</a>.</p>
503
504</div>
505</div>
506<a id="a004992fdba75e298495d6b628234a4bd"></a>
507<h2 class="memtitle"><span class="permalink"><a href="#a004992fdba75e298495d6b628234a4bd">&#9670;&nbsp;</a></span>ConfigureProfilingService()</h2>
508
509<div class="memitem">
510<div class="memproto">
511 <table class="memname">
512 <tr>
513 <td class="memname"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> ConfigureProfilingService </td>
514 <td>(</td>
515 <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &amp;&#160;</td>
516 <td class="paramname"><em>options</em>, </td>
517 </tr>
518 <tr>
519 <td class="paramkey"></td>
520 <td></td>
521 <td class="paramtype">bool&#160;</td>
522 <td class="paramname"><em>resetProfilingService</em> = <code>false</code>&#160;</td>
523 </tr>
524 <tr>
525 <td></td>
526 <td>)</td>
527 <td></td><td></td>
528 </tr>
529 </table>
530</div><div class="memdoc">
531
532<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00062">62</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
533
534<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#l00169">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#l00041">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#l00112">ProfilingService::Update()</a>, and <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a1dc1edc76d5b3c0325f00002f4c841f5">armnn::profiling::WaitingForAck</a>.</p>
535
536<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, <a class="el" href="_runtime_8cpp_source.xhtml#l00291">RuntimeImpl::RuntimeImpl()</a>, and <a class="el" href="_backend_profiling_tests_8cpp_source.xhtml#l00114">TEST_SUITE()</a>.</p>
537<div class="fragment"><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#ae7a3588986b93e13fda47c7ce4b0627c">ResetExternalProfilingOptions</a>(options, resetProfilingService);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</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="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">if</span> (options.m_EnableProfiling)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</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="l00073"></a><span class="lineno"> 73</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="l00074"></a><span class="lineno"> 74</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="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// or will enter WaitingForAck.</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</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="l00077"></a><span class="lineno"> 77</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="l00078"></a><span class="lineno"> 78</span>&#160; {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</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="l00080"></a><span class="lineno"> 80</span>&#160; }</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</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="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</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="l00084"></a><span class="lineno"> 84</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="l00085"></a><span class="lineno"> 85</span>&#160; <span class="comment">// or will enter WaitingForAck</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</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="l00087"></a><span class="lineno"> 87</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="l00088"></a><span class="lineno"> 88</span>&#160; {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</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="l00090"></a><span class="lineno"> 90</span>&#160; }</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</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="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">return</span> currentState;</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; <span class="keywordflow">else</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="comment">// Make sure profiling is shutdown</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">switch</span> (currentState)</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="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</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="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordflow">return</span> currentState;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; Stop();</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</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="l00108"></a><span class="lineno"> 108</span>&#160; }</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;}</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>
538<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#l00112">ProfilingService.cpp:112</a></div></div>
539<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>
540<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#l00041">ProfilingService.cpp:41</a></div></div>
541<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>
542<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>
543<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>
544</div><!-- fragment -->
545</div>
546</div>
547<a id="a65d18fa17ec0238d7e72f6c8f5c880b6"></a>
548<h2 class="memtitle"><span class="permalink"><a href="#a65d18fa17ec0238d7e72f6c8f5c880b6">&#9670;&nbsp;</a></span>Disconnect()</h2>
549
550<div class="memitem">
551<div class="memproto">
552 <table class="memname">
553 <tr>
554 <td class="memname">void Disconnect </td>
555 <td>(</td>
556 <td class="paramname"></td><td>)</td>
557 <td></td>
558 </tr>
559 </table>
560</div><div class="memdoc">
561
562<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00193">193</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
563
564<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>
565
566<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
567<div class="fragment"><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;{</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</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="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordflow">switch</span> (currentState)</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; {</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</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="l00199"></a><span class="lineno"> 199</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="l00200"></a><span class="lineno"> 200</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="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordflow">return</span>; <span class="comment">// NOP</span></div><div class="line"><a name="l00202"></a><span class="lineno"> 202</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="l00203"></a><span class="lineno"> 203</span>&#160; <span class="comment">// Stop the command thread (if running)</span></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; Stop();</div><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">break</span>;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordflow">throw</span> RuntimeException(fmt::format(<span class="stringliteral">&quot;Unknown profiling service state: {}&quot;</span>,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; static_cast&lt;int&gt;(currentState)));</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;}</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>
568<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>
569<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>
570<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>
571<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>
572<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>
573</div><!-- fragment -->
574</div>
575</div>
576<a id="afd19633513acfc3ae294aa90b1e13a04"></a>
577<h2 class="memtitle"><span class="permalink"><a href="#afd19633513acfc3ae294aa90b1e13a04">&#9670;&nbsp;</a></span>GenerateStaticId()</h2>
578
579<div class="memitem">
580<div class="memproto">
581<table class="mlabels">
582 <tr>
583 <td class="mlabels-left">
584 <table class="memname">
585 <tr>
586 <td class="memname">ProfilingStaticGuid GenerateStaticId </td>
587 <td>(</td>
588 <td class="paramtype">const std::string &amp;&#160;</td>
589 <td class="paramname"><em>str</em></td><td>)</td>
590 <td></td>
591 </tr>
592 </table>
593 </td>
594 <td class="mlabels-right">
595<span class="mlabels"><span class="mlabel">override</span></span> </td>
596 </tr>
597</table>
598</div><div class="memdoc">
599
600<p>Create a ProfilingStaticGuid based on a hash of the string. </p>
601
602<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00324">324</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
603
604<p class="reference">References <a class="el" href="_profiling_service_8cpp_source.xhtml#l00031">ProfilingService::GetStaticId()</a>.</p>
605
606<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
607<div class="fragment"><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;{</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a881aa03d7b35e6d0acd783f2aaa22ac9">ProfilingService::GetStaticId</a>(str);</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a881aa03d7b35e6d0acd783f2aaa22ac9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a881aa03d7b35e6d0acd783f2aaa22ac9">armnn::profiling::ProfilingService::GetStaticId</a></div><div class="ttdeci">static ProfilingStaticGuid GetStaticId(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00031">ProfilingService.cpp:31</a></div></div>
608</div><!-- fragment -->
609</div>
610</div>
611<a id="a5a8454419fcb43e456ad6ad1b2143402"></a>
612<h2 class="memtitle"><span class="permalink"><a href="#a5a8454419fcb43e456ad6ad1b2143402">&#9670;&nbsp;</a></span>GetAbsoluteCounterValue()</h2>
613
614<div class="memitem">
615<div class="memproto">
616<table class="mlabels">
617 <tr>
618 <td class="mlabels-left">
619 <table class="memname">
620 <tr>
621 <td class="memname">uint32_t GetAbsoluteCounterValue </td>
622 <td>(</td>
623 <td class="paramtype">uint16_t&#160;</td>
624 <td class="paramname"><em>counterUid</em></td><td>)</td>
625 <td> const</td>
626 </tr>
627 </table>
628 </td>
629 <td class="mlabels-right">
630<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
631 </tr>
632</table>
633</div><div class="memdoc">
634
635<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#a03314ab6bef471fc1155fec64491cc3f">IReadCounterValues</a>.</p>
636
637<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>
638
639<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>.</p>
640
641<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
642<div class="fragment"><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;{</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(counterValuePtr);</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;load(std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;}</div><div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
643</div><!-- fragment -->
644</div>
645</div>
646<a id="a4c6219fe49caa747ddfb5092f008c922"></a>
647<h2 class="memtitle"><span class="permalink"><a href="#a4c6219fe49caa747ddfb5092f008c922">&#9670;&nbsp;</a></span>GetBufferManager()</h2>
648
649<div class="memitem">
650<div class="memproto">
651<table class="mlabels">
652 <tr>
653 <td class="mlabels-left">
654 <table class="memname">
655 <tr>
656 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">BufferManager</a>&amp; GetBufferManager </td>
657 <td>(</td>
658 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
659 <td class="paramname"><em>instance</em></td><td>)</td>
660 <td></td>
661 </tr>
662 </table>
663 </td>
664 <td class="mlabels-right">
665<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
666 </tr>
667</table>
668</div><div class="memdoc">
669
670<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00307">307</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
671<div class="fragment"><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordflow">return</span> instance.m_BufferManager;</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; }</div></div><!-- fragment -->
672</div>
673</div>
674<a id="aff23669159bfc39106dc16d50c0a6e5f"></a>
675<h2 class="memtitle"><span class="permalink"><a href="#aff23669159bfc39106dc16d50c0a6e5f">&#9670;&nbsp;</a></span>GetCaptureData()</h2>
676
677<div class="memitem">
678<div class="memproto">
679<table class="mlabels">
680 <tr>
681 <td class="mlabels-left">
682 <table class="memname">
683 <tr>
684 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_capture_data.xhtml">CaptureData</a> GetCaptureData </td>
685 <td>(</td>
686 <td class="paramname"></td><td>)</td>
687 <td></td>
688 </tr>
689 </table>
690 </td>
691 <td class="mlabels-right">
692<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
693 </tr>
694</table>
695</div><div class="memdoc">
696
697<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#ac4e831d7fe03198d15e7212c7d40c96c">IProfilingService</a>.</p>
698
699<p>Reimplemented in <a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.xhtml#aff23669159bfc39106dc16d50c0a6e5f">MockProfilingService</a>.</p>
700
701<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00275">275</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
702
703<p class="reference">References <a class="el" href="_holder_8cpp_source.xhtml#l00054">Holder::GetCaptureData()</a>.</p>
704
705<p class="reference">Referenced by <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00067">BackendProfiling::GetActiveCounters()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00051">BackendProfiling::GetCounterStatus()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
706<div class="fragment"><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;{</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</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="l00278"></a><span class="lineno"> 278</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>
707</div><!-- fragment -->
708</div>
709</div>
710<a id="ad9062caad1836f8e6b810e4e97bb19d1"></a>
711<h2 class="memtitle"><span class="permalink"><a href="#ad9062caad1836f8e6b810e4e97bb19d1">&#9670;&nbsp;</a></span>GetCounterCount()</h2>
712
713<div class="memitem">
714<div class="memproto">
715<table class="mlabels">
716 <tr>
717 <td class="mlabels-left">
718 <table class="memname">
719 <tr>
720 <td class="memname">uint16_t GetCounterCount </td>
721 <td>(</td>
722 <td class="paramname"></td><td>)</td>
723 <td> const</td>
724 </tr>
725 </table>
726 </td>
727 <td class="mlabels-right">
728<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
729 </tr>
730</table>
731</div><div class="memdoc">
732
733<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#acab78d0987a9cca5a9cac957be610a7d">IReadCounterValues</a>.</p>
734
735<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>
736
737<p class="reference">References <a class="el" href="src_2profiling_2_counter_directory_8hpp_source.xhtml#l00054">CounterDirectory::GetCounterCount()</a>.</p>
738
739<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
740<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_CounterDirectory.<a class="code" href="classarmnn_1_1profiling_1_1_counter_directory.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a>();</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</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>
741</div><!-- fragment -->
742</div>
743</div>
744<a id="adfaa32654e05eab63b2adc34b2138475"></a>
745<h2 class="memtitle"><span class="permalink"><a href="#adfaa32654e05eab63b2adc34b2138475">&#9670;&nbsp;</a></span>GetCounterDirectory()</h2>
746
747<div class="memitem">
748<div class="memproto">
749 <table class="memname">
750 <tr>
751 <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a> &amp; GetCounterDirectory </td>
752 <td>(</td>
753 <td class="paramname"></td><td>)</td>
754 <td> const</td>
755 </tr>
756 </table>
757</div><div class="memdoc">
758
759<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00222">222</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
760
761<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
762<div class="fragment"><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;{</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordflow">return</span> m_CounterDirectory;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;}</div></div><!-- fragment -->
763</div>
764</div>
765<a id="a04f78379965ef10275613dd265fd0607"></a>
766<h2 class="memtitle"><span class="permalink"><a href="#a04f78379965ef10275613dd265fd0607">&#9670;&nbsp;</a></span>GetCounterMappingRegistry()</h2>
767
768<div class="memitem">
769<div class="memproto">
770 <table class="memname">
771 <tr>
772 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_register_counter_mapping.xhtml">IRegisterCounterMapping</a> &amp; GetCounterMappingRegistry </td>
773 <td>(</td>
774 <td class="paramname"></td><td>)</td>
775 <td></td>
776 </tr>
777 </table>
778</div><div class="memdoc">
779
780<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>
781
782<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_register_backend_counters_8cpp_source.xhtml#l00035">RegisterBackendCounters::RegisterCounter()</a>.</p>
783<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; <span class="keywordflow">return</span> m_CounterIdMap;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;}</div></div><!-- fragment -->
784</div>
785</div>
786<a id="aed969262d8bf6d59eb8f65fb89d47959"></a>
787<h2 class="memtitle"><span class="permalink"><a href="#aed969262d8bf6d59eb8f65fb89d47959">&#9670;&nbsp;</a></span>GetCounterMappings()</h2>
788
789<div class="memitem">
790<div class="memproto">
791<table class="mlabels">
792 <tr>
793 <td class="mlabels-left">
794 <table class="memname">
795 <tr>
796 <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_mappings.xhtml">ICounterMappings</a> &amp; GetCounterMappings </td>
797 <td>(</td>
798 <td class="paramname"></td><td>)</td>
799 <td> const</td>
800 </tr>
801 </table>
802 </td>
803 <td class="mlabels-right">
804<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
805 </tr>
806</table>
807</div><div class="memdoc">
808
809<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#a743ad7374bfc124be30eebeb93206acd">IProfilingService</a>.</p>
810
811<p>Reimplemented in <a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.xhtml#a37bec1c830464c365aa4434edd0de35a">MockProfilingService</a>.</p>
812
813<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00265">265</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
814
815<p class="reference">Referenced by <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00067">BackendProfiling::GetActiveCounters()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00051">BackendProfiling::GetCounterStatus()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00033">BackendProfiling::ReportCounters()</a>, and <a class="el" href="_backend_profiling_tests_8cpp_source.xhtml#l00114">TEST_SUITE()</a>.</p>
816<div class="fragment"><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;{</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="keywordflow">return</span> m_CounterIdMap;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;}</div></div><!-- fragment -->
817</div>
818</div>
819<a id="ad5fffd20c7356754964d06ae73f72293"></a>
820<h2 class="memtitle"><span class="permalink"><a href="#ad5fffd20c7356754964d06ae73f72293">&#9670;&nbsp;</a></span>GetCounterRegistry()</h2>
821
822<div class="memitem">
823<div class="memproto">
824 <table class="memname">
825 <tr>
826 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_registry.xhtml">ICounterRegistry</a> &amp; GetCounterRegistry </td>
827 <td>(</td>
828 <td class="paramname"></td><td>)</td>
829 <td></td>
830 </tr>
831 </table>
832</div><div class="memdoc">
833
834<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00227">227</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
835
836<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
837<div class="fragment"><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;{</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keywordflow">return</span> m_CounterDirectory;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;}</div></div><!-- fragment -->
838</div>
839</div>
840<a id="ad8d263669817cf577760710ff6c96bb9"></a>
841<h2 class="memtitle"><span class="permalink"><a href="#ad8d263669817cf577760710ff6c96bb9">&#9670;&nbsp;</a></span>GetCurrentState()</h2>
842
843<div class="memitem">
844<div class="memproto">
845 <table class="memname">
846 <tr>
847 <td class="memname"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a> GetCurrentState </td>
848 <td>(</td>
849 <td class="paramname"></td><td>)</td>
850 <td> const</td>
851 </tr>
852 </table>
853</div><div class="memdoc">
854
855<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>
856
857<p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00031">ProfilingStateMachine::GetCurrentState()</a>.</p>
858
859<p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00018">TimelineUtilityMethods::GetTimelineUtils()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
860<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_StateMachine.<a class="code" href="classarmnn_1_1profiling_1_1_profiling_state_machine.xhtml#ad8d263669817cf577760710ff6c96bb9">GetCurrentState</a>();</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</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>
861</div><!-- fragment -->
862</div>
863</div>
864<a id="a8f9bcec7e9c0fb2fe463c120a0fb43fe"></a>
865<h2 class="memtitle"><span class="permalink"><a href="#a8f9bcec7e9c0fb2fe463c120a0fb43fe">&#9670;&nbsp;</a></span>GetDeltaCounterValue()</h2>
866
867<div class="memitem">
868<div class="memproto">
869<table class="mlabels">
870 <tr>
871 <td class="mlabels-left">
872 <table class="memname">
873 <tr>
874 <td class="memname">uint32_t GetDeltaCounterValue </td>
875 <td>(</td>
876 <td class="paramtype">uint16_t&#160;</td>
877 <td class="paramname"><em>counterUid</em></td><td>)</td>
878 <td></td>
879 </tr>
880 </table>
881 </td>
882 <td class="mlabels-right">
883<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
884 </tr>
885</table>
886</div><div class="memdoc">
887
888<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#a4d2478902a75d38fd9acd57829d125f3">IReadCounterValues</a>.</p>
889
890<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00255">255</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
891
892<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00303">ProfilingService::SubtractCounterValue()</a>.</p>
893
894<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
895<div class="fragment"><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;{</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(counterValuePtr);</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <span class="keyword">const</span> uint32_t counterValue = counterValuePtr-&gt;load(std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2e08a9bc2818fb46503c1720562de8d7">SubtractCounterValue</a>(counterUid, counterValue);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">return</span> counterValue;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a2e08a9bc2818fb46503c1720562de8d7"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a2e08a9bc2818fb46503c1720562de8d7">armnn::profiling::ProfilingService::SubtractCounterValue</a></div><div class="ttdeci">uint32_t SubtractCounterValue(uint16_t counterUid, uint32_t value) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00303">ProfilingService.cpp:303</a></div></div>
896<div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
897</div><!-- fragment -->
898</div>
899</div>
900<a id="ad6a0ab3d6679dded1eb2e1838becf79e"></a>
901<h2 class="memtitle"><span class="permalink"><a href="#ad6a0ab3d6679dded1eb2e1838becf79e">&#9670;&nbsp;</a></span>GetNextGuid()</h2>
902
903<div class="memitem">
904<div class="memproto">
905<table class="mlabels">
906 <tr>
907 <td class="mlabels-left">
908 <table class="memname">
909 <tr>
910 <td class="memname">ProfilingDynamicGuid GetNextGuid </td>
911 <td>(</td>
912 <td class="paramname"></td><td>)</td>
913 <td></td>
914 </tr>
915 </table>
916 </td>
917 <td class="mlabels-right">
918<span class="mlabels"><span class="mlabel">static</span></span> </td>
919 </tr>
920</table>
921</div><div class="memdoc">
922
923<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00026">26</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
924
925<p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00347">TimelineUtilityMethods::CreateConnectionRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00237">TimelineUtilityMethods::CreateNamedTypedChildEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00102">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00330">TimelineUtilityMethods::CreateRelationship()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00204">ProfilingService::GetSendCounterPacket()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00188">TimelineUtilityMethods::MarkEntityWithLabel()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00213">TimelineUtilityMethods::MarkEntityWithType()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00319">ProfilingService::NextGuid()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00372">TimelineUtilityMethods::RecordEvent()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00399">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>, and <a class="el" href="_send_timeline_packet_tests_8cpp_source.xhtml#l00025">TEST_SUITE()</a>.</p>
926<div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keywordflow">return</span> m_GuidGenerator.NextGuid();</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div></div><!-- fragment -->
927</div>
928</div>
929<a id="aaf454291f8070b3d7b947b1d616b93f9"></a>
930<h2 class="memtitle"><span class="permalink"><a href="#aaf454291f8070b3d7b947b1d616b93f9">&#9670;&nbsp;</a></span>GetProfilingConnection()</h2>
931
932<div class="memitem">
933<div class="memproto">
934<table class="mlabels">
935 <tr>
936 <td class="mlabels-left">
937 <table class="memname">
938 <tr>
939 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a>* GetProfilingConnection </td>
940 <td>(</td>
941 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
942 <td class="paramname"><em>instance</em></td><td>)</td>
943 <td></td>
944 </tr>
945 </table>
946 </td>
947 <td class="mlabels-right">
948<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
949 </tr>
950</table>
951</div><div class="memdoc">
952
953<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00294">294</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
954<div class="fragment"><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; {</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordflow">return</span> instance.m_ProfilingConnection.get();</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; }</div></div><!-- fragment -->
955</div>
956</div>
957<a id="a28c5bcb3adea9e2476255acf1fc0647e"></a>
958<h2 class="memtitle"><span class="permalink"><a href="#a28c5bcb3adea9e2476255acf1fc0647e">&#9670;&nbsp;</a></span>GetSendCounterPacket()</h2>
959
960<div class="memitem">
961<div class="memproto">
962<table class="mlabels">
963 <tr>
964 <td class="mlabels-left">
965 <table class="memname">
966 <tr>
967 <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_i_send_counter_packet.xhtml">ISendCounterPacket</a>&amp; GetSendCounterPacket </td>
968 <td>(</td>
969 <td class="paramname"></td><td>)</td>
970 <td></td>
971 </tr>
972 </table>
973 </td>
974 <td class="mlabels-right">
975<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
976 </tr>
977</table>
978</div><div class="memdoc">
979
980<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#af39c79e2dbf841cf43cfcf1e5f2a30cb">IProfilingService</a>.</p>
981
982<p>Reimplemented in <a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.xhtml#a28c5bcb3adea9e2476255acf1fc0647e">MockProfilingService</a>.</p>
983
984<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00204">204</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
985
986<p class="reference">References <a class="el" href="_profiling_service_8cpp_source.xhtml#l00026">ProfilingService::GetNextGuid()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00031">ProfilingService::GetStaticId()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00036">ProfilingService::ResetGuidGenerator()</a>.</p>
987
988<p class="reference">Referenced by <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00033">BackendProfiling::ReportCounters()</a>.</p>
989<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_SendCounterPacket;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; }</div></div><!-- fragment -->
990</div>
991</div>
992<a id="a71c4eb6e11d491f84df504cf7f5a6337"></a>
993<h2 class="memtitle"><span class="permalink"><a href="#a71c4eb6e11d491f84df504cf7f5a6337">&#9670;&nbsp;</a></span>GetSendTimelinePacket()</h2>
994
995<div class="memitem">
996<div class="memproto">
997<table class="mlabels">
998 <tr>
999 <td class="mlabels-left">
1000 <table class="memname">
1001 <tr>
1002 <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>
1003 <td>(</td>
1004 <td class="paramname"></td><td>)</td>
1005 <td> const</td>
1006 </tr>
1007 </table>
1008 </td>
1009 <td class="mlabels-right">
1010<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1011 </tr>
1012</table>
1013</div><div class="memdoc">
1014
1015<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#a33877b12b685ae752dc1227fe14d9441">IProfilingService</a>.</p>
1016
1017<p>Reimplemented in <a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.xhtml#a81f774c9319ff5d5b5bf4875e816d989">MockProfilingService</a>.</p>
1018
1019<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00329">329</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1020
1021<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>, <a class="el" href="_backend_registry_8cpp_source.xhtml#l00013">armnn::BackendRegistryInstance()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00438">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#l00389">CounterDirectory::IsCategoryRegistered()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00424">CounterDirectory::IsCounterRegistered()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00242">ProfilingService::IsCounterRegistered()</a>, <a class="el" href="_i_counter_directory_8hpp_source.xhtml#l00123">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#l00023">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#l00104">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="_profiling_service_8cpp_source.xhtml#l00287">ProfilingService::SetCounterValue()</a>, <a class="el" href="_send_thread_8cpp_source.xhtml#l00079">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>
1022
1023<p class="reference">Referenced by <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00022">BackendProfiling::GetSendTimelinePacket()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00018">TimelineUtilityMethods::GetTimelineUtils()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_send_timeline_packet_tests_8cpp_source.xhtml#l00025">TEST_SUITE()</a>.</p>
1024<div class="fragment"><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;{</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</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="l00332"></a><span class="lineno"> 332</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>
1025</div><!-- fragment -->
1026</div>
1027</div>
1028<a id="a881aa03d7b35e6d0acd783f2aaa22ac9"></a>
1029<h2 class="memtitle"><span class="permalink"><a href="#a881aa03d7b35e6d0acd783f2aaa22ac9">&#9670;&nbsp;</a></span>GetStaticId()</h2>
1030
1031<div class="memitem">
1032<div class="memproto">
1033<table class="mlabels">
1034 <tr>
1035 <td class="mlabels-left">
1036 <table class="memname">
1037 <tr>
1038 <td class="memname">ProfilingStaticGuid GetStaticId </td>
1039 <td>(</td>
1040 <td class="paramtype">const std::string &amp;&#160;</td>
1041 <td class="paramname"><em>str</em></td><td>)</td>
1042 <td></td>
1043 </tr>
1044 </table>
1045 </td>
1046 <td class="mlabels-right">
1047<span class="mlabels"><span class="mlabel">static</span></span> </td>
1048 </tr>
1049</table>
1050</div><div class="memdoc">
1051
1052<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00031">31</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1053
1054<p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00170">TimelineUtilityMethods::DeclareLabel()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00324">ProfilingService::GenerateStaticId()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00204">ProfilingService::GetSendCounterPacket()</a>, <a class="el" href="_send_timeline_packet_tests_8cpp_source.xhtml#l00025">TEST_SUITE()</a>, and <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00102">VerifyTimelineLabelBinaryPacketData()</a>.</p>
1055<div class="fragment"><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordflow">return</span> m_GuidGenerator.GenerateStaticId(str);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;}</div></div><!-- fragment -->
1056</div>
1057</div>
1058<a id="a6c2d955d387944f5b7ad37ebb435a37f"></a>
1059<h2 class="memtitle"><span class="permalink"><a href="#a6c2d955d387944f5b7ad37ebb435a37f">&#9670;&nbsp;</a></span>IncrementCounterValue()</h2>
1060
1061<div class="memitem">
1062<div class="memproto">
1063<table class="mlabels">
1064 <tr>
1065 <td class="mlabels-left">
1066 <table class="memname">
1067 <tr>
1068 <td class="memname">uint32_t IncrementCounterValue </td>
1069 <td>(</td>
1070 <td class="paramtype">uint16_t&#160;</td>
1071 <td class="paramname"><em>counterUid</em></td><td>)</td>
1072 <td></td>
1073 </tr>
1074 </table>
1075 </td>
1076 <td class="mlabels-right">
1077<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1078 </tr>
1079</table>
1080</div><div class="memdoc">
1081
1082<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a78f2b663eb502e4849edfb4bdfda71bb">IWriteCounterValues</a>.</p>
1083
1084<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00311">311</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1085
1086<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>.</p>
1087
1088<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
1089<div class="fragment"><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;{</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(counterValuePtr);</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;operator++(std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;}</div><div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
1090</div><!-- fragment -->
1091</div>
1092</div>
1093<a id="a0ae21870422d53982556e0e31d6b19ee"></a>
1094<h2 class="memtitle"><span class="permalink"><a href="#a0ae21870422d53982556e0e31d6b19ee">&#9670;&nbsp;</a></span>IsCounterRegistered()</h2>
1095
1096<div class="memitem">
1097<div class="memproto">
1098<table class="mlabels">
1099 <tr>
1100 <td class="mlabels-left">
1101 <table class="memname">
1102 <tr>
1103 <td class="memname">bool IsCounterRegistered </td>
1104 <td>(</td>
1105 <td class="paramtype">uint16_t&#160;</td>
1106 <td class="paramname"><em>counterUid</em></td><td>)</td>
1107 <td> const</td>
1108 </tr>
1109 </table>
1110 </td>
1111 <td class="mlabels-right">
1112<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1113 </tr>
1114</table>
1115</div><div class="memdoc">
1116
1117<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_read_counter_values.xhtml#a0e2c96a05cefc72d60f5a35692a4a928">IReadCounterValues</a>.</p>
1118
1119<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>
1120
1121<p class="reference">References <a class="el" href="_counter_directory_8cpp_source.xhtml#l00424">CounterDirectory::IsCounterRegistered()</a>.</p>
1122
1123<p class="reference">Referenced by <a class="el" href="_profiling_service_8cpp_source.xhtml#l00329">ProfilingService::GetSendTimelinePacket()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
1124<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_CounterDirectory.<a class="code" href="classarmnn_1_1profiling_1_1_counter_directory.xhtml#abd87d40b4a54b7e1625cb765768553b9">IsCounterRegistered</a>(counterUid);</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_counter_directory_xhtml_abd87d40b4a54b7e1625cb765768553b9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_counter_directory.xhtml#abd87d40b4a54b7e1625cb765768553b9">armnn::profiling::CounterDirectory::IsCounterRegistered</a></div><div class="ttdeci">bool IsCounterRegistered(uint16_t counterUid) const</div><div class="ttdef"><b>Definition:</b> <a href="_counter_directory_8cpp_source.xhtml#l00424">CounterDirectory.cpp:424</a></div></div>
1125</div><!-- fragment -->
1126</div>
1127</div>
1128<a id="a70db5b1cdd0d22c1fa912c6e8b9089ce"></a>
1129<h2 class="memtitle"><span class="permalink"><a href="#a70db5b1cdd0d22c1fa912c6e8b9089ce">&#9670;&nbsp;</a></span>IsProfilingEnabled()</h2>
1130
1131<div class="memitem">
1132<div class="memproto">
1133<table class="mlabels">
1134 <tr>
1135 <td class="mlabels-left">
1136 <table class="memname">
1137 <tr>
1138 <td class="memname">bool IsProfilingEnabled </td>
1139 <td>(</td>
1140 <td class="paramname"></td><td>)</td>
1141 <td> const</td>
1142 </tr>
1143 </table>
1144 </td>
1145 <td class="mlabels-right">
1146<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1147 </tr>
1148</table>
1149</div><div class="memdoc">
1150
1151<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service.xhtml#a93ee1c2509b9db845936a291b575dd17">IProfilingService</a>.</p>
1152
1153<p>Reimplemented in <a class="el" href="classarmnn_1_1profiling_1_1_mock_profiling_service.xhtml#a70db5b1cdd0d22c1fa912c6e8b9089ce">MockProfilingService</a>.</p>
1154
1155<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00057">57</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1156
1157<p class="reference">References <a class="el" href="_i_runtime_8hpp_source.xhtml#l00169">IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a>.</p>
1158
1159<p class="reference">Referenced by <a class="el" href="_backend_profiling_8cpp_source.xhtml#l00090">BackendProfiling::IsProfilingEnabled()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
1160<div class="fragment"><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;{</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</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="l00060"></a><span class="lineno"> 60</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="ttdoc">Indicates whether external profiling is enabled or not. </div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00169">IRuntime.hpp:169</a></div></div>
1161</div><!-- fragment -->
1162</div>
1163</div>
1164<a id="a8c2670ec96f23799ba3c4b5620e06b66"></a>
1165<h2 class="memtitle"><span class="permalink"><a href="#a8c2670ec96f23799ba3c4b5620e06b66">&#9670;&nbsp;</a></span>IsTimelineReportingEnabled()</h2>
1166
1167<div class="memitem">
1168<div class="memproto">
1169<table class="mlabels">
1170 <tr>
1171 <td class="mlabels-left">
1172 <table class="memname">
1173 <tr>
1174 <td class="memname">bool IsTimelineReportingEnabled </td>
1175 <td>(</td>
1176 <td class="paramname"></td><td>)</td>
1177 <td></td>
1178 </tr>
1179 </table>
1180 </td>
1181 <td class="mlabels-right">
1182<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1183 </tr>
1184</table>
1185</div><div class="memdoc">
1186
1187<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00215">215</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
1188
1189<p class="reference">References <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ac84eb9eb1d10764a565b0847e6825204">ProfilingService::AddLocalPacketHandler()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00507">ProfilingService::NotifyProfilingServiceActive()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00516">ProfilingService::WaitForProfilingServiceActivation()</a>.</p>
1190
1191<p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00018">TimelineUtilityMethods::GetTimelineUtils()</a>.</p>
1192<div class="fragment"><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="keywordflow">return</span> m_TimelineReporting;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; }</div></div><!-- fragment -->
1193</div>
1194</div>
1195<a id="aeea32305626f921e1e9f99434dbf9049"></a>
1196<h2 class="memtitle"><span class="permalink"><a href="#aeea32305626f921e1e9f99434dbf9049">&#9670;&nbsp;</a></span>NextGuid()</h2>
1197
1198<div class="memitem">
1199<div class="memproto">
1200<table class="mlabels">
1201 <tr>
1202 <td class="mlabels-left">
1203 <table class="memname">
1204 <tr>
1205 <td class="memname">ProfilingDynamicGuid NextGuid </td>
1206 <td>(</td>
1207 <td class="paramname"></td><td>)</td>
1208 <td></td>
1209 </tr>
1210 </table>
1211 </td>
1212 <td class="mlabels-right">
1213<span class="mlabels"><span class="mlabel">override</span></span> </td>
1214 </tr>
1215</table>
1216</div><div class="memdoc">
1217
1218<p>Return the next random Guid in the sequence. </p>
1219
1220<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00319">319</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1221
1222<p class="reference">References <a class="el" href="_profiling_service_8cpp_source.xhtml#l00026">ProfilingService::GetNextGuid()</a>.</p>
1223
1224<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_timeline_utility_methods_tests_8cpp_source.xhtml#l00022">TEST_SUITE()</a>.</p>
1225<div class="fragment"><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;{</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad6a0ab3d6679dded1eb2e1838becf79e">ProfilingService::GetNextGuid</a>();</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_ad6a0ab3d6679dded1eb2e1838becf79e"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#ad6a0ab3d6679dded1eb2e1838becf79e">armnn::profiling::ProfilingService::GetNextGuid</a></div><div class="ttdeci">static ProfilingDynamicGuid GetNextGuid()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00026">ProfilingService.cpp:26</a></div></div>
1226</div><!-- fragment -->
1227</div>
1228</div>
1229<a id="a0213410b7af3116277901a1e87bb96ee"></a>
1230<h2 class="memtitle"><span class="permalink"><a href="#a0213410b7af3116277901a1e87bb96ee">&#9670;&nbsp;</a></span>NotifyBackendsForTimelineReporting()</h2>
1231
1232<div class="memitem">
1233<div class="memproto">
1234<table class="mlabels">
1235 <tr>
1236 <td class="mlabels-left">
1237 <table class="memname">
1238 <tr>
1239 <td class="memname">void NotifyBackendsForTimelineReporting </td>
1240 <td>(</td>
1241 <td class="paramname"></td><td>)</td>
1242 <td></td>
1243 </tr>
1244 </table>
1245 </td>
1246 <td class="mlabels-right">
1247<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1248 </tr>
1249</table>
1250</div><div class="memdoc">
1251
1252<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_notify_backends.xhtml#ab278fa8a7fd571fde569c9f569e4d82c">INotifyBackends</a>.</p>
1253
1254<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00495">495</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1255
1256<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
1257<div class="fragment"><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160;{</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; BackendProfilingContext::iterator it = m_BackendProfilingContexts.begin();</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160; <span class="keywordflow">while</span> (it != m_BackendProfilingContexts.end())</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160; {</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160; <span class="keyword">auto</span>&amp; backendProfilingContext = it-&gt;second;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160; backendProfilingContext-&gt;EnableTimelineReporting(m_TimelineReporting);</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160; <span class="comment">// Increment the Iterator to point to next entry</span></div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160; it++;</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; }</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160;}</div></div><!-- fragment -->
1258</div>
1259</div>
1260<a id="aa969a672380904e127264c3a8b27504b"></a>
1261<h2 class="memtitle"><span class="permalink"><a href="#aa969a672380904e127264c3a8b27504b">&#9670;&nbsp;</a></span>NotifyProfilingServiceActive()</h2>
1262
1263<div class="memitem">
1264<div class="memproto">
1265<table class="mlabels">
1266 <tr>
1267 <td class="mlabels-left">
1268 <table class="memname">
1269 <tr>
1270 <td class="memname">void NotifyProfilingServiceActive </td>
1271 <td>(</td>
1272 <td class="paramname"></td><td>)</td>
1273 <td></td>
1274 </tr>
1275 </table>
1276 </td>
1277 <td class="mlabels-right">
1278<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1279 </tr>
1280</table>
1281</div><div class="memdoc">
1282
1283<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service_status.xhtml#a2deb044819ea89274173a4fad48d7b0d">IProfilingServiceStatus</a>.</p>
1284
1285<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00507">507</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1286
1287<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00215">ProfilingService::IsTimelineReportingEnabled()</a>.</p>
1288<div class="fragment"><div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;{</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160; { <span class="comment">// only lock when we are updating the inference completed variable</span></div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160; std::unique_lock&lt;std::mutex&gt; lck(m_ServiceActiveMutex);</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160; m_ServiceActive = <span class="keyword">true</span>;</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160; }</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; m_ServiceActiveConditionVariable.notify_one();</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;}</div></div><!-- fragment -->
1289</div>
1290</div>
1291<a id="ae7a3588986b93e13fda47c7ce4b0627c"></a>
1292<h2 class="memtitle"><span class="permalink"><a href="#ae7a3588986b93e13fda47c7ce4b0627c">&#9670;&nbsp;</a></span>ResetExternalProfilingOptions()</h2>
1293
1294<div class="memitem">
1295<div class="memproto">
1296 <table class="memname">
1297 <tr>
1298 <td class="memname">void ResetExternalProfilingOptions </td>
1299 <td>(</td>
1300 <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a1e3ab71aae7621abd6c1a16cc71b68e0">ExternalProfilingOptions</a> &amp;&#160;</td>
1301 <td class="paramname"><em>options</em>, </td>
1302 </tr>
1303 <tr>
1304 <td class="paramkey"></td>
1305 <td></td>
1306 <td class="paramtype">bool&#160;</td>
1307 <td class="paramname"><em>resetProfilingService</em> = <code>false</code>&#160;</td>
1308 </tr>
1309 <tr>
1310 <td></td>
1311 <td>)</td>
1312 <td></td><td></td>
1313 </tr>
1314 </table>
1315</div><div class="memdoc">
1316
1317<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00041">41</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1318
1319<p class="reference">References <a class="el" href="_i_runtime_8hpp_source.xhtml#l00171">IRuntime::CreationOptions::ExternalProfilingOptions::m_TimelineEnabled</a>, and <a class="el" href="_connection_acknowledged_command_handler_8hpp_source.xhtml#l00050">ConnectionAcknowledgedCommandHandler::setTimelineEnabled()</a>.</p>
1320
1321<p class="reference">Referenced by <a class="el" href="_profiling_service_8cpp_source.xhtml#l00062">ProfilingService::ConfigureProfilingService()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, <a class="el" href="_runtime_tests_8cpp_source.xhtml#l00037">TEST_SUITE()</a>, and <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00363">VerifyPostOptimisationStructureTestImpl()</a>.</p>
1322<div class="fragment"><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;{</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="comment">// Update the profiling options</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; m_Options = options;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; m_TimelineReporting = options.m_TimelineEnabled;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; m_ConnectionAcknowledgedCommandHandler.<a class="code" href="classarmnn_1_1profiling_1_1_connection_acknowledged_command_handler.xhtml#a5d3ec28132ce405fd3c2db3ada43bc18">setTimelineEnabled</a>(options.m_TimelineEnabled);</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="comment">// Check if the profiling service needs to be reset</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordflow">if</span> (resetProfilingService)</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="comment">// Reset the profiling service</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; Reset();</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_connection_acknowledged_command_handler_xhtml_a5d3ec28132ce405fd3c2db3ada43bc18"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_connection_acknowledged_command_handler.xhtml#a5d3ec28132ce405fd3c2db3ada43bc18">armnn::profiling::ConnectionAcknowledgedCommandHandler::setTimelineEnabled</a></div><div class="ttdeci">void setTimelineEnabled(bool timelineEnabled)</div><div class="ttdef"><b>Definition:</b> <a href="_connection_acknowledged_command_handler_8hpp_source.xhtml#l00050">ConnectionAcknowledgedCommandHandler.hpp:50</a></div></div>
1323</div><!-- fragment -->
1324</div>
1325</div>
1326<a id="a3ae86439d5449553c50941ff3ecc3d97"></a>
1327<h2 class="memtitle"><span class="permalink"><a href="#a3ae86439d5449553c50941ff3ecc3d97">&#9670;&nbsp;</a></span>ResetGuidGenerator()</h2>
1328
1329<div class="memitem">
1330<div class="memproto">
1331 <table class="memname">
1332 <tr>
1333 <td class="memname">void ResetGuidGenerator </td>
1334 <td>(</td>
1335 <td class="paramname"></td><td>)</td>
1336 <td></td>
1337 </tr>
1338 </table>
1339</div><div class="memdoc">
1340
1341<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00036">36</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1342
1343<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00204">ProfilingService::GetSendCounterPacket()</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00037">TEST_SUITE()</a>.</p>
1344<div class="fragment"><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; m_GuidGenerator.Reset();</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;}</div></div><!-- fragment -->
1345</div>
1346</div>
1347<a id="a40078141c4d1216eef4215fc10d0cbbc"></a>
1348<h2 class="memtitle"><span class="permalink"><a href="#a40078141c4d1216eef4215fc10d0cbbc">&#9670;&nbsp;</a></span>SetCaptureData()</h2>
1349
1350<div class="memitem">
1351<div class="memproto">
1352 <table class="memname">
1353 <tr>
1354 <td class="memname">void SetCaptureData </td>
1355 <td>(</td>
1356 <td class="paramtype">uint32_t&#160;</td>
1357 <td class="paramname"><em>capturePeriod</em>, </td>
1358 </tr>
1359 <tr>
1360 <td class="paramkey"></td>
1361 <td></td>
1362 <td class="paramtype">const std::vector&lt; uint16_t &gt; &amp;&#160;</td>
1363 <td class="paramname"><em>counterIds</em>, </td>
1364 </tr>
1365 <tr>
1366 <td class="paramkey"></td>
1367 <td></td>
1368 <td class="paramtype">const std::set&lt; <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &gt; &amp;&#160;</td>
1369 <td class="paramname"><em>activeBackends</em>&#160;</td>
1370 </tr>
1371 <tr>
1372 <td></td>
1373 <td>)</td>
1374 <td></td><td></td>
1375 </tr>
1376 </table>
1377</div><div class="memdoc">
1378
1379<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00280">280</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1380
1381<p class="reference">References <a class="el" href="_holder_8cpp_source.xhtml#l00074">Holder::SetCaptureData()</a>.</p>
1382
1383<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>.</p>
1384<div class="fragment"><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;{</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</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="l00285"></a><span class="lineno"> 285</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>
1385</div><!-- fragment -->
1386</div>
1387</div>
1388<a id="a5468b88e2e2e65892f9589d00ed06775"></a>
1389<h2 class="memtitle"><span class="permalink"><a href="#a5468b88e2e2e65892f9589d00ed06775">&#9670;&nbsp;</a></span>SetCounterValue()</h2>
1390
1391<div class="memitem">
1392<div class="memproto">
1393<table class="mlabels">
1394 <tr>
1395 <td class="mlabels-left">
1396 <table class="memname">
1397 <tr>
1398 <td class="memname">void SetCounterValue </td>
1399 <td>(</td>
1400 <td class="paramtype">uint16_t&#160;</td>
1401 <td class="paramname"><em>counterUid</em>, </td>
1402 </tr>
1403 <tr>
1404 <td class="paramkey"></td>
1405 <td></td>
1406 <td class="paramtype">uint32_t&#160;</td>
1407 <td class="paramname"><em>value</em>&#160;</td>
1408 </tr>
1409 <tr>
1410 <td></td>
1411 <td>)</td>
1412 <td></td><td></td>
1413 </tr>
1414 </table>
1415 </td>
1416 <td class="mlabels-right">
1417<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1418 </tr>
1419</table>
1420</div><div class="memdoc">
1421
1422<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a4ba4a09617cccdeabacf0efafcc8f4b9">IWriteCounterValues</a>.</p>
1423
1424<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00287">287</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1425
1426<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>.</p>
1427
1428<p class="reference">Referenced by <a class="el" href="_profiling_service_8cpp_source.xhtml#l00329">ProfilingService::GetSendTimelinePacket()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
1429<div class="fragment"><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;{</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(counterValuePtr);</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; counterValuePtr-&gt;store(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;}</div><div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
1430</div><!-- fragment -->
1431</div>
1432</div>
1433<a id="a2e08a9bc2818fb46503c1720562de8d7"></a>
1434<h2 class="memtitle"><span class="permalink"><a href="#a2e08a9bc2818fb46503c1720562de8d7">&#9670;&nbsp;</a></span>SubtractCounterValue()</h2>
1435
1436<div class="memitem">
1437<div class="memproto">
1438<table class="mlabels">
1439 <tr>
1440 <td class="mlabels-left">
1441 <table class="memname">
1442 <tr>
1443 <td class="memname">uint32_t SubtractCounterValue </td>
1444 <td>(</td>
1445 <td class="paramtype">uint16_t&#160;</td>
1446 <td class="paramname"><em>counterUid</em>, </td>
1447 </tr>
1448 <tr>
1449 <td class="paramkey"></td>
1450 <td></td>
1451 <td class="paramtype">uint32_t&#160;</td>
1452 <td class="paramname"><em>value</em>&#160;</td>
1453 </tr>
1454 <tr>
1455 <td></td>
1456 <td>)</td>
1457 <td></td><td></td>
1458 </tr>
1459 </table>
1460 </td>
1461 <td class="mlabels-right">
1462<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1463 </tr>
1464</table>
1465</div><div class="memdoc">
1466
1467<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_write_counter_values.xhtml#a1a7730e559150a572dc27b05c96d98b9">IWriteCounterValues</a>.</p>
1468
1469<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00303">303</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1470
1471<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>.</p>
1472
1473<p class="reference">Referenced by <a class="el" href="_profiling_service_8cpp_source.xhtml#l00255">ProfilingService::GetDeltaCounterValue()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
1474<div class="fragment"><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;{</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; CheckCounterUid(counterUid);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; std::atomic&lt;uint32_t&gt;* counterValuePtr = m_CounterIndex.at(counterUid);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(counterValuePtr);</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keywordflow">return</span> counterValuePtr-&gt;fetch_sub(value, std::memory_order::memory_order_relaxed);</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;}</div><div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
1475</div><!-- fragment -->
1476</div>
1477</div>
1478<a id="a253c6681998b98d3239d0bdf053b0e0f"></a>
1479<h2 class="memtitle"><span class="permalink"><a href="#a253c6681998b98d3239d0bdf053b0e0f">&#9670;&nbsp;</a></span>SwapProfilingConnectionFactory()</h2>
1480
1481<div class="memitem">
1482<div class="memproto">
1483<table class="mlabels">
1484 <tr>
1485 <td class="mlabels-left">
1486 <table class="memname">
1487 <tr>
1488 <td class="memname">void SwapProfilingConnectionFactory </td>
1489 <td>(</td>
1490 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
1491 <td class="paramname"><em>instance</em>, </td>
1492 </tr>
1493 <tr>
1494 <td class="paramkey"></td>
1495 <td></td>
1496 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *&#160;</td>
1497 <td class="paramname"><em>other</em>, </td>
1498 </tr>
1499 <tr>
1500 <td class="paramkey"></td>
1501 <td></td>
1502 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection_factory.xhtml">IProfilingConnectionFactory</a> *&amp;&#160;</td>
1503 <td class="paramname"><em>backup</em>&#160;</td>
1504 </tr>
1505 <tr>
1506 <td></td>
1507 <td>)</td>
1508 <td></td><td></td>
1509 </tr>
1510 </table>
1511 </td>
1512 <td class="mlabels-right">
1513<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
1514 </tr>
1515</table>
1516</div><div class="memdoc">
1517
1518<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00284">284</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
1519
1520<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>.</p>
1521<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; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(instance.m_ProfilingConnectionFactory);</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(other);</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; backup = instance.m_ProfilingConnectionFactory.release();</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; instance.m_ProfilingConnectionFactory.reset(other);</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; }</div><div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
1522</div><!-- fragment -->
1523</div>
1524</div>
1525<a id="a34cc06a0c80d907108ee791182c55da9"></a>
1526<h2 class="memtitle"><span class="permalink"><a href="#a34cc06a0c80d907108ee791182c55da9">&#9670;&nbsp;</a></span>TransitionToState()</h2>
1527
1528<div class="memitem">
1529<div class="memproto">
1530<table class="mlabels">
1531 <tr>
1532 <td class="mlabels-left">
1533 <table class="memname">
1534 <tr>
1535 <td class="memname">void TransitionToState </td>
1536 <td>(</td>
1537 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
1538 <td class="paramname"><em>instance</em>, </td>
1539 </tr>
1540 <tr>
1541 <td class="paramkey"></td>
1542 <td></td>
1543 <td class="paramtype"><a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806">ProfilingState</a>&#160;</td>
1544 <td class="paramname"><em>newState</em>&#160;</td>
1545 </tr>
1546 <tr>
1547 <td></td>
1548 <td>)</td>
1549 <td></td><td></td>
1550 </tr>
1551 </table>
1552 </td>
1553 <td class="mlabels-right">
1554<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
1555 </tr>
1556</table>
1557</div><div class="memdoc">
1558
1559<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00298">298</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
1560
1561<p class="reference">References <a class="el" href="_profiling_state_machine_8cpp_source.xhtml#l00036">ProfilingStateMachine::TransitionToState()</a>.</p>
1562<div class="fragment"><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; instance.m_StateMachine.TransitionToState(newState);</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; }</div></div><!-- fragment -->
1563</div>
1564</div>
1565<a id="aec0783b5a136e042adcc47bae4fe5291"></a>
1566<h2 class="memtitle"><span class="permalink"><a href="#aec0783b5a136e042adcc47bae4fe5291">&#9670;&nbsp;</a></span>Update()</h2>
1567
1568<div class="memitem">
1569<div class="memproto">
1570 <table class="memname">
1571 <tr>
1572 <td class="memname">void Update </td>
1573 <td>(</td>
1574 <td class="paramname"></td><td>)</td>
1575 <td></td>
1576 </tr>
1577 </table>
1578</div><div class="memdoc">
1579
1580<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00112">112</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1581
1582<p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a4d3d769b812b6faa6b76e1a8abaece2d">armnn::profiling::Active</a>, <a class="el" href="_assert_8hpp_source.xhtml#l00014">ARMNN_ASSERT</a>, <a class="el" href="_logging_8hpp_source.xhtml#l00202">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#l00169">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#l00049">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#l00079">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>
1583
1584<p class="reference">Referenced by <a class="el" href="_profiling_service_8cpp_source.xhtml#l00062">ProfilingService::ConfigureProfilingService()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00061">ProfilingService::ProfilingService()</a>, and <a class="el" href="_profiling_tests_8cpp_source.xhtml#l00057">TEST_SUITE()</a>.</p>
1585<div class="fragment"><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;{</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="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="l00115"></a><span class="lineno"> 115</span>&#160; {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="comment">// Don&#39;t run if profiling is disabled</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</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="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">switch</span> (currentState)</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="keywordflow">case</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#acb0c054138599582d5a5f537e9798806a962074a9de1cf3d6d7b6f955a0a94820">ProfilingState::Uninitialised</a>:</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="comment">// Initialize the profiling service</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; Initialize();</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="comment">// Move to the next state</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</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="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</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="l00132"></a><span class="lineno"> 132</span>&#160; <span class="comment">// Stop the command thread (if running)</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</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="l00134"></a><span class="lineno"> 134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="comment">// Stop the send thread (if running)</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</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="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">// Stop the periodic counter capture thread (if running)</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</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="l00140"></a><span class="lineno"> 140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="comment">// Reset any existing profiling connection</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; m_ProfilingConnection.reset();</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordflow">try</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="comment">// Setup the profiling connection</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(m_ProfilingConnectionFactory);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; m_ProfilingConnection = m_ProfilingConnectionFactory-&gt;GetProfilingConnection(m_Options);</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="keywordflow">catch</span> (<span class="keyword">const</span> Exception&amp; e)</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; {</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</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="l00153"></a><span class="lineno"> 153</span>&#160; &lt;&lt; e.what();</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordflow">catch</span> (<span class="keyword">const</span> arm::pipe::SocketConnectionException&amp; e)</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; <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="l00158"></a><span class="lineno"> 158</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="l00159"></a><span class="lineno"> 159</span>&#160; }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="comment">// Move to the next state</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</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="l00163"></a><span class="lineno"> 163</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="l00164"></a><span class="lineno"> 164</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="l00165"></a><span class="lineno"> 165</span>&#160; <span class="comment">// &quot;NotConnected&quot; state</span></div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</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="l00168"></a><span class="lineno"> 168</span>&#160; <a class="code" href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(m_ProfilingConnection);</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="comment">// Start the command thread</span></div><div class="line"><a name="l00171"></a><span class="lineno"> 171</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="l00172"></a><span class="lineno"> 172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</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="l00174"></a><span class="lineno"> 174</span>&#160; <span class="comment">// a valid &quot;Connection Acknowledged&quot; packet confirming the connection</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</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="l00176"></a><span class="lineno"> 176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</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="l00178"></a><span class="lineno"> 178</span>&#160; <span class="comment">// valid &quot;Connection Acknowledged&quot; packet has been received</span></div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</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="l00182"></a><span class="lineno"> 182</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</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="l00184"></a><span class="lineno"> 184</span>&#160; <span class="comment">// request by an external profiling service</span></div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordflow">throw</span> RuntimeException(fmt::format(<span class="stringliteral">&quot;Unknown profiling service state: {}&quot;</span>,</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; static_cast&lt;int&gt;(currentState)));</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; }</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</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>
1586<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>
1587<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#l00202">Logging.hpp:202</a></div></div>
1588<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="ttdoc">Indicates whether external profiling is enabled or not. </div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00169">IRuntime.hpp:169</a></div></div>
1589<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>
1590<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>
1591<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>
1592<div class="ttc" id="_assert_8hpp_xhtml_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.xhtml#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00014">Assert.hpp:14</a></div></div>
1593<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>
1594<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>
1595<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>
1596<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>
1597<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>
1598<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#l00079">SendThread.cpp:79</a></div></div>
1599<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#l00049">SendThread.cpp:49</a></div></div>
1600</div><!-- fragment -->
1601</div>
1602</div>
1603<a id="adc4b29d0bfe41252ef520acfa5bc897c"></a>
1604<h2 class="memtitle"><span class="permalink"><a href="#adc4b29d0bfe41252ef520acfa5bc897c">&#9670;&nbsp;</a></span>WaitForPacketSent()</h2>
1605
1606<div class="memitem">
1607<div class="memproto">
1608<table class="mlabels">
1609 <tr>
1610 <td class="mlabels-left">
1611 <table class="memname">
1612 <tr>
1613 <td class="memname">bool WaitForPacketSent </td>
1614 <td>(</td>
1615 <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">ProfilingService</a> &amp;&#160;</td>
1616 <td class="paramname"><em>instance</em>, </td>
1617 </tr>
1618 <tr>
1619 <td class="paramkey"></td>
1620 <td></td>
1621 <td class="paramtype">uint32_t&#160;</td>
1622 <td class="paramname"><em>timeout</em> = <code>1000</code>&#160;</td>
1623 </tr>
1624 <tr>
1625 <td></td>
1626 <td>)</td>
1627 <td></td><td></td>
1628 </tr>
1629 </table>
1630 </td>
1631 <td class="mlabels-right">
1632<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
1633 </tr>
1634</table>
1635</div><div class="memdoc">
1636
1637<p class="definition">Definition at line <a class="el" href="_profiling_service_8hpp_source.xhtml#l00302">302</a> of file <a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>.</p>
1638
1639<p class="reference">References <a class="el" href="_send_thread_8cpp_source.xhtml#l00260">SendThread::WaitForPacketSent()</a>.</p>
1640
1641<p class="reference">Referenced by <a class="el" href="_profiling_tests_8hpp_source.xhtml#l00242">SwapProfilingConnectionFactoryHelper::WaitForPacketsSent()</a>.</p>
1642<div class="fragment"><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; {</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordflow">return</span> instance.m_SendThread.WaitForPacketSent(timeout);</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; }</div></div><!-- fragment -->
1643</div>
1644</div>
1645<a id="a80a0e4644a0be7b00bc581cb786d5a4f"></a>
1646<h2 class="memtitle"><span class="permalink"><a href="#a80a0e4644a0be7b00bc581cb786d5a4f">&#9670;&nbsp;</a></span>WaitForProfilingServiceActivation()</h2>
1647
1648<div class="memitem">
1649<div class="memproto">
1650<table class="mlabels">
1651 <tr>
1652 <td class="mlabels-left">
1653 <table class="memname">
1654 <tr>
1655 <td class="memname">void WaitForProfilingServiceActivation </td>
1656 <td>(</td>
1657 <td class="paramtype">unsigned int&#160;</td>
1658 <td class="paramname"><em>timeout</em></td><td>)</td>
1659 <td></td>
1660 </tr>
1661 </table>
1662 </td>
1663 <td class="mlabels-right">
1664<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1665 </tr>
1666</table>
1667</div><div class="memdoc">
1668
1669<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_service_status.xhtml#a541f5c151dbd79fb3c4978e81bedfca8">IProfilingServiceStatus</a>.</p>
1670
1671<p class="definition">Definition at line <a class="el" href="_profiling_service_8cpp_source.xhtml#l00516">516</a> of file <a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a>.</p>
1672
1673<p class="reference">References <a class="el" href="_logging_8hpp_source.xhtml#l00202">ARMNN_LOG</a>, and <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407a7b83d3f08fa392b79e3f553b585971cd">armnn::warning</a>.</p>
1674
1675<p class="reference">Referenced by <a class="el" href="_profiling_service_8hpp_source.xhtml#l00215">ProfilingService::IsTimelineReportingEnabled()</a>, and <a class="el" href="_runtime_8cpp_source.xhtml#l00291">RuntimeImpl::RuntimeImpl()</a>.</p>
1676<div class="fragment"><div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160;{</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160; std::unique_lock&lt;std::mutex&gt; lck(m_ServiceActiveMutex);</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160;</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160; <span class="keyword">auto</span> start = std::chrono::high_resolution_clock::now();</div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160; <span class="comment">// Here we we will go back to sleep after a spurious wake up if</span></div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; <span class="comment">// m_InferenceCompleted is not yet true.</span></div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; <span class="keywordflow">if</span> (!m_ServiceActiveConditionVariable.wait_for(lck,</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160; std::chrono::milliseconds(timeout),</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; [&amp;]{return m_ServiceActive == true;}))</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; {</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; <span class="keywordflow">if</span> (m_ServiceActive == <span class="keyword">true</span>)</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160; {</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160; }</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160; <span class="keyword">auto</span> finish = std::chrono::high_resolution_clock::now();</div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160; std::chrono::duration&lt;double, std::milli&gt; elapsed = finish - start;</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; std::stringstream ss;</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160; ss &lt;&lt; <span class="stringliteral">&quot;Timed out waiting on profiling service activation for &quot;</span> &lt;&lt; elapsed.count() &lt;&lt; <span class="stringliteral">&quot; ms&quot;</span>;</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; <a class="code" href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(warning) &lt;&lt; ss.str();</div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160; }</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;}</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#l00202">Logging.hpp:202</a></div></div>
1677</div><!-- fragment -->
1678</div>
1679</div>
1680<hr/>The documentation for this class was generated from the following files:<ul>
1681<li>src/profiling/<a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a></li>
1682<li>src/profiling/<a class="el" href="_profiling_service_8cpp_source.xhtml">ProfilingService.cpp</a></li>
1683</ul>
1684</div><!-- contents -->
1685</div><!-- doc-content -->
1686<!-- start footer part -->
1687<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1688 <ul>
1689 <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>
1690 <li class="footer">Generated on Wed Nov 17 2021 12:59:46 for ArmNN by
1691 <a href="http://www.doxygen.org/index.html">
1692 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
1693 </ul>
1694</div>
1695</body>
1696</html>