blob: a4ac36f5d509ddbec0ac99bf159d282de37288e8 [file] [log] [blame]
<!-- Copyright (c) 2020 ARM Limited. -->
<!-- -->
<!-- SPDX-License-Identifier: MIT -->
<!-- -->
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: TimelineCaptureCommandHandler 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">
&#160;<span id="projectnumber">20.02</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler-members.xhtml">List of all members</a> </div>
<div class="headertitle">
<div class="title">TimelineCaptureCommandHandler Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TimelineCaptureCommandHandler:</div>
<div class="dyncontent">
<div class="center">
<img src="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.png" usemap="#TimelineCaptureCommandHandler_map" alt=""/>
<map id="TimelineCaptureCommandHandler_map" name="TimelineCaptureCommandHandler_map">
<area href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml" alt="CommandHandlerFunctor" shape="rect" coords="0,0,203,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:a875ca2e115bd8123b5c651c5ae075316"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml#a875ca2e115bd8123b5c651c5ae075316">TimelineCaptureCommandHandler</a> (uint32_t familyId, uint32_t packetId, uint32_t version, <a class="el" href="class_i_timeline_decoder.xhtml">ITimelineDecoder</a> &amp;timelineDecoder, uint32_t threadId_size)</td></tr>
<tr class="separator:a875ca2e115bd8123b5c651c5ae075316"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ea1ce1121a51bbea9ea973c3a1463bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml#a7ea1ce1121a51bbea9ea973c3a1463bb">operator()</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_packet.xhtml">armnn::profiling::Packet</a> &amp;packet) override</td></tr>
<tr class="separator:a7ea1ce1121a51bbea9ea973c3a1463bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e298f1e8ba499ff18d7782d90e139a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml#a0e298f1e8ba499ff18d7782d90e139a9">ReadLabel</a> (const unsigned char *data, uint32_t &amp;offset)</td></tr>
<tr class="separator:a0e298f1e8ba499ff18d7782d90e139a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d58045cdbfe7ab4496e58b56f34541e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml#a7d58045cdbfe7ab4496e58b56f34541e">ReadEntity</a> (const unsigned char *data, uint32_t &amp;offset)</td></tr>
<tr class="separator:a7d58045cdbfe7ab4496e58b56f34541e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacb012b8adb744b908241b95ff01e621"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml#aacb012b8adb744b908241b95ff01e621">ReadEventClass</a> (const unsigned char *data, uint32_t &amp;offset)</td></tr>
<tr class="separator:aacb012b8adb744b908241b95ff01e621"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2beb16e1994cb5389525c273117ac62e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml#a2beb16e1994cb5389525c273117ac62e">ReadRelationship</a> (const unsigned char *data, uint32_t &amp;offset)</td></tr>
<tr class="separator:a2beb16e1994cb5389525c273117ac62e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7db31415dc7eb7cfb90a6a905da04c57"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml#a7db31415dc7eb7cfb90a6a905da04c57">ReadEvent</a> (const unsigned char *data, uint32_t &amp;offset)</td></tr>
<tr class="separator:a7db31415dc7eb7cfb90a6a905da04c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml">CommandHandlerFunctor</a></td></tr>
<tr class="memitem:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a> (uint32_t familyId, uint32_t packetId, uint32_t version)</td></tr>
<tr class="separator:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a52df705001d502e24a079bd8e0c1e956">GetFamilyId</a> () const</td></tr>
<tr class="separator:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a17b980d48f35a31c27a227e8ceae5402">GetPacketId</a> () const</td></tr>
<tr class="separator:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a7a9568e40773e80ab38c1a7dac4e7089">GetVersion</a> () const</td></tr>
<tr class="separator:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#a05aaf089b3b02e13bc728e2c8c94cb4e">~CommandHandlerFunctor</a> ()</td></tr>
<tr class="separator:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00020">20</a> of file <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a875ca2e115bd8123b5c651c5ae075316"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a875ca2e115bd8123b5c651c5ae075316">&#9670;&nbsp;</a></span>TimelineCaptureCommandHandler()</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_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml">TimelineCaptureCommandHandler</a> </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>familyId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>packetId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>version</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_i_timeline_decoder.xhtml">ITimelineDecoder</a> &amp;&#160;</td>
<td class="paramname"><em>timelineDecoder</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>threadId_size</em>&#160;</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="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">30</a> of file <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml#l00128">TimelineCaptureCommandHandler::operator()()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml#l00071">TimelineCaptureCommandHandler::ReadEntity()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml#l00105">TimelineCaptureCommandHandler::ReadEvent()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml#l00079">TimelineCaptureCommandHandler::ReadEventClass()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml#l00049">TimelineCaptureCommandHandler::ReadLabel()</a>, and <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml#l00087">TimelineCaptureCommandHandler::ReadRelationship()</a>.</p>
<div class="fragment"><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; : <a class="code" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a>(familyId, packetId, version),</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; m_TimelineDecoder(timelineDecoder),</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; m_ThreadIdSize(threadId_size),</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; m_PacketLength(0)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; {}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_functor_xhtml_ad88cf21899e5a0ee2d803eabf3f5dd04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#ad88cf21899e5a0ee2d803eabf3f5dd04">armnn::profiling::CommandHandlerFunctor::CommandHandlerFunctor</a></div><div class="ttdeci">CommandHandlerFunctor(uint32_t familyId, uint32_t packetId, uint32_t version)</div><div class="ttdef"><b>Definition:</b> <a href="_command_handler_functor_8hpp_source.xhtml#l00023">CommandHandlerFunctor.hpp:23</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7ea1ce1121a51bbea9ea973c3a1463bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ea1ce1121a51bbea9ea973c3a1463bb">&#9670;&nbsp;</a></span>operator()()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void operator() </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_packet.xhtml">armnn::profiling::Packet</a> &amp;&#160;</td>
<td class="paramname"><em>packet</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_command_handler_functor.xhtml#aee5d34e255ea616c6b4d6877eb3c9fad">CommandHandlerFunctor</a>.</p>
<p class="definition">Definition at line <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml#l00128">128</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;{</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; ParseData(packet);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a7d58045cdbfe7ab4496e58b56f34541e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d58045cdbfe7ab4496e58b56f34541e">&#9670;&nbsp;</a></span>ReadEntity()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ReadEntity </td>
<td>(</td>
<td class="paramtype">const unsigned char *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t &amp;&#160;</td>
<td class="paramname"><em>offset</em>&#160;</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="_timeline_capture_command_handler_8cpp_source.xhtml#l00071">71</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="class_i_timeline_decoder.xhtml#a39eef4619be7051ac1c62c71bdabd248">ITimelineDecoder::CreateEntity()</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00032">ITimelineDecoder::Entity::m_Guid</a>, and <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;{</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="struct_i_timeline_decoder_1_1_entity.xhtml">ITimelineDecoder::Entity</a> entity;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; entity.<a class="code" href="struct_i_timeline_decoder_1_1_entity.xhtml#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; m_TimelineDecoder.<a class="code" href="class_i_timeline_decoder.xhtml#a39eef4619be7051ac1c62c71bdabd248">CreateEntity</a>(entity);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">armnn::profiling::ReadUint64</a></div><div class="ttdeci">uint64_t ReadUint64(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_a39eef4619be7051ac1c62c71bdabd248"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#a39eef4619be7051ac1c62c71bdabd248">ITimelineDecoder::CreateEntity</a></div><div class="ttdeci">virtual TimelineStatus CreateEntity(const Entity &amp;)=0</div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_entity_xhtml_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_entity.xhtml#ab6b3b4830bf0417aa54e88663048075a">ITimelineDecoder::Entity::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00032">ITimelineDecoder.hpp:32</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_entity_xhtml"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_entity.xhtml">ITimelineDecoder::Entity</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00030">ITimelineDecoder.hpp:30</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a7db31415dc7eb7cfb90a6a905da04c57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7db31415dc7eb7cfb90a6a905da04c57">&#9670;&nbsp;</a></span>ReadEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ReadEvent </td>
<td>(</td>
<td class="paramtype">const unsigned char *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t &amp;&#160;</td>
<td class="paramname"><em>offset</em>&#160;</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="_timeline_capture_command_handler_8cpp_source.xhtml#l00105">105</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="class_i_timeline_decoder.xhtml#a83984ef549a8492f6711fd48c936b472">ITimelineDecoder::CreateEvent()</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00043">ITimelineDecoder::Event::m_TimeStamp</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00204">armnn::profiling::ReadUint32()</a>, and <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;{</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="struct_i_timeline_decoder_1_1_event.xhtml">ITimelineDecoder::Event</a> event;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keyword">event</span>.<a class="code" href="struct_i_timeline_decoder_1_1_event.xhtml#a4e1bfd0b6389cbeace3b7a9d0ed6f199">m_TimeStamp</a> = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordflow">if</span> ( m_ThreadIdSize == 4 )</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">event</span>.m_ThreadId = <a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(data, offset);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( m_ThreadIdSize == 8 )</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keyword">event</span>.m_ThreadId = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; offset += m_ThreadIdSize;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keyword">event</span>.m_Guid = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; m_TimelineDecoder.<a class="code" href="class_i_timeline_decoder.xhtml#a83984ef549a8492f6711fd48c936b472">CreateEvent</a>(event);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">armnn::profiling::ReadUint64</a></div><div class="ttdeci">uint64_t ReadUint64(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_a83984ef549a8492f6711fd48c936b472"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#a83984ef549a8492f6711fd48c936b472">ITimelineDecoder::CreateEvent</a></div><div class="ttdeci">virtual TimelineStatus CreateEvent(const Event &amp;)=0</div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_event_xhtml_a4e1bfd0b6389cbeace3b7a9d0ed6f199"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_event.xhtml#a4e1bfd0b6389cbeace3b7a9d0ed6f199">ITimelineDecoder::Event::m_TimeStamp</a></div><div class="ttdeci">uint64_t m_TimeStamp</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00043">ITimelineDecoder.hpp:43</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">armnn::profiling::ReadUint32</a></div><div class="ttdeci">uint32_t ReadUint32(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_event_xhtml"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_event.xhtml">ITimelineDecoder::Event</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00040">ITimelineDecoder.hpp:40</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="aacb012b8adb744b908241b95ff01e621"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacb012b8adb744b908241b95ff01e621">&#9670;&nbsp;</a></span>ReadEventClass()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ReadEventClass </td>
<td>(</td>
<td class="paramtype">const unsigned char *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t &amp;&#160;</td>
<td class="paramname"><em>offset</em>&#160;</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="_timeline_capture_command_handler_8cpp_source.xhtml#l00079">79</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="class_i_timeline_decoder.xhtml#a678c5d8abc10bc4b1936523483e8da8d">ITimelineDecoder::CreateEventClass()</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00037">ITimelineDecoder::EventClass::m_Guid</a>, and <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;{</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="struct_i_timeline_decoder_1_1_event_class.xhtml">ITimelineDecoder::EventClass</a> eventClass;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; eventClass.<a class="code" href="struct_i_timeline_decoder_1_1_event_class.xhtml#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; m_TimelineDecoder.<a class="code" href="class_i_timeline_decoder.xhtml#a678c5d8abc10bc4b1936523483e8da8d">CreateEventClass</a>(eventClass);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">armnn::profiling::ReadUint64</a></div><div class="ttdeci">uint64_t ReadUint64(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_event_class_xhtml_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_event_class.xhtml#ab6b3b4830bf0417aa54e88663048075a">ITimelineDecoder::EventClass::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00037">ITimelineDecoder.hpp:37</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_event_class_xhtml"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_event_class.xhtml">ITimelineDecoder::EventClass</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00035">ITimelineDecoder.hpp:35</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_a678c5d8abc10bc4b1936523483e8da8d"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#a678c5d8abc10bc4b1936523483e8da8d">ITimelineDecoder::CreateEventClass</a></div><div class="ttdeci">virtual TimelineStatus CreateEventClass(const EventClass &amp;)=0</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a0e298f1e8ba499ff18d7782d90e139a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e298f1e8ba499ff18d7782d90e139a9">&#9670;&nbsp;</a></span>ReadLabel()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ReadLabel </td>
<td>(</td>
<td class="paramtype">const unsigned char *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t &amp;&#160;</td>
<td class="paramname"><em>offset</em>&#160;</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="_timeline_capture_command_handler_8cpp_source.xhtml#l00049">49</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="class_i_timeline_decoder.xhtml#adcad6f6c71d39d9b1b7863eb50804323">ITimelineDecoder::CreateLabel()</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00049">ITimelineDecoder::Label::m_Guid</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00050">ITimelineDecoder::Label::m_Name</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00204">armnn::profiling::ReadUint32()</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00197">armnn::profiling::ReadUint64()</a>, and <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00218">armnn::profiling::ReadUint8()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;{</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a> label;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; label.<a class="code" href="struct_i_timeline_decoder_1_1_label.xhtml#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; uint32_t nameLength = <a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(data, offset);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; offset += <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; uint32_t i = 0;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="comment">// nameLength - 1 to account for null operator \0</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">for</span> ( i = 0; i &lt; nameLength - 1; ++i )</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; label.<a class="code" href="struct_i_timeline_decoder_1_1_label.xhtml#ab13844df5477a9ab8f13069e3d8abad6">m_Name</a> += <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn_1_1profiling.xhtml#a74b483b652cc32f03151b10a1366d607">profiling::ReadUint8</a>(data, offset + i));</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="comment">// Shift offset past nameLength</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; uint32_t uint32WordAmount = (nameLength / <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>) + (nameLength % <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a> != 0 ? 1 : 0);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; offset += uint32WordAmount * <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; m_TimelineDecoder.<a class="code" href="class_i_timeline_decoder.xhtml#adcad6f6c71d39d9b1b7863eb50804323">CreateLabel</a>(label);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;}</div><div class="ttc" id="struct_i_timeline_decoder_1_1_label_xhtml_ab13844df5477a9ab8f13069e3d8abad6"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_label.xhtml#ab13844df5477a9ab8f13069e3d8abad6">ITimelineDecoder::Label::m_Name</a></div><div class="ttdeci">std::string m_Name</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00050">ITimelineDecoder.hpp:50</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">armnn::profiling::ReadUint64</a></div><div class="ttdeci">uint64_t ReadUint64(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_adcad6f6c71d39d9b1b7863eb50804323"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#adcad6f6c71d39d9b1b7863eb50804323">ITimelineDecoder::CreateLabel</a></div><div class="ttdeci">virtual TimelineStatus CreateLabel(const Label &amp;)=0</div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a74b483b652cc32f03151b10a1366d607"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a74b483b652cc32f03151b10a1366d607">armnn::profiling::ReadUint8</a></div><div class="ttdeci">uint8_t ReadUint8(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00218">ProfilingUtils.cpp:218</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">armnn::profiling::ReadUint32</a></div><div class="ttdeci">uint32_t ReadUint32(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aabcf5c25522e8a0542c95174056cfcac"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">armnn::profiling::uint32_t_size</a></div><div class="ttdeci">uint32_t uint32_t_size</div><div class="ttdef"><b>Definition:</b> <a href="_directory_capture_command_handler_8cpp_source.xhtml#l00021">DirectoryCaptureCommandHandler.cpp:21</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_label_xhtml_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_label.xhtml#ab6b3b4830bf0417aa54e88663048075a">ITimelineDecoder::Label::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00049">ITimelineDecoder.hpp:49</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_label_xhtml"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00047">ITimelineDecoder.hpp:47</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a2beb16e1994cb5389525c273117ac62e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2beb16e1994cb5389525c273117ac62e">&#9670;&nbsp;</a></span>ReadRelationship()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ReadRelationship </td>
<td>(</td>
<td class="paramtype">const unsigned char *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t &amp;&#160;</td>
<td class="paramname"><em>offset</em>&#160;</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="_timeline_capture_command_handler_8cpp_source.xhtml#l00087">87</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="class_i_timeline_decoder.xhtml#ae3dc53e6af44cab02cc709e03fbf171a">ITimelineDecoder::CreateRelationship()</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00056">ITimelineDecoder::Relationship::m_Guid</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00057">ITimelineDecoder::Relationship::m_HeadGuid</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00055">ITimelineDecoder::Relationship::m_RelationshipType</a>, <a class="el" href="_i_timeline_decoder_8hpp_source.xhtml#l00058">ITimelineDecoder::Relationship::m_TailGuid</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00204">armnn::profiling::ReadUint32()</a>, and <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;{</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a> relationship;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; relationship.<a class="code" href="struct_i_timeline_decoder_1_1_relationship.xhtml#a750aec9c695a1f1b45b0f95cdf66e8b2">m_RelationshipType</a> =</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keyword">static_cast&lt;</span><a class="code" href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667">ITimelineDecoder::RelationshipType</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(data, offset));</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; offset += <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; relationship.<a class="code" href="struct_i_timeline_decoder_1_1_relationship.xhtml#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; relationship.<a class="code" href="struct_i_timeline_decoder_1_1_relationship.xhtml#a2abefbf4489623a5e972bd6c03f5f2a0">m_HeadGuid</a> = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; relationship.<a class="code" href="struct_i_timeline_decoder_1_1_relationship.xhtml#aaccf7d573b9dd5a5a71c03a976c2d0a7">m_TailGuid</a> = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; m_TimelineDecoder.<a class="code" href="class_i_timeline_decoder.xhtml#ae3dc53e6af44cab02cc709e03fbf171a">CreateRelationship</a>(relationship);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">armnn::profiling::ReadUint64</a></div><div class="ttdeci">uint64_t ReadUint64(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_ae3dc53e6af44cab02cc709e03fbf171a"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#ae3dc53e6af44cab02cc709e03fbf171a">ITimelineDecoder::CreateRelationship</a></div><div class="ttdeci">virtual TimelineStatus CreateRelationship(const Relationship &amp;)=0</div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_relationship_xhtml_a750aec9c695a1f1b45b0f95cdf66e8b2"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_relationship.xhtml#a750aec9c695a1f1b45b0f95cdf66e8b2">ITimelineDecoder::Relationship::m_RelationshipType</a></div><div class="ttdeci">RelationshipType m_RelationshipType</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00055">ITimelineDecoder.hpp:55</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_relationship_xhtml"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00053">ITimelineDecoder.hpp:53</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_relationship_xhtml_a2abefbf4489623a5e972bd6c03f5f2a0"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_relationship.xhtml#a2abefbf4489623a5e972bd6c03f5f2a0">ITimelineDecoder::Relationship::m_HeadGuid</a></div><div class="ttdeci">uint64_t m_HeadGuid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00057">ITimelineDecoder.hpp:57</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">armnn::profiling::ReadUint32</a></div><div class="ttdeci">uint32_t ReadUint32(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_relationship_xhtml_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_relationship.xhtml#ab6b3b4830bf0417aa54e88663048075a">ITimelineDecoder::Relationship::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00056">ITimelineDecoder.hpp:56</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aabcf5c25522e8a0542c95174056cfcac"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">armnn::profiling::uint32_t_size</a></div><div class="ttdeci">uint32_t uint32_t_size</div><div class="ttdef"><b>Definition:</b> <a href="_directory_capture_command_handler_8cpp_source.xhtml#l00021">DirectoryCaptureCommandHandler.cpp:21</a></div></div>
<div class="ttc" id="struct_i_timeline_decoder_1_1_relationship_xhtml_aaccf7d573b9dd5a5a71c03a976c2d0a7"><div class="ttname"><a href="struct_i_timeline_decoder_1_1_relationship.xhtml#aaccf7d573b9dd5a5a71c03a976c2d0a7">ITimelineDecoder::Relationship::m_TailGuid</a></div><div class="ttdeci">uint64_t m_TailGuid</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00058">ITimelineDecoder.hpp:58</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_afcec9ac4ebf3a53432bbd77a314b0667"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667">ITimelineDecoder::RelationshipType</a></div><div class="ttdeci">RelationshipType</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00022">ITimelineDecoder.hpp:22</a></div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/timelineDecoder/<a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a></li>
<li>src/timelineDecoder/<a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.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_1timelinedecoder.xhtml">timelinedecoder</a></li><li class="navelem"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml">TimelineCaptureCommandHandler</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>