diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2022-06-17 13:24:58 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2022-06-17 13:24:58 +0100 |
commit | d5d43d82c0137e08553e44345c609cdd1a7931c7 (patch) | |
tree | f1509f7fa94db0373a2c127682dd3d0ccc1915bd /22.05.01/classarmnn_1_1_i_profiler.xhtml | |
parent | 549b9600a6eaf0727fa084465a75f173edf8f381 (diff) | |
download | armnn-d5d43d82c0137e08553e44345c609cdd1a7931c7.tar.gz |
Update Doxygen for 22.05 patch release
* Pooling3D added to tfLite delegate
* Available in tag 22.05.01
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I8d605bba4e87d30baa2c6d7b338c78a4400dc021
Diffstat (limited to '22.05.01/classarmnn_1_1_i_profiler.xhtml')
-rw-r--r-- | 22.05.01/classarmnn_1_1_i_profiler.xhtml | 451 |
1 files changed, 451 insertions, 0 deletions
diff --git a/22.05.01/classarmnn_1_1_i_profiler.xhtml b/22.05.01/classarmnn_1_1_i_profiler.xhtml new file mode 100644 index 0000000000..01220433b1 --- /dev/null +++ b/22.05.01/classarmnn_1_1_i_profiler.xhtml @@ -0,0 +1,451 @@ +<!-- Copyright (c) 2020 ARM Limited. --> +<!-- --> +<!-- SPDX-License-Identifier: MIT --> +<!-- --> +<!-- HTML header for doxygen 1.8.13--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<meta name="robots" content="NOINDEX, NOFOLLOW" /> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>ArmNN: 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> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + extensions: ["tex2jax.js"], + jax: ["input/TeX","output/HTML-CSS"], +}); +</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +<link href="stylesheet.css" rel="stylesheet" type="text/css"/> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> + <td style="padding-left: 0.5em;"> + <div id="projectname"> +  <span id="projectnumber">22.05.01</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.13 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +</script> +<div id="main-nav"></div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('classarmnn_1_1_i_profiler.xhtml','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="summary"> +<a href="#pub-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="#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="#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="#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="#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="#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"> + +<p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.xhtml#l00609">IProfiler::Print()</a>.</p> + +</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#l00623">623</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00623"></a><span class="lineno"> 623</span>  : pProfilerImpl(<span class="keyword">new</span> ProfilerImpl())</div><div class="line"><a name="l00624"></a><span class="lineno"> 624</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#l00604">604</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_cl_import_tensor_handle_tests_8cpp_source.xhtml#l00020">TEST_SUITE()</a>.</p> +<div class="fragment"><div class="line"><a name="l00605"></a><span class="lineno"> 605</span> {</div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span>  pProfilerImpl->AnalyzeEventsAndWriteResults(outStream);</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</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#l00594">594</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00595"></a><span class="lineno"> 595</span> {</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  pProfilerImpl->EnableNetworkDetailsToStdOut(detailsMethod);</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</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#l00589">589</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00590"></a><span class="lineno"> 590</span> {</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  pProfilerImpl->EnableProfiling(enableProfiling);</div><div class="line"><a name="l00592"></a><span class="lineno"> 592</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#l00599">599</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_profiling_8hpp_source.xhtml#l00180">armnn::ProfilingUpdateDescriptions()</a>.</p> +<div class="fragment"><div class="line"><a name="l00600"></a><span class="lineno"> 600</span> {</div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  <span class="keywordflow">return</span> pProfilerImpl->IsProfilingEnabled();</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span> }</div></div><!-- fragment --> +</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#l00609">609</a> of file <a class="el" href="_profiling_8cpp_source.xhtml">Profiling.cpp</a>.</p> + +<p class="reference">References <a class="el" href="classarmnn_1_1_i_profiler.xhtml#a3e96ca374a63bd8547fe68a5d9809df7">IProfiler::~IProfiler()</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_cl_fallback_tests_8cpp_source.xhtml#l00012">TEST_SUITE()</a>.</p> +<div class="fragment"><div class="line"><a name="l00610"></a><span class="lineno"> 610</span> {</div><div class="line"><a name="l00611"></a><span class="lineno"> 611</span>  pProfilerImpl->Print(outStream);</div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span> }</div></div><!-- fragment --> +</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"> + +<p class="definition">Definition at line <a class="el" href="_profiler_tests_8cpp_source.xhtml#l00019">19</a> of file <a class="el" href="_profiler_tests_8cpp_source.xhtml">ProfilerTests.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordflow">if</span> (!profiler)</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(-1);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  }</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">return</span> profiler->pProfilerImpl->m_EventSequence.size();</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div></div><!-- fragment --> +</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 class="ttc" id="classarmnn_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#l00623">Profiling.cpp:623</a></div></div> +<div class="ttc" id="classarmnn_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#l00572">Profiling.cpp:572</a></div></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 --> +<!-- 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 Fri Jun 17 2022 13:20:32 for ArmNN by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> + </ul> +</div> +</body> +</html> |