diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2023-05-19 11:14:28 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2023-05-19 11:14:28 +0100 |
commit | 8efb48a6847c5cd166c561127ae6611150963ce3 (patch) | |
tree | f4262b7e54d26021a54bbc310f46d16a291463e5 /23.05/classarmnn_1_1_i_profiler.xhtml | |
parent | 023fe66a59414a0a7b337c7be5c3c341eb5b55d2 (diff) | |
download | armnn-8efb48a6847c5cd166c561127ae6611150963ce3.tar.gz |
Update Doxygen docu for 23.05
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I0a992286f14fa68fcc6e5eba31ac39fed003cbbe
Diffstat (limited to '23.05/classarmnn_1_1_i_profiler.xhtml')
-rw-r--r-- | 23.05/classarmnn_1_1_i_profiler.xhtml | 470 |
1 files changed, 470 insertions, 0 deletions
diff --git a/23.05/classarmnn_1_1_i_profiler.xhtml b/23.05/classarmnn_1_1_i_profiler.xhtml new file mode 100644 index 0000000000..647d95df36 --- /dev/null +++ b/23.05/classarmnn_1_1_i_profiler.xhtml @@ -0,0 +1,470 @@ +<!-- Copyright (c) 2020 ARM Limited. --> +<!-- --> +<!-- SPDX-License-Identifier: MIT --> +<!-- --> +<!-- HTML header for doxygen 1.8.13--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.17"/> +<meta name="robots" content="NOINDEX, NOFOLLOW" /> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>ArmNN: 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="stylesheet.css" rel="stylesheet" type="text/css"/> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> + <td style="padding-left: 0.5em;"> + <div id="projectname"> +  <span id="projectnumber">23.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&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&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&dn=gpl-2.0.txt GPL-v2 */ +$(document).ready(function(){initNavTree('classarmnn_1_1_i_profiler.xhtml',''); 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> | +<a href="#friends">Friends</a> | +<a href="classarmnn_1_1_i_profiler-members.xhtml">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 <<a class="el" href="_i_profiler_8hpp_source.xhtml">IProfiler.hpp</a>></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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#af556ae358458c476f8594b3bbb28d712">EnableProfiling</a> (bool enableProfiling)</td></tr> +<tr class="memdesc:af556ae358458c476f8594b3bbb28d712"><td class="mdescLeft"> </td><td class="mdescRight">Enables/disables profiling for this profiler. <a href="classarmnn_1_1_i_profiler.xhtml#af556ae358458c476f8594b3bbb28d712">More...</a><br /></td></tr> +<tr class="separator:af556ae358458c476f8594b3bbb28d712"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa5a25e3cf143724a9460c4aa9c47841b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#aa5a25e3cf143724a9460c4aa9c47841b">IsProfilingEnabled</a> ()</td></tr> +<tr class="memdesc:aa5a25e3cf143724a9460c4aa9c47841b"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether profiling is enabled. <a href="classarmnn_1_1_i_profiler.xhtml#aa5a25e3cf143724a9460c4aa9c47841b">More...</a><br /></td></tr> +<tr class="separator:aa5a25e3cf143724a9460c4aa9c47841b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac9f22844fb2e329ffd193f2d9a8ce336"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#ac9f22844fb2e329ffd193f2d9a8ce336">AnalyzeEventsAndWriteResults</a> (std::ostream &outStream) const</td></tr> +<tr class="memdesc:ac9f22844fb2e329ffd193f2d9a8ce336"><td class="mdescLeft"> </td><td class="mdescRight">Analyzes the tracked events and writes the results to the given output stream. <a href="classarmnn_1_1_i_profiler.xhtml#ac9f22844fb2e329ffd193f2d9a8ce336">More...</a><br /></td></tr> +<tr class="separator:ac9f22844fb2e329ffd193f2d9a8ce336"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a038bb767bbc6abc0ee0d9b509616b896"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#a038bb767bbc6abc0ee0d9b509616b896">Print</a> (std::ostream &outStream) const</td></tr> +<tr class="memdesc:a038bb767bbc6abc0ee0d9b509616b896"><td class="mdescLeft"> </td><td class="mdescRight">Print stats for events in JSON Format to the given output stream. <a href="classarmnn_1_1_i_profiler.xhtml#a038bb767bbc6abc0ee0d9b509616b896">More...</a><br /></td></tr> +<tr class="separator:a038bb767bbc6abc0ee0d9b509616b896"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2eb407e04f6462e4fd4ac0fd27dee141"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#a2eb407e04f6462e4fd4ac0fd27dee141">EnableNetworkDetailsToStdOut</a> (<a class="el" href="namespacearmnn.xhtml#ae060224135f57f926cbda9d2732a2b1f">ProfilingDetailsMethod</a> detailsMethod)</td></tr> +<tr class="memdesc:a2eb407e04f6462e4fd4ac0fd27dee141"><td class="mdescLeft"> </td><td class="mdescRight">Print out details of each layer within the network that possesses a descriptor. <a href="classarmnn_1_1_i_profiler.xhtml#a2eb407e04f6462e4fd4ac0fd27dee141">More...</a><br /></td></tr> +<tr class="separator:a2eb407e04f6462e4fd4ac0fd27dee141"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3e96ca374a63bd8547fe68a5d9809df7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#a3e96ca374a63bd8547fe68a5d9809df7">~IProfiler</a> ()</td></tr> +<tr class="separator:a3e96ca374a63bd8547fe68a5d9809df7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac1f916bbd576830b5c35c9987581f301"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#ac1f916bbd576830b5c35c9987581f301">IProfiler</a> ()</td></tr> +<tr class="separator:ac1f916bbd576830b5c35c9987581f301"><td class="memSeparator" colspan="2"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#a07324741b1a460634a1d58935d77de4c">ScopedProfilingEvent</a></td></tr> +<tr class="separator:a07324741b1a460634a1d58935d77de4c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a80459722afc790bc4b494622d5f5f2b8"><td class="memTemplParams" colspan="2">template<typename DescriptorType > </td></tr> +<tr class="memitem:a80459722afc790bc4b494622d5f5f2b8"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#a80459722afc790bc4b494622d5f5f2b8">ProfilingUpdateDescriptions</a> (const std::string &name, const DescriptorType &desc, const <a class="el" href="structarmnn_1_1_workload_info.xhtml">WorkloadInfo</a> &infos, const arm::pipe::ProfilingGuid guid)</td></tr> +<tr class="separator:a80459722afc790bc4b494622d5f5f2b8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a64f137d035aca340f3b5624acd5bdc9a"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_profiler.xhtml#a64f137d035aca340f3b5624acd5bdc9a">GetProfilerEventSequenceSize</a> (<a class="el" href="classarmnn_1_1_i_profiler.xhtml">armnn::IProfiler</a> *profiler)</td></tr> +<tr class="separator:a64f137d035aca340f3b5624acd5bdc9a"><td class="memSeparator" colspan="2"> </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.xhtml#l00021">21</a> of file <a class="el" href="_i_profiler_8hpp_source.xhtml">IProfiler.hpp</a>.</p> +</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> +<a id="a3e96ca374a63bd8547fe68a5d9809df7"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a3e96ca374a63bd8547fe68a5d9809df7">◆ </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.xhtml">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">◆ </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.xhtml">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.xhtml#l00644">644</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00644"></a><span class="lineno"> 644</span>  : pProfilerImpl(<span class="keyword">new</span> ProfilerImpl())</div> +<div class="line"><a name="l00645"></a><span class="lineno"> 645</span> {};</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">◆ </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 & </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.xhtml">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.xhtml#l00625">625</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00626"></a><span class="lineno"> 626</span> {</div> +<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  pProfilerImpl->AnalyzeEventsAndWriteResults(outStream);</div> +<div class="line"><a name="l00628"></a><span class="lineno"> 628</span> }</div> +</div><!-- fragment --> +</div> +</div> +<a id="a2eb407e04f6462e4fd4ac0fd27dee141"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a2eb407e04f6462e4fd4ac0fd27dee141">◆ </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.xhtml#ae060224135f57f926cbda9d2732a2b1f">ProfilingDetailsMethod</a> </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.xhtml#l00615">615</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00616"></a><span class="lineno"> 616</span> {</div> +<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>  pProfilerImpl->EnableNetworkDetailsToStdOut(detailsMethod);</div> +<div class="line"><a name="l00618"></a><span class="lineno"> 618</span> }</div> +</div><!-- fragment --> +</div> +</div> +<a id="af556ae358458c476f8594b3bbb28d712"></a> +<h2 class="memtitle"><span class="permalink"><a href="#af556ae358458c476f8594b3bbb28d712">◆ </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 </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.xhtml#l00610">610</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00611"></a><span class="lineno"> 611</span> {</div> +<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  pProfilerImpl->EnableProfiling(enableProfiling);</div> +<div class="line"><a name="l00613"></a><span class="lineno"> 613</span> }</div> +</div><!-- fragment --> +</div> +</div> +<a id="aa5a25e3cf143724a9460c4aa9c47841b"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aa5a25e3cf143724a9460c4aa9c47841b">◆ </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.xhtml#l00620">620</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00621"></a><span class="lineno"> 621</span> {</div> +<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>  <span class="keywordflow">return</span> pProfilerImpl->IsProfilingEnabled();</div> +<div class="line"><a name="l00623"></a><span class="lineno"> 623</span> }</div> +</div><!-- fragment --> +<p class="reference">Referenced by <a class="el" href="_profiling_8hpp_source.xhtml#l00180">armnn::ProfilingUpdateDescriptions()</a>, and <a class="el" href="_profiling_8hpp_source.xhtml#l00136">ScopedProfilingEvent::ScopedProfilingEvent()</a>.</p> + +</div> +</div> +<a id="a038bb767bbc6abc0ee0d9b509616b896"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a038bb767bbc6abc0ee0d9b509616b896">◆ </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 & </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.xhtml#l00630">630</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00631"></a><span class="lineno"> 631</span> {</div> +<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>  pProfilerImpl->Print(outStream);</div> +<div class="line"><a name="l00633"></a><span class="lineno"> 633</span> }</div> +</div><!-- fragment --> +<p class="reference">Referenced by <a class="el" href="_canonical_utils_8cpp_source.xhtml#l00350">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">◆ </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.xhtml">armnn::IProfiler</a> * </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">◆ </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 & </td> + <td class="paramname"><em>name</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const DescriptorType & </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.xhtml">WorkloadInfo</a> & </td> + <td class="paramname"><em>infos</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const arm::pipe::ProfilingGuid </td> + <td class="paramname"><em>guid</em> </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>< Profiler used</p> + +<p class="definition">Definition at line <a class="el" href="_profiling_8hpp_source.xhtml#l00180">180</a> of file <a class="el" href="_profiling_8hpp_source.xhtml">Profiling.hpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> {</div> +<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="classarmnn_1_1_i_profiler.xhtml#ac1f916bbd576830b5c35c9987581f301">IProfiler</a>* profiler(<a class="code" href="classarmnn_1_1_profiler_manager.xhtml#a93857080c2523bf3395e7aa7e6024d5c">ProfilerManager::GetInstance</a>().GetProfiler()); <span class="comment">///< Profiler used</span></div> +<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment"></span> <span class="keywordflow">if</span> (profiler && profiler->IsProfilingEnabled())</div> +<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  {</div> +<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  profiler->AddLayerDetails(name, desc, infos, guid);</div> +<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  }</div> +<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> }</div> +</div><!-- fragment --> +</div> +</div> +<a id="a07324741b1a460634a1d58935d77de4c"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a07324741b1a460634a1d58935d77de4c">◆ </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.xhtml">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.xhtml#l00066">66</a> of file <a class="el" href="_i_profiler_8hpp_source.xhtml">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.xhtml">IProfiler.hpp</a></li> +<li>src/armnn/<a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a></li> +<li>src/armnn/<a class="el" href="_profiling_8hpp_source.xhtml">Profiling.hpp</a></li> +</ul> +</div><!-- contents --> +</div><!-- doc-content --> +<div class="ttc" id="aclassarmnn_1_1_i_profiler_xhtml_ac1f916bbd576830b5c35c9987581f301"><div class="ttname"><a href="classarmnn_1_1_i_profiler.xhtml#ac1f916bbd576830b5c35c9987581f301">armnn::IProfiler::IProfiler</a></div><div class="ttdeci">IProfiler()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8cpp_source.xhtml#l00644">Profiling.cpp:644</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_profiler_manager_xhtml_a93857080c2523bf3395e7aa7e6024d5c"><div class="ttname"><a href="classarmnn_1_1_profiler_manager.xhtml#a93857080c2523bf3395e7aa7e6024d5c">armnn::ProfilerManager::GetInstance</a></div><div class="ttdeci">static ProfilerManager & GetInstance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8cpp_source.xhtml#l00593">Profiling.cpp:593</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.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_i_profiler.xhtml">IProfiler</a></li> + <li class="footer">Generated on Thu May 18 2023 10:35:47 for ArmNN 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> |