blob: 88ea3a442e98ed625244905e59c8b8f3a6a6a2a6 [file] [log] [blame]
<!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="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>
<link href="doxygen.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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ArmNN
&#160;<span id="projectnumber">NotReleased</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_1gatordmock_1_1_timeline_capture_command_handler.html','');});
</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_1gatordmock_1_1_timeline_capture_command_handler-members.html">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.html">TimelineCaptureCommandHandler.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TimelineCaptureCommandHandler:</div>
<div class="dyncontent">
<div class="center">
<img src="classarmnn_1_1gatordmock_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.html" 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:a35df139d146f34d7c4e1738b6b78fc8f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#a35df139d146f34d7c4e1738b6b78fc8f">TimelineCaptureCommandHandler</a> (uint32_t familyId, uint32_t packetId, uint32_t version, <a class="el" href="struct_model.html">Model</a> *model, bool quietOperation=<a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a>)</td></tr>
<tr class="separator:a35df139d146f34d7c4e1738b6b78fc8f"><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_1gatordmock_1_1_timeline_capture_command_handler.html#a7ea1ce1121a51bbea9ea973c3a1463bb">operator()</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_packet.html">armnn::profiling::Packet</a> &amp;packet) override</td></tr>
<tr class="separator:a7ea1ce1121a51bbea9ea973c3a1463bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f01a0932b0d9717f4122ba2cb0ffc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#aa5f01a0932b0d9717f4122ba2cb0ffc8">ReadLabel</a> (const unsigned char *data, uint32_t offset)</td></tr>
<tr class="separator:aa5f01a0932b0d9717f4122ba2cb0ffc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0ce4a9060559e5c129720d4d4ba3ef3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#af0ce4a9060559e5c129720d4d4ba3ef3">ReadEntity</a> (const unsigned char *data, uint32_t offset)</td></tr>
<tr class="separator:af0ce4a9060559e5c129720d4d4ba3ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add29e611d9e007d5b52c8f5ece95b089"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#add29e611d9e007d5b52c8f5ece95b089">ReadEventClass</a> (const unsigned char *data, uint32_t offset)</td></tr>
<tr class="separator:add29e611d9e007d5b52c8f5ece95b089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58a5235ab685b4c83fc93460c952ae48"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#a58a5235ab685b4c83fc93460c952ae48">ReadRelationship</a> (const unsigned char *data, uint32_t offset)</td></tr>
<tr class="separator:a58a5235ab685b4c83fc93460c952ae48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af613cfcb25046c31d83eb4e2c3295c67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#af613cfcb25046c31d83eb4e2c3295c67">ReadEvent</a> (const unsigned char *data, uint32_t offset)</td></tr>
<tr class="separator:af613cfcb25046c31d83eb4e2c3295c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a388f572c62279f839ee138a9afbdeeb5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#a388f572c62279f839ee138a9afbdeeb5">print</a> ()</td></tr>
<tr class="separator:a388f572c62279f839ee138a9afbdeeb5"><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.html">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.html#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.html#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.html#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.html#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.html#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.html#l00020">20</a> of file <a class="el" href="_timeline_capture_command_handler_8hpp_source.html">TimelineCaptureCommandHandler.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a35df139d146f34d7c4e1738b6b78fc8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35df139d146f34d7c4e1738b6b78fc8f">&#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_1gatordmock_1_1_timeline_capture_command_handler.html">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="struct_model.html">Model</a> *&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>quietOperation</em> = <code><a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a></code>&#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.html#l00030">30</a> of file <a class="el" href="_timeline_capture_command_handler_8hpp_source.html">TimelineCaptureCommandHandler.hpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_capture_command_handler_8cpp_source.html#l00139">TimelineCaptureCommandHandler::operator()()</a>, <a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html#a388f572c62279f839ee138a9afbdeeb5">TimelineCaptureCommandHandler::print()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.html#l00069">TimelineCaptureCommandHandler::ReadEntity()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.html#l00119">TimelineCaptureCommandHandler::ReadEvent()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.html#l00082">TimelineCaptureCommandHandler::ReadEventClass()</a>, <a class="el" href="_timeline_capture_command_handler_8cpp_source.html#l00046">TimelineCaptureCommandHandler::ReadLabel()</a>, and <a class="el" href="_timeline_capture_command_handler_8cpp_source.html#l00095">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.html#ad88cf21899e5a0ee2d803eabf3f5dd04">CommandHandlerFunctor</a>(familyId, packetId, version)</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; , m_Model(model)</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; , m_QuietOperation(quietOperation)</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; {}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_command_handler_functor_html_ad88cf21899e5a0ee2d803eabf3f5dd04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_command_handler_functor.html#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.html#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.html">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.html#aee5d34e255ea616c6b4d6877eb3c9fad">CommandHandlerFunctor</a>.</p>
<p class="definition">Definition at line <a class="el" href="_timeline_capture_command_handler_8cpp_source.html#l00139">139</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.html">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="_profiling_utils_8cpp_source.html#l00927">armnn::profiling::CentreAlignFormatting()</a>, <a class="el" href="_timeline_model_8h_source.html#l00070">Model::m_Entities</a>, <a class="el" href="_timeline_model_8h_source.html#l00076">Model::m_EntityCount</a>, <a class="el" href="_timeline_model_8h_source.html#l00079">Model::m_EventClassCount</a>, <a class="el" href="_timeline_model_8h_source.html#l00071">Model::m_EventClasses</a>, <a class="el" href="_timeline_model_8h_source.html#l00082">Model::m_EventCount</a>, <a class="el" href="_timeline_model_8h_source.html#l00072">Model::m_Events</a>, <a class="el" href="_timeline_model_8h_source.html#l00027">Entity::m_Guid</a>, <a class="el" href="_timeline_model_8h_source.html#l00032">EventClass::m_Guid</a>, <a class="el" href="_timeline_model_8h_source.html#l00037">Event::m_Guid</a>, <a class="el" href="_timeline_model_8h_source.html#l00044">Label::m_Guid</a>, <a class="el" href="_timeline_model_8h_source.html#l00051">Relationship::m_Guid</a>, <a class="el" href="_timeline_model_8h_source.html#l00052">Relationship::m_HeadGuid</a>, <a class="el" href="_timeline_model_8h_source.html#l00085">Model::m_LabelCount</a>, <a class="el" href="_timeline_model_8h_source.html#l00073">Model::m_Labels</a>, <a class="el" href="_timeline_model_8h_source.html#l00045">Label::m_Name</a>, <a class="el" href="_timeline_model_8h_source.html#l00088">Model::m_RelationshipCount</a>, <a class="el" href="_timeline_model_8h_source.html#l00074">Model::m_Relationships</a>, <a class="el" href="_timeline_model_8h_source.html#l00050">Relationship::m_RelationshipType</a>, <a class="el" href="_timeline_model_8h_source.html#l00053">Relationship::m_TailGuid</a>, <a class="el" href="_timeline_model_8h_source.html#l00039">Event::m_ThreadId</a>, and <a class="el" href="_timeline_model_8h_source.html#l00038">Event::m_TimeStamp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.html#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;{</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; ParseData(packet);</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a388f572c62279f839ee138a9afbdeeb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a388f572c62279f839ee138a9afbdeeb5">&#9670;&nbsp;</a></span>print()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.html#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
</div>
</div>
<a id="af0ce4a9060559e5c129720d4d4ba3ef3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0ce4a9060559e5c129720d4d4ba3ef3">&#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&#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.html#l00069">69</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.html">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8cpp_source.html#l00008">CreateEntity()</a>, <a class="el" href="_timeline_model_8h_source.html#l00027">Entity::m_Guid</a>, and <a class="el" href="_profiling_utils_8cpp_source.html#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.html#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;{</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="struct_entity.html">Entity</a> entity;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; entity.<a class="code" href="struct_entity.html#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.html#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="_i_timeline_decoder_8h.html#af3f9d20888e2439f00d454df26ff41f6">CreateEntity</a>(entity, m_Model);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">if</span> (!m_QuietOperation)</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; printEntities();</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_html_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="struct_entity_html_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_entity.html#ab6b3b4830bf0417aa54e88663048075a">Entity::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00027">TimelineModel.h:27</a></div></div>
<div class="ttc" id="struct_entity_html"><div class="ttname"><a href="struct_entity.html">Entity</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00025">TimelineModel.h:25</a></div></div>
<div class="ttc" id="_i_timeline_decoder_8h_html_af3f9d20888e2439f00d454df26ff41f6"><div class="ttname"><a href="_i_timeline_decoder_8h.html#af3f9d20888e2439f00d454df26ff41f6">CreateEntity</a></div><div class="ttdeci">ErrorCode CreateEntity(const Entity entity, Model *model)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.html#l00008">TimelineDecoder.cpp:8</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="af613cfcb25046c31d83eb4e2c3295c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af613cfcb25046c31d83eb4e2c3295c67">&#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&#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.html#l00119">119</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.html">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8cpp_source.html#l00028">CreateEvent()</a>, <a class="el" href="_profiling_utils_8cpp_source.html#l00190">armnn::profiling::ReadBytes()</a>, and <a class="el" href="_profiling_utils_8cpp_source.html#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.html#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;{</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="struct_event.html">Event</a> event;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keyword">event</span>.<a class="code" href="struct_event.html#a4e1bfd0b6389cbeace3b7a9d0ed6f199">m_TimeStamp</a> = <a class="code" href="namespacearmnn_1_1profiling.html#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; <span class="keyword">event</span>.m_ThreadId = <span class="keyword">new</span> uint8_t[threadId_size];</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.html#a097646e1b460c992b553061a3436fb47">profiling::ReadBytes</a>(data, offset, threadId_size, event.<a class="code" href="struct_event.html#aae1d38faa818a322015d496c8fc8ded3">m_ThreadId</a>);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; offset += threadId_size;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keyword">event</span>.m_Guid = <a class="code" href="namespacearmnn_1_1profiling.html#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="_i_timeline_decoder_8h.html#a894da549f5f2f719893881c782d44172">CreateEvent</a>(event, m_Model);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">if</span> (!m_QuietOperation)</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; printEvents();</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_html_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="_i_timeline_decoder_8h_html_a894da549f5f2f719893881c782d44172"><div class="ttname"><a href="_i_timeline_decoder_8h.html#a894da549f5f2f719893881c782d44172">CreateEvent</a></div><div class="ttdeci">ErrorCode CreateEvent(const Event event, Model *model)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.html#l00028">TimelineDecoder.cpp:28</a></div></div>
<div class="ttc" id="struct_event_html_a4e1bfd0b6389cbeace3b7a9d0ed6f199"><div class="ttname"><a href="struct_event.html#a4e1bfd0b6389cbeace3b7a9d0ed6f199">Event::m_TimeStamp</a></div><div class="ttdeci">uint64_t m_TimeStamp</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00038">TimelineModel.h:38</a></div></div>
<div class="ttc" id="struct_event_html_aae1d38faa818a322015d496c8fc8ded3"><div class="ttname"><a href="struct_event.html#aae1d38faa818a322015d496c8fc8ded3">Event::m_ThreadId</a></div><div class="ttdeci">unsigned char * m_ThreadId</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00039">TimelineModel.h:39</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_html_a097646e1b460c992b553061a3436fb47"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#a097646e1b460c992b553061a3436fb47">armnn::profiling::ReadBytes</a></div><div class="ttdeci">void ReadBytes(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset, unsigned int valueSize, uint8_t outValue[])</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.html#l00190">ProfilingUtils.cpp:190</a></div></div>
<div class="ttc" id="struct_event_html"><div class="ttname"><a href="struct_event.html">Event</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00035">TimelineModel.h:35</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="add29e611d9e007d5b52c8f5ece95b089"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add29e611d9e007d5b52c8f5ece95b089">&#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&#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.html#l00082">82</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.html">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8cpp_source.html#l00018">CreateEventClass()</a>, <a class="el" href="_timeline_model_8h_source.html#l00032">EventClass::m_Guid</a>, and <a class="el" href="_profiling_utils_8cpp_source.html#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.html#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;{</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="struct_event_class.html">EventClass</a> eventClass;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; eventClass.<a class="code" href="struct_event_class.html#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.html#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="_i_timeline_decoder_8h.html#a16a821d0b49d7330874f0ed5970cf544">CreateEventClass</a>(eventClass, m_Model);</div><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; <span class="keywordflow">if</span> (!m_QuietOperation)</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; printEventClasses();</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_html_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="_i_timeline_decoder_8h_html_a16a821d0b49d7330874f0ed5970cf544"><div class="ttname"><a href="_i_timeline_decoder_8h.html#a16a821d0b49d7330874f0ed5970cf544">CreateEventClass</a></div><div class="ttdeci">ErrorCode CreateEventClass(const EventClass eventClass, Model *model)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.html#l00018">TimelineDecoder.cpp:18</a></div></div>
<div class="ttc" id="struct_event_class_html_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_event_class.html#ab6b3b4830bf0417aa54e88663048075a">EventClass::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00032">TimelineModel.h:32</a></div></div>
<div class="ttc" id="struct_event_class_html"><div class="ttname"><a href="struct_event_class.html">EventClass</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00030">TimelineModel.h:30</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="aa5f01a0932b0d9717f4122ba2cb0ffc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5f01a0932b0d9717f4122ba2cb0ffc8">&#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&#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.html#l00046">46</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.html">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8cpp_source.html#l00038">CreateLabel()</a>, <a class="el" href="_timeline_model_8h_source.html#l00044">Label::m_Guid</a>, <a class="el" href="_timeline_model_8h_source.html#l00045">Label::m_Name</a>, <a class="el" href="_profiling_utils_8cpp_source.html#l00204">armnn::profiling::ReadUint32()</a>, <a class="el" href="_profiling_utils_8cpp_source.html#l00197">armnn::profiling::ReadUint64()</a>, and <a class="el" href="_profiling_utils_8cpp_source.html#l00218">armnn::profiling::ReadUint8()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.html#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;{</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="struct_label.html">Label</a> label;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; label.<a class="code" href="struct_label.html#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.html#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; uint32_t nameLength = <a class="code" href="namespacearmnn_1_1profiling.html#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(data, offset);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; offset += <a class="code" href="namespacearmnn_1_1profiling.html#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</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; label.<a class="code" href="struct_label.html#abfca554ef78790fe659e4ee99667efaf">m_Name</a> = <span class="keyword">new</span> <span class="keywordtype">char</span>[nameLength];</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">for</span> (uint32_t i = 0; i&lt; nameLength; ++i)</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; label.<a class="code" href="struct_label.html#abfca554ef78790fe659e4ee99667efaf">m_Name</a>[i] = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn_1_1profiling.html#a74b483b652cc32f03151b10a1366d607">profiling::ReadUint8</a>(data, offset + i));</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; }</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="_i_timeline_decoder_8h.html#ae6f7128701e6961395111f2abef64f0c">CreateLabel</a>(label, m_Model);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordflow">if</span> (!m_QuietOperation)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; printLabels();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;}</div><div class="ttc" id="namespacearmnn_1_1profiling_html_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_html_aabcf5c25522e8a0542c95174056cfcac"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00021">DirectoryCaptureCommandHandler.cpp:21</a></div></div>
<div class="ttc" id="struct_label_html_abfca554ef78790fe659e4ee99667efaf"><div class="ttname"><a href="struct_label.html#abfca554ef78790fe659e4ee99667efaf">Label::m_Name</a></div><div class="ttdeci">char * m_Name</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00045">TimelineModel.h:45</a></div></div>
<div class="ttc" id="struct_label_html"><div class="ttname"><a href="struct_label.html">Label</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00042">TimelineModel.h:42</a></div></div>
<div class="ttc" id="struct_label_html_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_label.html#ab6b3b4830bf0417aa54e88663048075a">Label::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00044">TimelineModel.h:44</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_html_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_html_a74b483b652cc32f03151b10a1366d607"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00218">ProfilingUtils.cpp:218</a></div></div>
<div class="ttc" id="_i_timeline_decoder_8h_html_ae6f7128701e6961395111f2abef64f0c"><div class="ttname"><a href="_i_timeline_decoder_8h.html#ae6f7128701e6961395111f2abef64f0c">CreateLabel</a></div><div class="ttdeci">ErrorCode CreateLabel(const Label label, Model *model)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.html#l00038">TimelineDecoder.cpp:38</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a58a5235ab685b4c83fc93460c952ae48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58a5235ab685b4c83fc93460c952ae48">&#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&#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.html#l00095">95</a> of file <a class="el" href="_timeline_capture_command_handler_8cpp_source.html">TimelineCaptureCommandHandler.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8cpp_source.html#l00048">CreateRelationship()</a>, <a class="el" href="_timeline_model_8h_source.html#l00051">Relationship::m_Guid</a>, <a class="el" href="_timeline_model_8h_source.html#l00052">Relationship::m_HeadGuid</a>, <a class="el" href="_timeline_model_8h_source.html#l00050">Relationship::m_RelationshipType</a>, <a class="el" href="_timeline_model_8h_source.html#l00053">Relationship::m_TailGuid</a>, <a class="el" href="_profiling_utils_8cpp_source.html#l00204">armnn::profiling::ReadUint32()</a>, and <a class="el" href="_profiling_utils_8cpp_source.html#l00197">armnn::profiling::ReadUint64()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.html#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
<div class="fragment"><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; <a class="code" href="struct_relationship.html">Relationship</a> relationship;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; relationship.<a class="code" href="struct_relationship.html#a750aec9c695a1f1b45b0f95cdf66e8b2">m_RelationshipType</a> = <span class="keyword">static_cast&lt;</span><a class="code" href="_timeline_model_8h.html#afcec9ac4ebf3a53432bbd77a314b0667">RelationshipType</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn_1_1profiling.html#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(data, offset));</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; offset += <a class="code" href="namespacearmnn_1_1profiling.html#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; relationship.<a class="code" href="struct_relationship.html#ab6b3b4830bf0417aa54e88663048075a">m_Guid</a> = <a class="code" href="namespacearmnn_1_1profiling.html#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; offset += uint64_t_size;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; relationship.<a class="code" href="struct_relationship.html#a2abefbf4489623a5e972bd6c03f5f2a0">m_HeadGuid</a> = <a class="code" href="namespacearmnn_1_1profiling.html#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; offset += uint64_t_size;</div><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; relationship.<a class="code" href="struct_relationship.html#aaccf7d573b9dd5a5a71c03a976c2d0a7">m_TailGuid</a> = <a class="code" href="namespacearmnn_1_1profiling.html#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(data, offset);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="code" href="_i_timeline_decoder_8h.html#a9a4ebc2c9b491d72cf406bf6af7a635b">CreateRelationship</a>(relationship, m_Model);</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_QuietOperation)</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; printRelationships();</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;}</div><div class="ttc" id="namespacearmnn_1_1profiling_html_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_html_aabcf5c25522e8a0542c95174056cfcac"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00021">DirectoryCaptureCommandHandler.cpp:21</a></div></div>
<div class="ttc" id="struct_relationship_html"><div class="ttname"><a href="struct_relationship.html">Relationship</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00048">TimelineModel.h:48</a></div></div>
<div class="ttc" id="_i_timeline_decoder_8h_html_a9a4ebc2c9b491d72cf406bf6af7a635b"><div class="ttname"><a href="_i_timeline_decoder_8h.html#a9a4ebc2c9b491d72cf406bf6af7a635b">CreateRelationship</a></div><div class="ttdeci">ErrorCode CreateRelationship(const Relationship relationship, Model *model)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.html#l00048">TimelineDecoder.cpp:48</a></div></div>
<div class="ttc" id="struct_relationship_html_aaccf7d573b9dd5a5a71c03a976c2d0a7"><div class="ttname"><a href="struct_relationship.html#aaccf7d573b9dd5a5a71c03a976c2d0a7">Relationship::m_TailGuid</a></div><div class="ttdeci">uint64_t m_TailGuid</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00053">TimelineModel.h:53</a></div></div>
<div class="ttc" id="struct_relationship_html_a750aec9c695a1f1b45b0f95cdf66e8b2"><div class="ttname"><a href="struct_relationship.html#a750aec9c695a1f1b45b0f95cdf66e8b2">Relationship::m_RelationshipType</a></div><div class="ttdeci">RelationshipType m_RelationshipType</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00050">TimelineModel.h:50</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_html_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.html#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.html#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="_timeline_model_8h_html_afcec9ac4ebf3a53432bbd77a314b0667"><div class="ttname"><a href="_timeline_model_8h.html#afcec9ac4ebf3a53432bbd77a314b0667">RelationshipType</a></div><div class="ttdeci">RelationshipType</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00017">TimelineModel.h:17</a></div></div>
<div class="ttc" id="struct_relationship_html_ab6b3b4830bf0417aa54e88663048075a"><div class="ttname"><a href="struct_relationship.html#ab6b3b4830bf0417aa54e88663048075a">Relationship::m_Guid</a></div><div class="ttdeci">uint64_t m_Guid</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00051">TimelineModel.h:51</a></div></div>
<div class="ttc" id="struct_relationship_html_a2abefbf4489623a5e972bd6c03f5f2a0"><div class="ttname"><a href="struct_relationship.html#a2abefbf4489623a5e972bd6c03f5f2a0">Relationship::m_HeadGuid</a></div><div class="ttdeci">uint64_t m_HeadGuid</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_model_8h_source.html#l00052">TimelineModel.h:52</a></div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>tests/profiling/timelineDecoder/<a class="el" href="_timeline_capture_command_handler_8hpp_source.html">TimelineCaptureCommandHandler.hpp</a></li>
<li>tests/profiling/timelineDecoder/<a class="el" href="_timeline_capture_command_handler_8cpp_source.html">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.html">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1gatordmock.html">gatordmock</a></li><li class="navelem"><a class="el" href="classarmnn_1_1gatordmock_1_1_timeline_capture_command_handler.html">TimelineCaptureCommandHandler</a></li>
<li class="footer">Generated on Fri Mar 13 2020 16:07:05 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>