diff options
author | Ryan OShea <Ryan.OShea2@arm.com> | 2020-03-13 16:26:19 +0000 |
---|---|---|
committer | Ryan OShea <Ryan.OShea2@arm.com> | 2020-03-13 16:26:19 +0000 |
commit | de36e4a9c299028e792c3a5bd99ad0816d806077 (patch) | |
tree | 6c71d89db68da1033bb422253cee2970580ed692 /Documentation/classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml | |
parent | 78b26f024641e763c7252198339c83bad8c0982f (diff) | |
download | armnn-de36e4a9c299028e792c3a5bd99ad0816d806077.tar.gz |
IVGCVSW-3726 Upload ArmNN Doxygen files
* Upload current ArmNN Doxygen files
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I8989ed16ee40a99a4495b100bd009cf3e24a7285
Diffstat (limited to 'Documentation/classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml')
-rw-r--r-- | Documentation/classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml | 350 |
1 files changed, 350 insertions, 0 deletions
diff --git a/Documentation/classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml b/Documentation/classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml new file mode 100644 index 0000000000..106095329a --- /dev/null +++ b/Documentation/classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml @@ -0,0 +1,350 @@ +<!-- 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: ProfilingConnectionDumpToFileDecorator 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_profiling_connection_dump_to_file_decorator.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_profiling_connection_dump_to_file_decorator-members.xhtml">List of all members</a> </div> + <div class="headertitle"> +<div class="title">ProfilingConnectionDumpToFileDecorator Class Reference</div> </div> +</div><!--header--> +<div class="contents"> + +<p><code>#include <<a class="el" href="_profiling_connection_dump_to_file_decorator_8hpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.hpp</a>></code></p> +<div class="dynheader"> +Inheritance diagram for ProfilingConnectionDumpToFileDecorator:</div> +<div class="dyncontent"> + <div class="center"> + <img src="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.png" usemap="#ProfilingConnectionDumpToFileDecorator_map" alt=""/> + <map id="ProfilingConnectionDumpToFileDecorator_map" name="ProfilingConnectionDumpToFileDecorator_map"> +<area href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml" alt="IProfilingConnection" shape="rect" coords="0,0,247,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:ae834e67551e458fc584a6a38d0b80729"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#ae834e67551e458fc584a6a38d0b80729">ProfilingConnectionDumpToFileDecorator</a> (std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> > connection, const Runtime::CreationOptions::ExternalProfilingOptions &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>, bool ignoreFailures=<a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a>)</td></tr> +<tr class="separator:ae834e67551e458fc584a6a38d0b80729"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a4b9c0b3d56aa758da95086fe7cc3babf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#a4b9c0b3d56aa758da95086fe7cc3babf">~ProfilingConnectionDumpToFileDecorator</a> ()</td></tr> +<tr class="separator:a4b9c0b3d56aa758da95086fe7cc3babf"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a91bdc9d5497d47f5d707418beb83b140"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#a91bdc9d5497d47f5d707418beb83b140">IsOpen</a> () const override</td></tr> +<tr class="separator:a91bdc9d5497d47f5d707418beb83b140"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0f9aecd570c4e5e6d41337f0e2f1adf5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#a0f9aecd570c4e5e6d41337f0e2f1adf5">Close</a> () override</td></tr> +<tr class="separator:a0f9aecd570c4e5e6d41337f0e2f1adf5"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a42eb542b5a1d73d00c4ce474140bb78c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#a42eb542b5a1d73d00c4ce474140bb78c">WritePacket</a> (const unsigned char *buffer, uint32_t length) override</td></tr> +<tr class="separator:a42eb542b5a1d73d00c4ce474140bb78c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1adbda8257d3a74a0566e0d8407ff458"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_packet.xhtml">Packet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#a1adbda8257d3a74a0566e0d8407ff458">ReadPacket</a> (uint32_t timeout) override</td></tr> +<tr class="separator:a1adbda8257d3a74a0566e0d8407ff458"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a></td></tr> +<tr class="memitem:a8c5a75b8ee005a7aa9391f3991480d74 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml#a8c5a75b8ee005a7aa9391f3991480d74">~IProfilingConnection</a> ()</td></tr> +<tr class="separator:a8c5a75b8ee005a7aa9391f3991480d74 inherit pub_methods_classarmnn_1_1profiling_1_1_i_profiling_connection"><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_connection_dump_to_file_decorator_8hpp_source.xhtml#l00025">25</a> of file <a class="el" href="_profiling_connection_dump_to_file_decorator_8hpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.hpp</a>.</p> +</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> +<a id="ae834e67551e458fc584a6a38d0b80729"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ae834e67551e458fc584a6a38d0b80729">◆ </a></span>ProfilingConnectionDumpToFileDecorator()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml">ProfilingConnectionDumpToFileDecorator</a> </td> + <td>(</td> + <td class="paramtype">std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_profiling_connection.xhtml">IProfilingConnection</a> > </td> + <td class="paramname"><em>connection</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const Runtime::CreationOptions::ExternalProfilingOptions & </td> + <td class="paramname"><em>options</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>ignoreFailures</em> = <code><a class="el" href="_ref_layer_tests_8cpp.xhtml#af3b727ae5a13ff472892ab8bda2eb1b5">false</a></code> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00020">20</a> of file <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  : m_Connection(std::move(connection))</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  , m_Options(<a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a>)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  , m_IgnoreFileErrors(ignoreFailures)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">if</span> (!m_Connection)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Connection cannot be nullptr"</span>);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  }</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.xhtml#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a4b9c0b3d56aa758da95086fe7cc3babf"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a4b9c0b3d56aa758da95086fe7cc3babf">◆ </a></span>~ProfilingConnectionDumpToFileDecorator()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml">ProfilingConnectionDumpToFileDecorator</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_connection_dump_to_file_decorator_8cpp_source.xhtml#l00034">34</a> of file <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00044">ProfilingConnectionDumpToFileDecorator::Close()</a>.</p> +<div class="fragment"><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#a0f9aecd570c4e5e6d41337f0e2f1adf5">Close</a>();</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator_xhtml_a0f9aecd570c4e5e6d41337f0e2f1adf5"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_connection_dump_to_file_decorator.xhtml#a0f9aecd570c4e5e6d41337f0e2f1adf5">armnn::profiling::ProfilingConnectionDumpToFileDecorator::Close</a></div><div class="ttdeci">void Close() override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00044">ProfilingConnectionDumpToFileDecorator.cpp:44</a></div></div> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Member Function Documentation</h2> +<a id="a0f9aecd570c4e5e6d41337f0e2f1adf5"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0f9aecd570c4e5e6d41337f0e2f1adf5">◆ </a></span>Close()</h2> + +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">void Close </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><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_profiling_connection.xhtml#aacb6d0e5e6d570cdc2b0da14c3921ff0">IProfilingConnection</a>.</p> + +<p class="definition">Definition at line <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00044">44</a> of file <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_profiling_connection_dump_to_file_decorator_tests_8cpp_source.xhtml#l00097">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00064">ProfilingConnectionDumpToFileDecorator::ReadPacket()</a>, and <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00034">ProfilingConnectionDumpToFileDecorator::~ProfilingConnectionDumpToFileDecorator()</a>.</p> +<div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  m_IncomingDumpFileStream.flush();</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  m_IncomingDumpFileStream.close();</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  m_OutgoingDumpFileStream.flush();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  m_OutgoingDumpFileStream.close();</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  m_Connection->Close();</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="a91bdc9d5497d47f5d707418beb83b140"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a91bdc9d5497d47f5d707418beb83b140">◆ </a></span>IsOpen()</h2> + +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">bool IsOpen </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">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_profiling_connection.xhtml#a8a3511046982c64efa3e3833d749e5ef">IProfilingConnection</a>.</p> + +<p class="definition">Definition at line <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00039">39</a> of file <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> m_Connection->IsOpen();</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="a1adbda8257d3a74a0566e0d8407ff458"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1adbda8257d3a74a0566e0d8407ff458">◆ </a></span>ReadPacket()</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_packet.xhtml">Packet</a> ReadPacket </td> + <td>(</td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>timeout</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><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_profiling_connection.xhtml#a935e16d85893a31f23cd78e47b85466d">IProfilingConnection</a>.</p> + +<p class="definition">Definition at line <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00064">64</a> of file <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00044">ProfilingConnectionDumpToFileDecorator::Close()</a>, <a class="el" href="_packet_8hpp_source.xhtml#l00075">Packet::GetData()</a>, <a class="el" href="_packet_8hpp_source.xhtml#l00069">Packet::GetHeader()</a>, and <a class="el" href="_packet_8hpp_source.xhtml#l00074">Packet::GetLength()</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_profiling_connection_dump_to_file_decorator_tests_8cpp_source.xhtml#l00079">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  Packet packet = m_Connection->ReadPacket(timeout);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (!m_Options.m_IncomingCaptureFile.empty())</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  {</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  DumpIncomingToFile(packet);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">return</span> packet;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="a42eb542b5a1d73d00c4ce474140bb78c"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a42eb542b5a1d73d00c4ce474140bb78c">◆ </a></span>WritePacket()</h2> + +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">bool WritePacket </td> + <td>(</td> + <td class="paramtype">const unsigned char * </td> + <td class="paramname"><em>buffer</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>length</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">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_profiling_connection.xhtml#ac78c6bd1a545934a805c88194214b09d">IProfilingConnection</a>.</p> + +<p class="definition">Definition at line <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml#l00053">53</a> of file <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_profiling_connection_dump_to_file_decorator_tests_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">bool</span> success = <span class="keyword">true</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">if</span> (!m_Options.m_OutgoingCaptureFile.empty())</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  success &= DumpOutgoingToFile(buffer, length);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  success &= m_Connection->WritePacket(buffer, length);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> success;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }</div></div><!-- fragment --> +</div> +</div> +<hr/>The documentation for this class was generated from the following files:<ul> +<li>src/profiling/<a class="el" href="_profiling_connection_dump_to_file_decorator_8hpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.hpp</a></li> +<li>src/profiling/<a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.xhtml">ProfilingConnectionDumpToFileDecorator.cpp</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_profiling_connection_dump_to_file_decorator.xhtml">ProfilingConnectionDumpToFileDecorator</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> |