blob: f45d4c3b8fff810eec2f83e66cdd4988b01e9422 [file] [log] [blame]
<!-- HTML header for doxygen 1.8.17-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arm NN: IProfiler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/>
<td id="projectalign" style="padding-left: 0.9em;">
<div id="projectname">
&#160;<span id="projectnumber">24.05</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classarmnn_1_1_i_profiler.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classarmnn_1_1_i_profiler-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IProfiler Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_i_profiler_8hpp_source.html">IProfiler.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af556ae358458c476f8594b3bbb28d712"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#af556ae358458c476f8594b3bbb28d712">EnableProfiling</a> (bool enableProfiling)</td></tr>
<tr class="memdesc:af556ae358458c476f8594b3bbb28d712"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables/disables profiling for this profiler. <a href="classarmnn_1_1_i_profiler.html#af556ae358458c476f8594b3bbb28d712">More...</a><br /></td></tr>
<tr class="separator:af556ae358458c476f8594b3bbb28d712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5a25e3cf143724a9460c4aa9c47841b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#aa5a25e3cf143724a9460c4aa9c47841b">IsProfilingEnabled</a> ()</td></tr>
<tr class="memdesc:aa5a25e3cf143724a9460c4aa9c47841b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether profiling is enabled. <a href="classarmnn_1_1_i_profiler.html#aa5a25e3cf143724a9460c4aa9c47841b">More...</a><br /></td></tr>
<tr class="separator:aa5a25e3cf143724a9460c4aa9c47841b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9f22844fb2e329ffd193f2d9a8ce336"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#ac9f22844fb2e329ffd193f2d9a8ce336">AnalyzeEventsAndWriteResults</a> (std::ostream &amp;outStream) const</td></tr>
<tr class="memdesc:ac9f22844fb2e329ffd193f2d9a8ce336"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analyzes the tracked events and writes the results to the given output stream. <a href="classarmnn_1_1_i_profiler.html#ac9f22844fb2e329ffd193f2d9a8ce336">More...</a><br /></td></tr>
<tr class="separator:ac9f22844fb2e329ffd193f2d9a8ce336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a038bb767bbc6abc0ee0d9b509616b896"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#a038bb767bbc6abc0ee0d9b509616b896">Print</a> (std::ostream &amp;outStream) const</td></tr>
<tr class="memdesc:a038bb767bbc6abc0ee0d9b509616b896"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print stats for events in JSON Format to the given output stream. <a href="classarmnn_1_1_i_profiler.html#a038bb767bbc6abc0ee0d9b509616b896">More...</a><br /></td></tr>
<tr class="separator:a038bb767bbc6abc0ee0d9b509616b896"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eb407e04f6462e4fd4ac0fd27dee141"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#a2eb407e04f6462e4fd4ac0fd27dee141">EnableNetworkDetailsToStdOut</a> (<a class="el" href="namespacearmnn.html#ae060224135f57f926cbda9d2732a2b1f">ProfilingDetailsMethod</a> detailsMethod)</td></tr>
<tr class="memdesc:a2eb407e04f6462e4fd4ac0fd27dee141"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print out details of each layer within the network that possesses a descriptor. <a href="classarmnn_1_1_i_profiler.html#a2eb407e04f6462e4fd4ac0fd27dee141">More...</a><br /></td></tr>
<tr class="separator:a2eb407e04f6462e4fd4ac0fd27dee141"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e96ca374a63bd8547fe68a5d9809df7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#a3e96ca374a63bd8547fe68a5d9809df7">~IProfiler</a> ()</td></tr>
<tr class="separator:a3e96ca374a63bd8547fe68a5d9809df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1f916bbd576830b5c35c9987581f301"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#ac1f916bbd576830b5c35c9987581f301">IProfiler</a> ()</td></tr>
<tr class="separator:ac1f916bbd576830b5c35c9987581f301"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a07324741b1a460634a1d58935d77de4c"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#a07324741b1a460634a1d58935d77de4c">ScopedProfilingEvent</a></td></tr>
<tr class="separator:a07324741b1a460634a1d58935d77de4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80459722afc790bc4b494622d5f5f2b8"><td class="memTemplParams" colspan="2">template&lt;typename DescriptorType &gt; </td></tr>
<tr class="memitem:a80459722afc790bc4b494622d5f5f2b8"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#a80459722afc790bc4b494622d5f5f2b8">ProfilingUpdateDescriptions</a> (const std::string &amp;name, const DescriptorType &amp;desc, const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &amp;infos, const arm::pipe::ProfilingGuid guid)</td></tr>
<tr class="separator:a80459722afc790bc4b494622d5f5f2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64f137d035aca340f3b5624acd5bdc9a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.html#a64f137d035aca340f3b5624acd5bdc9a">GetProfilerEventSequenceSize</a> (<a class="el" href="classarmnn_1_1_i_profiler.html">armnn::IProfiler</a> *profiler)</td></tr>
<tr class="separator:a64f137d035aca340f3b5624acd5bdc9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_i_profiler_8hpp_source.html#l00021">21</a> of file <a class="el" href="_i_profiler_8hpp_source.html">IProfiler.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3e96ca374a63bd8547fe68a5d9809df7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e96ca374a63bd8547fe68a5d9809df7">&#9670;&nbsp;</a></span>~IProfiler()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">~<a class="el" href="classarmnn_1_1_i_profiler.html">IProfiler</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac1f916bbd576830b5c35c9987581f301"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1f916bbd576830b5c35c9987581f301">&#9670;&nbsp;</a></span>IProfiler()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarmnn_1_1_i_profiler.html">IProfiler</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00653">653</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; : pProfilerImpl(<span class="keyword">new</span> ProfilerImpl())</div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;{};</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac9f22844fb2e329ffd193f2d9a8ce336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9f22844fb2e329ffd193f2d9a8ce336">&#9670;&nbsp;</a></span>AnalyzeEventsAndWriteResults()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void AnalyzeEventsAndWriteResults </td>
<td>(</td>
<td class="paramtype">std::ostream &amp;&#160;</td>
<td class="paramname"><em>outStream</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Analyzes the tracked events and writes the results to the given output stream. </p>
<p>Please refer to the configuration variables in <a class="el" href="_profiling_8cpp.html">Profiling.cpp</a> to customize the information written. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">outStream</td><td>The stream where to write the profiling results to. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00634">634</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;{</div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; pProfilerImpl-&gt;AnalyzeEventsAndWriteResults(outStream);</div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a2eb407e04f6462e4fd4ac0fd27dee141"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2eb407e04f6462e4fd4ac0fd27dee141">&#9670;&nbsp;</a></span>EnableNetworkDetailsToStdOut()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void EnableNetworkDetailsToStdOut </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacearmnn.html#ae060224135f57f926cbda9d2732a2b1f">ProfilingDetailsMethod</a>&#160;</td>
<td class="paramname"><em>detailsMethod</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Print out details of each layer within the network that possesses a descriptor. </p>
<p>Also outputs tensor info. This will be part of the profiling json output </p>
<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00624">624</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160;{</div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160; pProfilerImpl-&gt;EnableNetworkDetailsToStdOut(detailsMethod);</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="af556ae358458c476f8594b3bbb28d712"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af556ae358458c476f8594b3bbb28d712">&#9670;&nbsp;</a></span>EnableProfiling()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void EnableProfiling </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>enableProfiling</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enables/disables profiling for this profiler. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">enableProfiling</td><td>A flag that indicates whether profiling should be enabled or not. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00619">619</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;{</div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; pProfilerImpl-&gt;EnableProfiling(enableProfiling);</div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="aa5a25e3cf143724a9460c4aa9c47841b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5a25e3cf143724a9460c4aa9c47841b">&#9670;&nbsp;</a></span>IsProfilingEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IsProfilingEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks whether profiling is enabled. </p>
<p>Profiling is disabled by default. </p><dl class="section return"><dt>Returns</dt><dd>true if profiling is enabled, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00629">629</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160;{</div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160; <span class="keywordflow">return</span> pProfilerImpl-&gt;IsProfilingEnabled();</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_profiling_8hpp_source.html#l00180">armnn::ProfilingUpdateDescriptions()</a>, and <a class="el" href="_profiling_8hpp_source.html#l00136">ScopedProfilingEvent::ScopedProfilingEvent()</a>.</p>
</div>
</div>
<a id="a038bb767bbc6abc0ee0d9b509616b896"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a038bb767bbc6abc0ee0d9b509616b896">&#9670;&nbsp;</a></span>Print()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Print </td>
<td>(</td>
<td class="paramtype">std::ostream &amp;&#160;</td>
<td class="paramname"><em>outStream</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Print stats for events in JSON Format to the given output stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">outStream</td><td>The stream where to write the profiling results to. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_profiling_8cpp_source.html#l00639">639</a> of file <a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160;{</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; pProfilerImpl-&gt;Print(outStream);</div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_canonical_utils_8cpp_source.html#l00352">armnn_driver::DumpJsonProfilingIfRequired()</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a64f137d035aca340f3b5624acd5bdc9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64f137d035aca340f3b5624acd5bdc9a">&#9670;&nbsp;</a></span>GetProfilerEventSequenceSize</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">size_t GetProfilerEventSequenceSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarmnn_1_1_i_profiler.html">armnn::IProfiler</a> *&#160;</td>
<td class="paramname"><em>profiler</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a80459722afc790bc4b494622d5f5f2b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80459722afc790bc4b494622d5f5f2b8">&#9670;&nbsp;</a></span>ProfilingUpdateDescriptions</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ProfilingUpdateDescriptions </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const DescriptorType &amp;&#160;</td>
<td class="paramname"><em>desc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &amp;&#160;</td>
<td class="paramname"><em>infos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const arm::pipe::ProfilingGuid&#160;</td>
<td class="paramname"><em>guid</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>&lt; Profiler used</p>
<p class="definition">Definition at line <a class="el" href="_profiling_8hpp_source.html#l00180">180</a> of file <a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;{</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="code" href="classarmnn_1_1_i_profiler.html#ac1f916bbd576830b5c35c9987581f301">IProfiler</a>* profiler(<a class="code" href="classarmnn_1_1_profiler_manager.html#a93857080c2523bf3395e7aa7e6024d5c">ProfilerManager::GetInstance</a>().GetProfiler()); <span class="comment">///&lt; Profiler used</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="comment"></span> <span class="keywordflow">if</span> (profiler &amp;&amp; profiler-&gt;IsProfilingEnabled())</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; {</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; profiler-&gt;AddLayerDetails(name, desc, infos, guid);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; }</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a07324741b1a460634a1d58935d77de4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07324741b1a460634a1d58935d77de4c">&#9670;&nbsp;</a></span>ScopedProfilingEvent</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classarmnn_1_1_scoped_profiling_event.html">ScopedProfilingEvent</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_i_profiler_8hpp_source.html#l00066">66</a> of file <a class="el" href="_i_profiler_8hpp_source.html">IProfiler.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/armnn/<a class="el" href="_i_profiler_8hpp_source.html">IProfiler.hpp</a></li>
<li>src/armnn/<a class="el" href="_profiling_8cpp_source.html">Profiling.cpp</a></li>
<li>src/armnn/<a class="el" href="_profiling_8hpp_source.html">Profiling.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassarmnn_1_1_i_profiler_html_ac1f916bbd576830b5c35c9987581f301"><div class="ttname"><a href="classarmnn_1_1_i_profiler.html#ac1f916bbd576830b5c35c9987581f301">armnn::IProfiler::IProfiler</a></div><div class="ttdeci">IProfiler()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8cpp_source.html#l00653">Profiling.cpp:653</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_profiler_manager_html_a93857080c2523bf3395e7aa7e6024d5c"><div class="ttname"><a href="classarmnn_1_1_profiler_manager.html#a93857080c2523bf3395e7aa7e6024d5c">armnn::ProfilerManager::GetInstance</a></div><div class="ttdeci">static ProfilerManager &amp; GetInstance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8cpp_source.html#l00602">Profiling.cpp:602</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_i_profiler.html">IProfiler</a></li>
<li class="footer">Generated on Thu May 16 2024 09:31:56 for Arm NN by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>