blob: a4ac36f5d509ddbec0ac99bf159d282de37288e8 [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!-- Copyright (c) 2020 ARM Limited. -->
2<!-- -->
3<!-- SPDX-License-Identifier: MIT -->
4<!-- -->
5<!-- HTML header for doxygen 1.8.13-->
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7<html xmlns="http://www.w3.org/1999/xhtml">
8<head>
9<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
10<meta http-equiv="X-UA-Compatible" content="IE=9"/>
11<meta name="generator" content="Doxygen 1.8.13"/>
12<meta name="robots" content="NOINDEX, NOFOLLOW" />
13<meta name="viewport" content="width=device-width, initial-scale=1"/>
14<title>ArmNN: TimelineCaptureCommandHandler Class Reference</title>
15<link href="tabs.css" rel="stylesheet" type="text/css"/>
16<script type="text/javascript" src="jquery.js"></script>
17<script type="text/javascript" src="dynsections.js"></script>
18<link href="navtree.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="resize.js"></script>
20<script type="text/javascript" src="navtreedata.js"></script>
21<script type="text/javascript" src="navtree.js"></script>
22<script type="text/javascript">
23 $(document).ready(initResizable);
24</script>
25<link href="search/search.css" rel="stylesheet" type="text/css"/>
26<script type="text/javascript" src="search/searchdata.js"></script>
27<script type="text/javascript" src="search/search.js"></script>
28<script type="text/x-mathjax-config">
29 MathJax.Hub.Config({
30 extensions: ["tex2jax.js"],
31 jax: ["input/TeX","output/HTML-CSS"],
32});
33</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
34<link href="doxygen.css" rel="stylesheet" type="text/css" />
35<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
36</head>
37<body>
38<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
39<div id="titlearea">
40<table cellspacing="0" cellpadding="0">
41 <tbody>
42 <tr style="height: 56px;">
43 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
44 <td style="padding-left: 0.5em;">
45 <div id="projectname">
46 &#160;<span id="projectnumber">20.02</span>
47 </div>
48 </td>
49 </tr>
50 </tbody>
51</table>
52</div>
53<!-- end header part -->
54<!-- Generated by Doxygen 1.8.13 -->
55<script type="text/javascript">
56var searchBox = new SearchBox("searchBox", "search",false,'Search');
57</script>
58<script type="text/javascript" src="menudata.js"></script>
59<script type="text/javascript" src="menu.js"></script>
60<script type="text/javascript">
61$(function() {
62 initMenu('',true,false,'search.php','Search');
63 $(document).ready(function() { init_search(); });
64});
65</script>
66<div id="main-nav"></div>
67</div><!-- top -->
68<div id="side-nav" class="ui-resizable side-nav-resizable">
69 <div id="nav-tree">
70 <div id="nav-tree-contents">
71 <div id="nav-sync" class="sync"></div>
72 </div>
73 </div>
74 <div id="splitbar" style="-moz-user-select:none;"
75 class="ui-resizable-handle">
76 </div>
77</div>
78<script type="text/javascript">
79$(document).ready(function(){initNavTree('classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml','');});
80</script>
81<div id="doc-content">
82<!-- window showing the filter options -->
83<div id="MSearchSelectWindow"
84 onmouseover="return searchBox.OnSearchSelectShow()"
85 onmouseout="return searchBox.OnSearchSelectHide()"
86 onkeydown="return searchBox.OnSearchSelectKey(event)">
87</div>
88
89<!-- iframe showing the search results (closed by default) -->
90<div id="MSearchResultsWindow">
91<iframe src="javascript:void(0)" frameborder="0"
92 name="MSearchResults" id="MSearchResults">
93</iframe>
94</div>
95
96<div class="header">
97 <div class="summary">
98<a href="#pub-methods">Public Member Functions</a> &#124;
99<a href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler-members.xhtml">List of all members</a> </div>
100 <div class="headertitle">
101<div class="title">TimelineCaptureCommandHandler Class Reference</div> </div>
102</div><!--header-->
103<div class="contents">
104
105<p><code>#include &lt;<a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a>&gt;</code></p>
106<div class="dynheader">
107Inheritance diagram for TimelineCaptureCommandHandler:</div>
108<div class="dyncontent">
109 <div class="center">
110 <img src="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.png" usemap="#TimelineCaptureCommandHandler_map" alt=""/>
111 <map id="TimelineCaptureCommandHandler_map" name="TimelineCaptureCommandHandler_map">
112<area href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml" alt="CommandHandlerFunctor" shape="rect" coords="0,0,203,24"/>
113</map>
114 </div></div>
115<table class="memberdecls">
116<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
117Public Member Functions</h2></td></tr>
118<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>
119<tr class="separator:a875ca2e115bd8123b5c651c5ae075316"><td class="memSeparator" colspan="2">&#160;</td></tr>
120<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>
121<tr class="separator:a7ea1ce1121a51bbea9ea973c3a1463bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
122<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>
123<tr class="separator:a0e298f1e8ba499ff18d7782d90e139a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
124<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>
125<tr class="separator:a7d58045cdbfe7ab4496e58b56f34541e"><td class="memSeparator" colspan="2">&#160;</td></tr>
126<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>
127<tr class="separator:aacb012b8adb744b908241b95ff01e621"><td class="memSeparator" colspan="2">&#160;</td></tr>
128<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>
129<tr class="separator:a2beb16e1994cb5389525c273117ac62e"><td class="memSeparator" colspan="2">&#160;</td></tr>
130<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>
131<tr class="separator:a7db31415dc7eb7cfb90a6a905da04c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
132<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>
133<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>
134<tr class="separator:ad88cf21899e5a0ee2d803eabf3f5dd04 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
135<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>
136<tr class="separator:a52df705001d502e24a079bd8e0c1e956 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
137<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>
138<tr class="separator:a17b980d48f35a31c27a227e8ceae5402 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
139<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>
140<tr class="separator:a7a9568e40773e80ab38c1a7dac4e7089 inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<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>
142<tr class="separator:a05aaf089b3b02e13bc728e2c8c94cb4e inherit pub_methods_classarmnn_1_1profiling_1_1_command_handler_functor"><td class="memSeparator" colspan="2">&#160;</td></tr>
143</table>
144<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
145<div class="textblock">
146<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>
147</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
148<a id="a875ca2e115bd8123b5c651c5ae075316"></a>
149<h2 class="memtitle"><span class="permalink"><a href="#a875ca2e115bd8123b5c651c5ae075316">&#9670;&nbsp;</a></span>TimelineCaptureCommandHandler()</h2>
150
151<div class="memitem">
152<div class="memproto">
153<table class="mlabels">
154 <tr>
155 <td class="mlabels-left">
156 <table class="memname">
157 <tr>
158 <td class="memname"><a class="el" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml">TimelineCaptureCommandHandler</a> </td>
159 <td>(</td>
160 <td class="paramtype">uint32_t&#160;</td>
161 <td class="paramname"><em>familyId</em>, </td>
162 </tr>
163 <tr>
164 <td class="paramkey"></td>
165 <td></td>
166 <td class="paramtype">uint32_t&#160;</td>
167 <td class="paramname"><em>packetId</em>, </td>
168 </tr>
169 <tr>
170 <td class="paramkey"></td>
171 <td></td>
172 <td class="paramtype">uint32_t&#160;</td>
173 <td class="paramname"><em>version</em>, </td>
174 </tr>
175 <tr>
176 <td class="paramkey"></td>
177 <td></td>
178 <td class="paramtype"><a class="el" href="class_i_timeline_decoder.xhtml">ITimelineDecoder</a> &amp;&#160;</td>
179 <td class="paramname"><em>timelineDecoder</em>, </td>
180 </tr>
181 <tr>
182 <td class="paramkey"></td>
183 <td></td>
184 <td class="paramtype">uint32_t&#160;</td>
185 <td class="paramname"><em>threadId_size</em>&#160;</td>
186 </tr>
187 <tr>
188 <td></td>
189 <td>)</td>
190 <td></td><td></td>
191 </tr>
192 </table>
193 </td>
194 <td class="mlabels-right">
195<span class="mlabels"><span class="mlabel">inline</span></span> </td>
196 </tr>
197</table>
198</div><div class="memdoc">
199
200<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>
201
202<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>
203<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>
204</div><!-- fragment -->
205</div>
206</div>
207<h2 class="groupheader">Member Function Documentation</h2>
208<a id="a7ea1ce1121a51bbea9ea973c3a1463bb"></a>
209<h2 class="memtitle"><span class="permalink"><a href="#a7ea1ce1121a51bbea9ea973c3a1463bb">&#9670;&nbsp;</a></span>operator()()</h2>
210
211<div class="memitem">
212<div class="memproto">
213<table class="mlabels">
214 <tr>
215 <td class="mlabels-left">
216 <table class="memname">
217 <tr>
218 <td class="memname">void operator() </td>
219 <td>(</td>
220 <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_packet.xhtml">armnn::profiling::Packet</a> &amp;&#160;</td>
221 <td class="paramname"><em>packet</em></td><td>)</td>
222 <td></td>
223 </tr>
224 </table>
225 </td>
226 <td class="mlabels-right">
227<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
228 </tr>
229</table>
230</div><div class="memdoc">
231
232<p>Implements <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml#aee5d34e255ea616c6b4d6877eb3c9fad">CommandHandlerFunctor</a>.</p>
233
234<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>
235
236<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
237<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 -->
238</div>
239</div>
240<a id="a7d58045cdbfe7ab4496e58b56f34541e"></a>
241<h2 class="memtitle"><span class="permalink"><a href="#a7d58045cdbfe7ab4496e58b56f34541e">&#9670;&nbsp;</a></span>ReadEntity()</h2>
242
243<div class="memitem">
244<div class="memproto">
245 <table class="memname">
246 <tr>
247 <td class="memname">void ReadEntity </td>
248 <td>(</td>
249 <td class="paramtype">const unsigned char *&#160;</td>
250 <td class="paramname"><em>data</em>, </td>
251 </tr>
252 <tr>
253 <td class="paramkey"></td>
254 <td></td>
255 <td class="paramtype">uint32_t &amp;&#160;</td>
256 <td class="paramname"><em>offset</em>&#160;</td>
257 </tr>
258 <tr>
259 <td></td>
260 <td>)</td>
261 <td></td><td></td>
262 </tr>
263 </table>
264</div><div class="memdoc">
265
266<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>
267
268<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>
269
270<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
271<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>
272<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>
273<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>
274<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>
275</div><!-- fragment -->
276</div>
277</div>
278<a id="a7db31415dc7eb7cfb90a6a905da04c57"></a>
279<h2 class="memtitle"><span class="permalink"><a href="#a7db31415dc7eb7cfb90a6a905da04c57">&#9670;&nbsp;</a></span>ReadEvent()</h2>
280
281<div class="memitem">
282<div class="memproto">
283 <table class="memname">
284 <tr>
285 <td class="memname">void ReadEvent </td>
286 <td>(</td>
287 <td class="paramtype">const unsigned char *&#160;</td>
288 <td class="paramname"><em>data</em>, </td>
289 </tr>
290 <tr>
291 <td class="paramkey"></td>
292 <td></td>
293 <td class="paramtype">uint32_t &amp;&#160;</td>
294 <td class="paramname"><em>offset</em>&#160;</td>
295 </tr>
296 <tr>
297 <td></td>
298 <td>)</td>
299 <td></td><td></td>
300 </tr>
301 </table>
302</div><div class="memdoc">
303
304<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>
305
306<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>
307
308<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
309<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>
310<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>
311<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>
312<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>
313<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>
314</div><!-- fragment -->
315</div>
316</div>
317<a id="aacb012b8adb744b908241b95ff01e621"></a>
318<h2 class="memtitle"><span class="permalink"><a href="#aacb012b8adb744b908241b95ff01e621">&#9670;&nbsp;</a></span>ReadEventClass()</h2>
319
320<div class="memitem">
321<div class="memproto">
322 <table class="memname">
323 <tr>
324 <td class="memname">void ReadEventClass </td>
325 <td>(</td>
326 <td class="paramtype">const unsigned char *&#160;</td>
327 <td class="paramname"><em>data</em>, </td>
328 </tr>
329 <tr>
330 <td class="paramkey"></td>
331 <td></td>
332 <td class="paramtype">uint32_t &amp;&#160;</td>
333 <td class="paramname"><em>offset</em>&#160;</td>
334 </tr>
335 <tr>
336 <td></td>
337 <td>)</td>
338 <td></td><td></td>
339 </tr>
340 </table>
341</div><div class="memdoc">
342
343<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>
344
345<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>
346
347<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
348<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>
349<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>
350<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>
351<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>
352</div><!-- fragment -->
353</div>
354</div>
355<a id="a0e298f1e8ba499ff18d7782d90e139a9"></a>
356<h2 class="memtitle"><span class="permalink"><a href="#a0e298f1e8ba499ff18d7782d90e139a9">&#9670;&nbsp;</a></span>ReadLabel()</h2>
357
358<div class="memitem">
359<div class="memproto">
360 <table class="memname">
361 <tr>
362 <td class="memname">void ReadLabel </td>
363 <td>(</td>
364 <td class="paramtype">const unsigned char *&#160;</td>
365 <td class="paramname"><em>data</em>, </td>
366 </tr>
367 <tr>
368 <td class="paramkey"></td>
369 <td></td>
370 <td class="paramtype">uint32_t &amp;&#160;</td>
371 <td class="paramname"><em>offset</em>&#160;</td>
372 </tr>
373 <tr>
374 <td></td>
375 <td>)</td>
376 <td></td><td></td>
377 </tr>
378 </table>
379</div><div class="memdoc">
380
381<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>
382
383<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>
384
385<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
386<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>
387<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>
388<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>
389<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>
390<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>
391<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>
392<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>
393<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>
394</div><!-- fragment -->
395</div>
396</div>
397<a id="a2beb16e1994cb5389525c273117ac62e"></a>
398<h2 class="memtitle"><span class="permalink"><a href="#a2beb16e1994cb5389525c273117ac62e">&#9670;&nbsp;</a></span>ReadRelationship()</h2>
399
400<div class="memitem">
401<div class="memproto">
402 <table class="memname">
403 <tr>
404 <td class="memname">void ReadRelationship </td>
405 <td>(</td>
406 <td class="paramtype">const unsigned char *&#160;</td>
407 <td class="paramname"><em>data</em>, </td>
408 </tr>
409 <tr>
410 <td class="paramkey"></td>
411 <td></td>
412 <td class="paramtype">uint32_t &amp;&#160;</td>
413 <td class="paramname"><em>offset</em>&#160;</td>
414 </tr>
415 <tr>
416 <td></td>
417 <td>)</td>
418 <td></td><td></td>
419 </tr>
420 </table>
421</div><div class="memdoc">
422
423<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>
424
425<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>
426
427<p class="reference">Referenced by <a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml#l00030">TimelineCaptureCommandHandler::TimelineCaptureCommandHandler()</a>.</p>
428<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>
429<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>
430<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>
431<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>
432<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>
433<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>
434<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>
435<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>
436<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>
437<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>
438</div><!-- fragment -->
439</div>
440</div>
441<hr/>The documentation for this class was generated from the following files:<ul>
442<li>src/timelineDecoder/<a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a></li>
443<li>src/timelineDecoder/<a class="el" href="_timeline_capture_command_handler_8cpp_source.xhtml">TimelineCaptureCommandHandler.cpp</a></li>
444</ul>
445</div><!-- contents -->
446</div><!-- doc-content -->
447<!-- start footer part -->
448<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
449 <ul>
450 <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>
451 <li class="footer">Generated on Fri Mar 13 2020 16:09:21 for ArmNN by
452 <a href="http://www.doxygen.org/index.html">
453 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
454 </ul>
455</div>
456</body>
457</html>