IVGCVSW-3726 Upload ArmNN Doxygen files
* Upload current ArmNN Doxygen files
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I8989ed16ee40a99a4495b100bd009cf3e24a7285
diff --git a/Documentation/classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml b/Documentation/classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml
new file mode 100644
index 0000000..165c397
--- /dev/null
+++ b/Documentation/classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml
@@ -0,0 +1,837 @@
+<!-- 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: MockCounterDirectory 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">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('classarmnn_1_1profiling_1_1_mock_counter_directory.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="classarmnn_1_1profiling_1_1_mock_counter_directory-members.xhtml">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">MockCounterDirectory Class Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>></code></p>
+<div class="dynheader">
+Inheritance diagram for MockCounterDirectory:</div>
+<div class="dyncontent">
+ <div class="center">
+ <img src="classarmnn_1_1profiling_1_1_mock_counter_directory.png" usemap="#MockCounterDirectory_map" alt=""/>
+ <map id="MockCounterDirectory_map" name="MockCounterDirectory_map">
+<area href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml" alt="ICounterDirectory" shape="rect" coords="0,0,141,24"/>
+</map>
+ </div></div>
+<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:acc27c4a7afbfde5c1efa5cc070306fd8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#acc27c4a7afbfde5c1efa5cc070306fd8">MockCounterDirectory</a> ()=default</td></tr>
+<tr class="separator:acc27c4a7afbfde5c1efa5cc070306fd8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a180f0ad0d134cd8ea5eb89c663ae00b0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a180f0ad0d134cd8ea5eb89c663ae00b0">~MockCounterDirectory</a> ()=default</td></tr>
+<tr class="separator:a180f0ad0d134cd8ea5eb89c663ae00b0"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac44342ac08725d8f5dd52e2ee93ca20d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_category.xhtml">Category</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#ac44342ac08725d8f5dd52e2ee93ca20d">RegisterCategory</a> (const std::string &categoryName)</td></tr>
+<tr class="separator:ac44342ac08725d8f5dd52e2ee93ca20d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a1819a5a244fd4317b6dcd49cdbf67a2d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_device.xhtml">Device</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a1819a5a244fd4317b6dcd49cdbf67a2d">RegisterDevice</a> (const std::string &deviceName, uint16_t cores=0)</td></tr>
+<tr class="separator:a1819a5a244fd4317b6dcd49cdbf67a2d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae0d8bd45562c0887985b1be728640bbc"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_counter_set.xhtml">CounterSet</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#ae0d8bd45562c0887985b1be728640bbc">RegisterCounterSet</a> (const std::string &counterSetName, uint16_t count=0)</td></tr>
+<tr class="separator:ae0d8bd45562c0887985b1be728640bbc"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a130d8f6cbda6d299aeb355d4abcc5f95"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_counter.xhtml">Counter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a130d8f6cbda6d299aeb355d4abcc5f95">RegisterCounter</a> (const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &backendId, const uint16_t uid, const std::string &parentCategoryName, uint16_t counterClass, uint16_t interpolation, double multiplier, const std::string &name, const std::string &description, const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< std::string > &units=<a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>(), const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< uint16_t > &numberOfCores=<a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>(), const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< uint16_t > &deviceUid=<a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>(), const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< uint16_t > &counterSetUid=<a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>())</td></tr>
+<tr class="separator:a130d8f6cbda6d299aeb355d4abcc5f95"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4626db62503c13042a745a40399f8317"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a4626db62503c13042a745a40399f8317">GetCategoryCount</a> () const override</td></tr>
+<tr class="separator:a4626db62503c13042a745a40399f8317"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad742b37bc2beb568e083225f3fd8160b"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#ad742b37bc2beb568e083225f3fd8160b">GetDeviceCount</a> () const override</td></tr>
+<tr class="separator:ad742b37bc2beb568e083225f3fd8160b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae3b7dbaa7317dacbcec25f30f6a16075"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#ae3b7dbaa7317dacbcec25f30f6a16075">GetCounterSetCount</a> () const override</td></tr>
+<tr class="separator:ae3b7dbaa7317dacbcec25f30f6a16075"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad9062caad1836f8e6b810e4e97bb19d1"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#ad9062caad1836f8e6b810e4e97bb19d1">GetCounterCount</a> () const override</td></tr>
+<tr class="separator:ad9062caad1836f8e6b810e4e97bb19d1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:af55b37f13ace15889ce8a0b18dda3ed9"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#af55bc6e5233a4720fe8a813db470b06f">Categories</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#af55b37f13ace15889ce8a0b18dda3ed9">GetCategories</a> () const override</td></tr>
+<tr class="separator:af55b37f13ace15889ce8a0b18dda3ed9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac9bdbed464222fa06875096a4f373ca8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#a3ff1066867cb9bd3b08338957c414401">Devices</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#ac9bdbed464222fa06875096a4f373ca8">GetDevices</a> () const override</td></tr>
+<tr class="separator:ac9bdbed464222fa06875096a4f373ca8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:afcb72c4151fd72abfffcb7dae0ed2817"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#acfe20da73b5dc66439a65b49f04f7a21">CounterSets</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#afcb72c4151fd72abfffcb7dae0ed2817">GetCounterSets</a> () const override</td></tr>
+<tr class="separator:afcb72c4151fd72abfffcb7dae0ed2817"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a6d7f92b987338cab6cbfbad8d53a9738"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#aeeb6904ffbae435c8d0a7138427688f4">Counters</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a6d7f92b987338cab6cbfbad8d53a9738">GetCounters</a> () const override</td></tr>
+<tr class="separator:a6d7f92b987338cab6cbfbad8d53a9738"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a739170f2a39056dd19a09216092fd089"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_category.xhtml">Category</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a739170f2a39056dd19a09216092fd089">GetCategory</a> (const std::string &name) const override</td></tr>
+<tr class="separator:a739170f2a39056dd19a09216092fd089"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a5fa9a7091e79fb9c5c0af5f663c71df1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_device.xhtml">Device</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a5fa9a7091e79fb9c5c0af5f663c71df1">GetDevice</a> (uint16_t uid) const override</td></tr>
+<tr class="separator:a5fa9a7091e79fb9c5c0af5f663c71df1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:af96ac62d23f06a90b7e36fca3f13367b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_counter_set.xhtml">CounterSet</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#af96ac62d23f06a90b7e36fca3f13367b">GetCounterSet</a> (uint16_t uid) const override</td></tr>
+<tr class="separator:af96ac62d23f06a90b7e36fca3f13367b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab2aecc9a0ed092f50b752d30a40bb31a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_counter.xhtml">Counter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#ab2aecc9a0ed092f50b752d30a40bb31a">GetCounter</a> (uint16_t uid) const override</td></tr>
+<tr class="separator:ab2aecc9a0ed092f50b752d30a40bb31a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_counter_directory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_counter_directory')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml">ICounterDirectory</a></td></tr>
+<tr class="memitem:ad5186479ccb3343cad2dcf8a288bede1 inherit pub_methods_classarmnn_1_1profiling_1_1_i_counter_directory"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#ad5186479ccb3343cad2dcf8a288bede1">~ICounterDirectory</a> ()</td></tr>
+<tr class="separator:ad5186479ccb3343cad2dcf8a288bede1 inherit pub_methods_classarmnn_1_1profiling_1_1_i_counter_directory"><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="_profiling_mocks_8hpp_source.xhtml#l00439">439</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
+<a id="acc27c4a7afbfde5c1efa5cc070306fd8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acc27c4a7afbfde5c1efa5cc070306fd8">◆ </a></span>MockCounterDirectory()</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_1profiling_1_1_mock_counter_directory.xhtml">MockCounterDirectory</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="a180f0ad0d134cd8ea5eb89c663ae00b0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a180f0ad0d134cd8ea5eb89c663ae00b0">◆ </a></span>~MockCounterDirectory()</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_1profiling_1_1_mock_counter_directory.xhtml">MockCounterDirectory</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>
+<h2 class="groupheader">Member Function Documentation</h2>
+<a id="af55b37f13ace15889ce8a0b18dda3ed9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af55b37f13ace15889ce8a0b18dda3ed9">◆ </a></span>GetCategories()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#af55bc6e5233a4720fe8a813db470b06f">Categories</a>& GetCategories </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#a718a75d4c178cf3f687b3f27b8f55091">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00575">575</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00575"></a><span class="lineno"> 575</span> { <span class="keywordflow">return</span> m_Categories; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a739170f2a39056dd19a09216092fd089"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a739170f2a39056dd19a09216092fd089">◆ </a></span>GetCategory()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_category.xhtml">Category</a>* GetCategory </td>
+ <td>(</td>
+ <td class="paramtype">const std::string & </td>
+ <td class="paramname"><em>name</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#a90890aee41059d8fed244538acc4044f">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00581">581</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  {</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  <span class="keyword">auto</span> it = std::find_if(m_Categories.begin(), m_Categories.end(), [&name](<span class="keyword">const</span> <a class="code" href="namespacearmnn_1_1profiling.xhtml#a8adee535828386656b4c8acfa8bcf871">CategoryPtr</a>& category)</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  {</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span>  BOOST_ASSERT(category);</div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span> </div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>  <span class="keywordflow">return</span> category->m_Name == name;</div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  });</div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span> </div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  <span class="keywordflow">if</span> (it == m_Categories.end())</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  {</div><div class="line"><a name="l00592"></a><span class="lineno"> 592</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00593"></a><span class="lineno"> 593</span>  }</div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span> </div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  <span class="keywordflow">return</span> it->get();</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  }</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a8adee535828386656b4c8acfa8bcf871"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a8adee535828386656b4c8acfa8bcf871">armnn::profiling::CategoryPtr</a></div><div class="ttdeci">std::unique_ptr< Category > CategoryPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_directory_8hpp_source.xhtml#l00031">ICounterDirectory.hpp:31</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a4626db62503c13042a745a40399f8317"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4626db62503c13042a745a40399f8317">◆ </a></span>GetCategoryCount()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint16_t GetCategoryCount </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#ab43b0472c37fe51694977ae9b4132404">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00569">569</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_numeric_cast_8hpp_source.xhtml#l00033">armnn::numeric_cast()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01643">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00569"></a><span class="lineno"> 569</span> { <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">boost::numeric_cast</a><uint16_t>(m_Categories.size()); }</div><div class="ttc" id="namespacearmnn_xhtml_a37fa39012e90d568df7f774cd6d1e956"><div class="ttname"><a href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">armnn::numeric_cast</a></div><div class="ttdeci">std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)</div><div class="ttdef"><b>Definition:</b> <a href="_numeric_cast_8hpp_source.xhtml#l00033">NumericCast.hpp:33</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ab2aecc9a0ed092f50b752d30a40bb31a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab2aecc9a0ed092f50b752d30a40bb31a">◆ </a></span>GetCounter()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_counter.xhtml">Counter</a>* GetCounter </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>uid</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#a81881e3910b23455b46ec30c8420c695">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00610">610</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</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>  <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">IgnoreUnused</a>(uid);</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>; <span class="comment">// Not used by the unit tests</span></div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span>  }</div><div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &&...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ad9062caad1836f8e6b810e4e97bb19d1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad9062caad1836f8e6b810e4e97bb19d1">◆ </a></span>GetCounterCount()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint16_t GetCounterCount </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#acab78d0987a9cca5a9cac957be610a7d">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00572">572</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_numeric_cast_8hpp_source.xhtml#l00033">armnn::numeric_cast()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01693">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00572"></a><span class="lineno"> 572</span> { <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">boost::numeric_cast</a><uint16_t>(m_Counters.size()); }</div><div class="ttc" id="namespacearmnn_xhtml_a37fa39012e90d568df7f774cd6d1e956"><div class="ttname"><a href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">armnn::numeric_cast</a></div><div class="ttdeci">std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)</div><div class="ttdef"><b>Definition:</b> <a href="_numeric_cast_8hpp_source.xhtml#l00033">NumericCast.hpp:33</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a6d7f92b987338cab6cbfbad8d53a9738"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a6d7f92b987338cab6cbfbad8d53a9738">◆ </a></span>GetCounters()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#aeeb6904ffbae435c8d0a7138427688f4">Counters</a>& GetCounters </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#ad9fa9b8364fcaa2c940ef8e78eff8df2">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00578">578</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00578"></a><span class="lineno"> 578</span> { <span class="keywordflow">return</span> m_Counters; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="af96ac62d23f06a90b7e36fca3f13367b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af96ac62d23f06a90b7e36fca3f13367b">◆ </a></span>GetCounterSet()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_counter_set.xhtml">CounterSet</a>* GetCounterSet </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>uid</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#a67693dcf840ffeadc066ce77ef7b2044">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00604">604</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</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>  <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">IgnoreUnused</a>(uid);</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>; <span class="comment">// Not used by the unit tests</span></div><div class="line"><a name="l00608"></a><span class="lineno"> 608</span>  }</div><div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &&...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ae3b7dbaa7317dacbcec25f30f6a16075"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae3b7dbaa7317dacbcec25f30f6a16075">◆ </a></span>GetCounterSetCount()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint16_t GetCounterSetCount </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#aef59fdca57a5bb822e22cacfc5836fab">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00571">571</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_numeric_cast_8hpp_source.xhtml#l00033">armnn::numeric_cast()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01625">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00571"></a><span class="lineno"> 571</span> { <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">boost::numeric_cast</a><uint16_t>(m_CounterSets.size()); }</div><div class="ttc" id="namespacearmnn_xhtml_a37fa39012e90d568df7f774cd6d1e956"><div class="ttname"><a href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">armnn::numeric_cast</a></div><div class="ttdeci">std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)</div><div class="ttdef"><b>Definition:</b> <a href="_numeric_cast_8hpp_source.xhtml#l00033">NumericCast.hpp:33</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="afcb72c4151fd72abfffcb7dae0ed2817"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afcb72c4151fd72abfffcb7dae0ed2817">◆ </a></span>GetCounterSets()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#acfe20da73b5dc66439a65b49f04f7a21">CounterSets</a>& GetCounterSets </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#a8908490db3b8a0003a639ac56b956cee">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00577">577</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00577"></a><span class="lineno"> 577</span> { <span class="keywordflow">return</span> m_CounterSets; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a5fa9a7091e79fb9c5c0af5f663c71df1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5fa9a7091e79fb9c5c0af5f663c71df1">◆ </a></span>GetDevice()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_device.xhtml">Device</a>* GetDevice </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>uid</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#a228989d3c53e86e779567ca5c2033ec2">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00598">598</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00599"></a><span class="lineno"> 599</span>  {</div><div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">IgnoreUnused</a>(uid);</div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>; <span class="comment">// Not used by the unit tests</span></div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  }</div><div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &&...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ad742b37bc2beb568e083225f3fd8160b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad742b37bc2beb568e083225f3fd8160b">◆ </a></span>GetDeviceCount()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">uint16_t GetDeviceCount </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#aecd5912045fd41fe41dc96c9844f6deb">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00570">570</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_numeric_cast_8hpp_source.xhtml#l00033">armnn::numeric_cast()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01607">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> { <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">boost::numeric_cast</a><uint16_t>(m_Devices.size()); }</div><div class="ttc" id="namespacearmnn_xhtml_a37fa39012e90d568df7f774cd6d1e956"><div class="ttname"><a href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">armnn::numeric_cast</a></div><div class="ttdeci">std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)</div><div class="ttdef"><b>Definition:</b> <a href="_numeric_cast_8hpp_source.xhtml#l00033">NumericCast.hpp:33</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ac9bdbed464222fa06875096a4f373ca8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac9bdbed464222fa06875096a4f373ca8">◆ </a></span>GetDevices()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="namespacearmnn_1_1profiling.xhtml#a3ff1066867cb9bd3b08338957c414401">Devices</a>& GetDevices </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_i_counter_directory.xhtml#a98e6769cb933d30bfd3ca25f61bd8438">ICounterDirectory</a>.</p>
+
+<p class="definition">Definition at line <a class="el" href="_profiling_mocks_8hpp_source.xhtml#l00576">576</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00576"></a><span class="lineno"> 576</span> { <span class="keywordflow">return</span> m_Devices; }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="ac44342ac08725d8f5dd52e2ee93ca20d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac44342ac08725d8f5dd52e2ee93ca20d">◆ </a></span>RegisterCategory()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_category.xhtml">Category</a>* RegisterCategory </td>
+ <td>(</td>
+ <td class="paramtype">const std::string & </td>
+ <td class="paramname"><em>categoryName</em></td><td>)</td>
+ <td></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="_profiling_mocks_8hpp_source.xhtml#l00446">446</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01643">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  {</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="comment">// Create the category</span></div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <a class="code" href="namespacearmnn_1_1profiling.xhtml#a8adee535828386656b4c8acfa8bcf871">CategoryPtr</a> category = std::make_unique<Category>(categoryName);</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  BOOST_ASSERT(category);</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span> </div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="comment">// Get the raw category pointer</span></div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="keyword">const</span> Category* categoryPtr = category.get();</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  BOOST_ASSERT(categoryPtr);</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="comment">// Register the category</span></div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  m_Categories.insert(std::move(category));</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span> </div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordflow">return</span> categoryPtr;</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  }</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a8adee535828386656b4c8acfa8bcf871"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a8adee535828386656b4c8acfa8bcf871">armnn::profiling::CategoryPtr</a></div><div class="ttdeci">std::unique_ptr< Category > CategoryPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_directory_8hpp_source.xhtml#l00031">ICounterDirectory.hpp:31</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a130d8f6cbda6d299aeb355d4abcc5f95"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a130d8f6cbda6d299aeb355d4abcc5f95">◆ </a></span>RegisterCounter()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_counter.xhtml">Counter</a>* RegisterCounter </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> & </td>
+ <td class="paramname"><em>backendId</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const uint16_t </td>
+ <td class="paramname"><em>uid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::string & </td>
+ <td class="paramname"><em>parentCategoryName</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>counterClass</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>interpolation</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">double </td>
+ <td class="paramname"><em>multiplier</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></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 std::string & </td>
+ <td class="paramname"><em>description</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< std::string > & </td>
+ <td class="paramname"><em>units</em> = <code><a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>()</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< uint16_t > & </td>
+ <td class="paramname"><em>numberOfCores</em> = <code><a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>()</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< uint16_t > & </td>
+ <td class="paramname"><em>deviceUid</em> = <code><a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>()</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.xhtml">armnn::Optional</a>< uint16_t > & </td>
+ <td class="paramname"><em>counterSetUid</em> = <code><a class="el" href="structarmnn_1_1_empty_optional.xhtml">armnn::EmptyOptional</a>()</code> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></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="_profiling_mocks_8hpp_source.xhtml#l00503">503</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00074">armnn::profiling::GetNextCounterUids()</a>, <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</a>, and <a class="el" href="_i_counter_directory_8hpp_source.xhtml#l00060">Category::m_Counters</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01693">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  {</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">IgnoreUnused</a>(backendId);</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span> </div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  <span class="comment">// Get the number of cores from the argument only</span></div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  uint16_t deviceCores = numberOfCores.<a class="code" href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>() ? numberOfCores.<a class="code" href="classarmnn_1_1_optional_reference_switch.xhtml#a77c7d528ac063d870b8c8426ec81c1c3">value</a>() : 0;</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span> </div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  <span class="comment">// Get the device UID</span></div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  uint16_t deviceUidValue = deviceUid.<a class="code" href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>() ? deviceUid.<a class="code" href="classarmnn_1_1_optional_reference_switch.xhtml#a77c7d528ac063d870b8c8426ec81c1c3">value</a>() : 0;</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span> </div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  <span class="comment">// Get the counter set UID</span></div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  uint16_t counterSetUidValue = counterSetUid.<a class="code" href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>() ? counterSetUid.<a class="code" href="classarmnn_1_1_optional_reference_switch.xhtml#a77c7d528ac063d870b8c8426ec81c1c3">value</a>() : 0;</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span> </div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  <span class="comment">// Get the counter UIDs and calculate the max counter UID</span></div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  std::vector<uint16_t> counterUids = <a class="code" href="namespacearmnn_1_1profiling.xhtml#a6605c82bc625fbd40f24d35edee15fe3">GetNextCounterUids</a>(uid, deviceCores);</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  BOOST_ASSERT(!counterUids.empty());</div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  uint16_t maxCounterUid = deviceCores <= 1 ? counterUids.front() : counterUids.back();</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span> </div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  <span class="comment">// Get the counter units</span></div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  <span class="keyword">const</span> std::string unitsValue = units.<a class="code" href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>() ? units.<a class="code" href="classarmnn_1_1_optional_reference_switch.xhtml#a77c7d528ac063d870b8c8426ec81c1c3">value</a>() : <span class="stringliteral">""</span>;</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span> </div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  <span class="comment">// Create the counter</span></div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span>  <a class="code" href="namespacearmnn_1_1profiling.xhtml#a38de53725b010ce63ea7557bb1d270e7">CounterPtr</a> counter = std::make_shared<Counter>(armnn::profiling::BACKEND_ID,</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  counterUids.front(),</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  maxCounterUid,</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  counterClass,</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  interpolation,</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  multiplier,</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  name,</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  description,</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  unitsValue,</div><div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  deviceUidValue,</div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  counterSetUidValue);</div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span>  BOOST_ASSERT(counter);</div><div class="line"><a name="l00548"></a><span class="lineno"> 548</span> </div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="comment">// Get the raw counter pointer</span></div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  <span class="keyword">const</span> Counter* counterPtr = counter.get();</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  BOOST_ASSERT(counterPtr);</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span> </div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  <span class="comment">// Process multiple counters if necessary</span></div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span>  <span class="keywordflow">for</span> (uint16_t counterUid : counterUids)</div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  {</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <span class="comment">// Connect the counter to the parent category</span></div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  Category* parentCategory = <span class="keyword">const_cast<</span>Category*<span class="keyword">></span>(<a class="code" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a739170f2a39056dd19a09216092fd089">GetCategory</a>(parentCategoryName));</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  BOOST_ASSERT(parentCategory);</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span>  parentCategory->m_Counters.push_back(counterUid);</div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span> </div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  <span class="comment">// Register the counter</span></div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  m_Counters.insert(std::make_pair(counterUid, counter));</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  }</div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span> </div><div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <span class="keywordflow">return</span> counterPtr;</div><div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  }</div><div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &&...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div>
+<div class="ttc" id="classarmnn_1_1_optional_reference_switch_xhtml_a77c7d528ac063d870b8c8426ec81c1c3"><div class="ttname"><a href="classarmnn_1_1_optional_reference_switch.xhtml#a77c7d528ac063d870b8c8426ec81c1c3">armnn::OptionalReferenceSwitch< std::is_reference< T >::value, T >::value</a></div><div class="ttdeci">const T & value() const</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00146">Optional.hpp:146</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a38de53725b010ce63ea7557bb1d270e7"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a38de53725b010ce63ea7557bb1d270e7">armnn::profiling::CounterPtr</a></div><div class="ttdeci">std::shared_ptr< Counter > CounterPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_directory_8hpp_source.xhtml#l00034">ICounterDirectory.hpp:34</a></div></div>
+<div class="ttc" id="classarmnn_1_1_optional_base_xhtml_a86b749ce2c4bc627fa8a1fcfaf0e314f"><div class="ttname"><a href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">armnn::OptionalBase::has_value</a></div><div class="ttdeci">bool has_value() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00053">Optional.hpp:53</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a6605c82bc625fbd40f24d35edee15fe3"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a6605c82bc625fbd40f24d35edee15fe3">armnn::profiling::GetNextCounterUids</a></div><div class="ttdeci">std::vector< uint16_t > GetNextCounterUids(uint16_t firstUid, uint16_t cores)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00074">ProfilingUtils.cpp:74</a></div></div>
+<div class="ttc" id="classarmnn_1_1profiling_1_1_mock_counter_directory_xhtml_a739170f2a39056dd19a09216092fd089"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml#a739170f2a39056dd19a09216092fd089">armnn::profiling::MockCounterDirectory::GetCategory</a></div><div class="ttdeci">const Category * GetCategory(const std::string &name) const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_mocks_8hpp_source.xhtml#l00581">ProfilingMocks.hpp:581</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ae0d8bd45562c0887985b1be728640bbc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae0d8bd45562c0887985b1be728640bbc">◆ </a></span>RegisterCounterSet()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_counter_set.xhtml">CounterSet</a>* RegisterCounterSet </td>
+ <td>(</td>
+ <td class="paramtype">const std::string & </td>
+ <td class="paramname"><em>counterSetName</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>count</em> = <code>0</code> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></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="_profiling_mocks_8hpp_source.xhtml#l00482">482</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00054">armnn::profiling::GetNextUid()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01625">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  {</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="comment">// Get the counter set UID</span></div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  uint16_t counterSetUid = <a class="code" href="namespacearmnn_1_1profiling.xhtml#a982b094fe2faa67a3560cdaf3901d0f8">GetNextUid</a>();</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span> </div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  <span class="comment">// Create the counter set</span></div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <a class="code" href="namespacearmnn_1_1profiling.xhtml#abaedc7fcb8ecb2e086482afe10737fb7">CounterSetPtr</a> counterSet = std::make_unique<CounterSet>(counterSetUid, counterSetName, count);</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  BOOST_ASSERT(counterSet);</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="comment">// Get the raw counter set pointer</span></div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keyword">const</span> CounterSet* counterSetPtr = counterSet.get();</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  BOOST_ASSERT(counterSetPtr);</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span> </div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="comment">// Register the counter set</span></div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  m_CounterSets.insert(std::make_pair(counterSetUid, std::move(counterSet)));</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> </div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <span class="keywordflow">return</span> counterSetPtr;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  }</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_abaedc7fcb8ecb2e086482afe10737fb7"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#abaedc7fcb8ecb2e086482afe10737fb7">armnn::profiling::CounterSetPtr</a></div><div class="ttdeci">std::unique_ptr< CounterSet > CounterSetPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_directory_8hpp_source.xhtml#l00033">ICounterDirectory.hpp:33</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a982b094fe2faa67a3560cdaf3901d0f8"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a982b094fe2faa67a3560cdaf3901d0f8">armnn::profiling::GetNextUid</a></div><div class="ttdeci">uint16_t GetNextUid(bool peekOnly)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00054">ProfilingUtils.cpp:54</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a1819a5a244fd4317b6dcd49cdbf67a2d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1819a5a244fd4317b6dcd49cdbf67a2d">◆ </a></span>RegisterDevice()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="classarmnn_1_1profiling_1_1_device.xhtml">Device</a>* RegisterDevice </td>
+ <td>(</td>
+ <td class="paramtype">const std::string & </td>
+ <td class="paramname"><em>deviceName</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>cores</em> = <code>0</code> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></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="_profiling_mocks_8hpp_source.xhtml#l00462">462</a> of file <a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.hpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00054">armnn::profiling::GetNextUid()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_send_counter_packet_tests_8cpp_source.xhtml#l01607">BOOST_AUTO_TEST_CASE()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  {</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="comment">// Get the device UID</span></div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  uint16_t deviceUid = <a class="code" href="namespacearmnn_1_1profiling.xhtml#a982b094fe2faa67a3560cdaf3901d0f8">GetNextUid</a>();</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span> </div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="comment">// Create the device</span></div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <a class="code" href="namespacearmnn_1_1profiling.xhtml#a22a0d730c0d08335585e6e8999be8f8b">DevicePtr</a> device = std::make_unique<Device>(deviceUid, deviceName, cores);</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  BOOST_ASSERT(device);</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="comment">// Get the raw device pointer</span></div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keyword">const</span> Device* devicePtr = device.get();</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  BOOST_ASSERT(devicePtr);</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <span class="comment">// Register the device</span></div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  m_Devices.insert(std::make_pair(deviceUid, std::move(device)));</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span> </div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <span class="keywordflow">return</span> devicePtr;</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  }</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a22a0d730c0d08335585e6e8999be8f8b"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a22a0d730c0d08335585e6e8999be8f8b">armnn::profiling::DevicePtr</a></div><div class="ttdeci">std::unique_ptr< Device > DevicePtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_counter_directory_8hpp_source.xhtml#l00032">ICounterDirectory.hpp:32</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a982b094fe2faa67a3560cdaf3901d0f8"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a982b094fe2faa67a3560cdaf3901d0f8">armnn::profiling::GetNextUid</a></div><div class="ttdeci">uint16_t GetNextUid(bool peekOnly)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00054">ProfilingUtils.cpp:54</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following file:<ul>
+<li>src/profiling/test/<a class="el" href="_profiling_mocks_8hpp_source.xhtml">ProfilingMocks.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_1profiling.xhtml">profiling</a></li><li class="navelem"><a class="el" href="classarmnn_1_1profiling_1_1_mock_counter_directory.xhtml">MockCounterDirectory</a></li>
+ <li class="footer">Generated on Fri Mar 13 2020 16:09:21 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>