blob: 4521f242095a9a5f3be2bfcad94b0df1bccf979c [file] [log] [blame]
<!-- 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: DeviceRecord Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">20.02</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structarmnn_1_1gatordmock_1_1_device_record.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> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structarmnn_1_1gatordmock_1_1_device_record-members.xhtml">List of all members</a> </div>
<div class="headertitle">
<div class="title">DeviceRecord Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.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:a80e8a853f25e71f69100ea171a0ab3d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#a80e8a853f25e71f69100ea171a0ab3d4">printContents</a> () const</td></tr>
<tr class="separator:a80e8a853f25e71f69100ea171a0ab3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a017fb1566b11411c9fed151e79c222ad"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#a017fb1566b11411c9fed151e79c222ad">printHeader</a> ()</td></tr>
<tr class="separator:a017fb1566b11411c9fed151e79c222ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af734583ef63236e643f64bc6f3f93c3d"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#af734583ef63236e643f64bc6f3f93c3d">m_DeviceUid</a></td></tr>
<tr class="separator:af734583ef63236e643f64bc6f3f93c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad891fb105df9c65e6ea96aaacfa50951"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#ad891fb105df9c65e6ea96aaacfa50951">m_DeviceCores</a></td></tr>
<tr class="separator:ad891fb105df9c65e6ea96aaacfa50951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed9c307a11b6c1e0f10e989897983af5"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#aed9c307a11b6c1e0f10e989897983af5">m_DeviceName</a></td></tr>
<tr class="separator:aed9c307a11b6c1e0f10e989897983af5"><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="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00189">189</a> of file <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a80e8a853f25e71f69100ea171a0ab3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80e8a853f25e71f69100ea171a0ab3d4">&#9670;&nbsp;</a></span>printContents()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void printContents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00213">213</a> of file <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.hpp</a>.</p>
<p class="reference">References <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00858">armnn::profiling::CentreAlignFormatting()</a>.</p>
<p class="reference">Referenced by <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00235">CounterDirectory::print()</a>.</p>
<div class="fragment"><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; {</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; std::string body;</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; body.append(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">gatordmock::CentreAlignFormatting</a>(<a class="code" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#aed9c307a11b6c1e0f10e989897983af5">m_DeviceName</a>, 20));</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; body.append(<span class="stringliteral">&quot; | &quot;</span>);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; body.append(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">gatordmock::CentreAlignFormatting</a>(std::to_string(<a class="code" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#af734583ef63236e643f64bc6f3f93c3d">m_DeviceUid</a>), 13));</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; body.append(<span class="stringliteral">&quot; | &quot;</span>);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; body.append(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">gatordmock::CentreAlignFormatting</a>(std::to_string(<a class="code" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#ad891fb105df9c65e6ea96aaacfa50951">m_DeviceCores</a>), 10));</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; body.append(<span class="stringliteral">&quot;\n&quot;</span>);</div><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; std::cout &lt;&lt; std::string(body.size(), <span class="charliteral">&#39;-&#39;</span>) &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; std::cout&lt;&lt; body;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; }</div><div class="ttc" id="structarmnn_1_1gatordmock_1_1_device_record_xhtml_af734583ef63236e643f64bc6f3f93c3d"><div class="ttname"><a href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#af734583ef63236e643f64bc6f3f93c3d">armnn::gatordmock::DeviceRecord::m_DeviceUid</a></div><div class="ttdeci">uint16_t m_DeviceUid</div><div class="ttdef"><b>Definition:</b> <a href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00191">CounterDirectory.hpp:191</a></div></div>
<div class="ttc" id="structarmnn_1_1gatordmock_1_1_device_record_xhtml_ad891fb105df9c65e6ea96aaacfa50951"><div class="ttname"><a href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#ad891fb105df9c65e6ea96aaacfa50951">armnn::gatordmock::DeviceRecord::m_DeviceCores</a></div><div class="ttdeci">uint16_t m_DeviceCores</div><div class="ttdef"><b>Definition:</b> <a href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00192">CounterDirectory.hpp:192</a></div></div>
<div class="ttc" id="structarmnn_1_1gatordmock_1_1_device_record_xhtml_aed9c307a11b6c1e0f10e989897983af5"><div class="ttname"><a href="structarmnn_1_1gatordmock_1_1_device_record.xhtml#aed9c307a11b6c1e0f10e989897983af5">armnn::gatordmock::DeviceRecord::m_DeviceName</a></div><div class="ttdeci">std::string m_DeviceName</div><div class="ttdef"><b>Definition:</b> <a href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00193">CounterDirectory.hpp:193</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a6c000fcf0c62f7bc417fef72be783129"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">armnn::profiling::CentreAlignFormatting</a></div><div class="ttdeci">std::string CentreAlignFormatting(const std::string &amp;stringToPass, const int spacingWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00858">ProfilingUtils.cpp:858</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a017fb1566b11411c9fed151e79c222ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a017fb1566b11411c9fed151e79c222ad">&#9670;&nbsp;</a></span>printHeader()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void printHeader </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00195">195</a> of file <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.hpp</a>.</p>
<p class="reference">References <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00858">armnn::profiling::CentreAlignFormatting()</a>.</p>
<p class="reference">Referenced by <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00235">CounterDirectory::print()</a>.</p>
<div class="fragment"><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; std::string header;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; header.append(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">gatordmock::CentreAlignFormatting</a>(<span class="stringliteral">&quot;Device name&quot;</span>, 20));</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; header.append(<span class="stringliteral">&quot; | &quot;</span>);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; header.append(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">gatordmock::CentreAlignFormatting</a>(<span class="stringliteral">&quot;UID&quot;</span>,13));</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; header.append(<span class="stringliteral">&quot; | &quot;</span>);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; header.append(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">gatordmock::CentreAlignFormatting</a>(<span class="stringliteral">&quot;Cores&quot;</span>,10));</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; header.append(<span class="stringliteral">&quot;\n&quot;</span>);</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; std::cout &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span> &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; std::cout &lt;&lt; <a class="code" href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">gatordmock::CentreAlignFormatting</a>(<span class="stringliteral">&quot;DEVICES&quot;</span>, static_cast&lt;int&gt;(header.size()));</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; std::cout &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; std::cout &lt;&lt; std::string(header.size(), <span class="charliteral">&#39;=&#39;</span>) &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; std::cout&lt;&lt; header;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; }</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a6c000fcf0c62f7bc417fef72be783129"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a6c000fcf0c62f7bc417fef72be783129">armnn::profiling::CentreAlignFormatting</a></div><div class="ttdeci">std::string CentreAlignFormatting(const std::string &amp;stringToPass, const int spacingWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00858">ProfilingUtils.cpp:858</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad891fb105df9c65e6ea96aaacfa50951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad891fb105df9c65e6ea96aaacfa50951">&#9670;&nbsp;</a></span>m_DeviceCores</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t m_DeviceCores</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00192">192</a> of file <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.hpp</a>.</p>
</div>
</div>
<a id="aed9c307a11b6c1e0f10e989897983af5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed9c307a11b6c1e0f10e989897983af5">&#9670;&nbsp;</a></span>m_DeviceName</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string m_DeviceName</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00193">193</a> of file <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.hpp</a>.</p>
</div>
</div>
<a id="af734583ef63236e643f64bc6f3f93c3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af734583ef63236e643f64bc6f3f93c3d">&#9670;&nbsp;</a></span>m_DeviceUid</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t m_DeviceUid</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml#l00191">191</a> of file <a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>tests/profiling/gatordmock/<a class="el" href="tests_2profiling_2gatordmock_2_counter_directory_8hpp_source.xhtml">CounterDirectory.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="namespacearmnn_1_1gatordmock.xhtml">gatordmock</a></li><li class="navelem"><a class="el" href="structarmnn_1_1gatordmock_1_1_device_record.xhtml">DeviceRecord</a></li>
<li class="footer">Generated on Fri Mar 13 2020 16:09:20 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>