blob: 35048437f9cb9f46da0290c63ce95c385476937b [file] [log] [blame]
<!-- Copyright (c) 2020 ARM Limited. -->
<!-- -->
<!-- SPDX-License-Identifier: MIT -->
<!-- -->
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: src/timelineDecoder/tests/TimelineTests.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">20.02</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_timeline_tests_8cpp.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">TimelineTests.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_timeline_directory_capture_command_handler_8hpp_source.xhtml">TimelineDirectoryCaptureCommandHandler.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_timeline_decoder_8hpp_source.xhtml">TimelineDecoder.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_command_handler_functor_8hpp_source.xhtml">CommandHandlerFunctor.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_packet_buffer_8hpp_source.xhtml">PacketBuffer.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_timeline_packet_writer_factory_8hpp_source.xhtml">TimelinePacketWriterFactory.hpp</a>&gt;</code><br />
<code>#include &lt;boost/test/test_tools.hpp&gt;</code><br />
<code>#include &lt;boost/test/unit_test_suite.hpp&gt;</code><br />
</div>
<p><a href="_timeline_tests_8cpp_source.xhtml">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac7f0a814e6156ecdbcfa323befed6645"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a> (const unsigned char *packetBuffer, <a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml">profiling::CommandHandlerFunctor</a> &amp;<a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml">CommandHandler</a>)</td></tr>
<tr class="separator:ac7f0a814e6156ecdbcfa323befed6645"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d037fb2a573ca0e8b284ff0f4ba4b5b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a5d037fb2a573ca0e8b284ff0f4ba4b5b">PushEntity</a> (<a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;model, const <a class="el" href="struct_i_timeline_decoder_1_1_entity.xhtml">ITimelineDecoder::Entity</a> entity)</td></tr>
<tr class="separator:a5d037fb2a573ca0e8b284ff0f4ba4b5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b3046bf976af84f1afaf90604fdb5a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a3b3046bf976af84f1afaf90604fdb5a5">PushEventClass</a> (<a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;model, const <a class="el" href="struct_i_timeline_decoder_1_1_event_class.xhtml">ITimelineDecoder::EventClass</a> eventClass)</td></tr>
<tr class="separator:a3b3046bf976af84f1afaf90604fdb5a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a152615febf988e6fc95d7e3284f0b139"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a152615febf988e6fc95d7e3284f0b139">PushEvent</a> (<a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;model, const <a class="el" href="struct_i_timeline_decoder_1_1_event.xhtml">ITimelineDecoder::Event</a> event)</td></tr>
<tr class="separator:a152615febf988e6fc95d7e3284f0b139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3941381c7ffa8b2804d4d5708abd488"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#ad3941381c7ffa8b2804d4d5708abd488">PushLabel</a> (<a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;model, const <a class="el" href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a> label)</td></tr>
<tr class="separator:ad3941381c7ffa8b2804d4d5708abd488"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f9ab9422ed7d18bdc693338d3e5e6b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a5f9ab9422ed7d18bdc693338d3e5e6b6">PushRelationship</a> (<a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;model, const <a class="el" href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a> relationship)</td></tr>
<tr class="separator:a5f9ab9422ed7d18bdc693338d3e5e6b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48319064222492223dfa27d2ea4b6774"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a48319064222492223dfa27d2ea4b6774">BOOST_AUTO_TEST_CASE</a> (TimelineDirectoryTest)</td></tr>
<tr class="separator:a48319064222492223dfa27d2ea4b6774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa50403517c534c8fb2ee7d6ff102a60f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#aa50403517c534c8fb2ee7d6ff102a60f">BOOST_AUTO_TEST_CASE</a> (TimelineCaptureTest)</td></tr>
<tr class="separator:aa50403517c534c8fb2ee7d6ff102a60f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c3d8093d05ab9aaef39f204123a5d80"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a0c3d8093d05ab9aaef39f204123a5d80">BOOST_AUTO_TEST_CASE</a> (TimelineCaptureTestMultipleStringsInBuffer)</td></tr>
<tr class="separator:a0c3d8093d05ab9aaef39f204123a5d80"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a48319064222492223dfa27d2ea4b6774"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48319064222492223dfa27d2ea4b6774">&#9670;&nbsp;</a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BOOST_AUTO_TEST_CASE </td>
<td>(</td>
<td class="paramtype">TimelineDirectoryTest&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00071">71</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="_encode_version_8hpp_source.xhtml#l00045">Version::GetEncodedValue()</a>, <a class="el" href="_buffer_manager_8cpp_source.xhtml#l00089">BufferManager::GetReadableBuffer()</a>, <a class="el" href="_timeline_packet_writer_factory_8cpp_source.xhtml#l00016">TimelinePacketWriterFactory::GetSendTimelinePacket()</a>, <a class="el" href="_profiling_utils_8hpp_source.xhtml#l00042">SwTraceMessage::m_ArgNames</a>, <a class="el" href="_profiling_utils_8hpp_source.xhtml#l00041">SwTraceMessage::m_ArgTypes</a>, <a class="el" href="_profiling_utils_8hpp_source.xhtml#l00038">SwTraceMessage::m_Id</a>, <a class="el" href="_profiling_utils_8hpp_source.xhtml#l00039">SwTraceMessage::m_Name</a>, <a class="el" href="_profiling_utils_8hpp_source.xhtml#l00040">SwTraceMessage::m_UiName</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00320">armnn::profiling::ReadSwTraceMessage()</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00204">armnn::profiling::ReadUint32()</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00218">armnn::profiling::ReadUint8()</a>, <a class="el" href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver::ResolvePacketVersion()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00023">SendTimelinePacketToCommandHandler()</a>, and <a class="el" href="_directory_capture_command_handler_8cpp_source.xhtml#l00021">armnn::profiling::uint32_t_size</a>.</p>
<div class="fragment"><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;{</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; uint32_t uint8_t_size = <span class="keyword">sizeof</span>(uint8_t);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; uint32_t <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a> = <span class="keyword">sizeof</span>(uint32_t);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; uint32_t uint64_t_size = <span class="keyword">sizeof</span>(uint64_t);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; uint32_t threadId_size = <span class="keyword">sizeof</span>(std::thread::id);</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; <a class="code" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">profiling::BufferManager</a> bufferManager(5);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">profiling::TimelinePacketWriterFactory</a> timelinePacketWriterFactory(bufferManager);</div><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; std::unique_ptr&lt;profiling::ISendTimelinePacket&gt; sendTimelinePacket =</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; timelinePacketWriterFactory.GetSendTimelinePacket();</div><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="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">profiling::PacketVersionResolver</a> packetVersionResolver;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_directory_capture_command_handler.xhtml">TimelineDirectoryCaptureCommandHandler</a> timelineDirectoryCaptureCommandHandler(</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; 1, 0, packetVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(1, 0).<a class="code" href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(), <span class="keyword">true</span>);</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; sendTimelinePacket-&gt;SendTimelineMessageDirectoryPackage();</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; sendTimelinePacket-&gt;Commit();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; std::vector&lt;profiling::SwTraceMessage&gt; swTraceBufferMessages;</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; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> offset = uint32_t_size * 2;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; std::unique_ptr&lt;profiling::IPacketBuffer&gt; packetBuffer = bufferManager.GetReadableBuffer();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; uint8_t readStreamVersion = <a class="code" href="namespacearmnn_1_1profiling.xhtml#a74b483b652cc32f03151b10a1366d607">ReadUint8</a>(packetBuffer, offset);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(readStreamVersion == 4);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; offset += uint8_t_size;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; uint8_t readPointerBytes = <a class="code" href="namespacearmnn_1_1profiling.xhtml#a74b483b652cc32f03151b10a1366d607">ReadUint8</a>(packetBuffer, offset);</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(readPointerBytes == uint64_t_size);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; offset += uint8_t_size;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; uint8_t readThreadIdBytes = <a class="code" href="namespacearmnn_1_1profiling.xhtml#a74b483b652cc32f03151b10a1366d607">ReadUint8</a>(packetBuffer, offset);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(readThreadIdBytes == threadId_size);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; offset += uint8_t_size;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; uint32_t declarationSize = <a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(packetBuffer, offset);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; offset += <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">for</span>(uint32_t i = 0; i &lt; declarationSize; ++i)</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; swTraceBufferMessages.push_back(<a class="code" href="namespacearmnn_1_1profiling.xhtml#aaa7e58f376ab96ad3fb6dbd16074a5cb">profiling::ReadSwTraceMessage</a>(packetBuffer-&gt;GetReadableData(), offset));</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; }</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; <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(packetBuffer-&gt;GetReadableData(), timelineDirectoryCaptureCommandHandler);</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="keywordflow">for</span>(uint32_t index = 0; index &lt; declarationSize; ++index)</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; <a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml">profiling::SwTraceMessage</a>&amp; bufferMessage = swTraceBufferMessages[index];</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml">profiling::SwTraceMessage</a>&amp; handlerMessage = timelineDirectoryCaptureCommandHandler.m_SwTraceMessages[index];</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; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab13844df5477a9ab8f13069e3d8abad6">m_Name</a> == handlerMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab13844df5477a9ab8f13069e3d8abad6">m_Name</a>);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a76824b89f32ec62fa7c74e40bd529502">m_UiName</a> == handlerMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a76824b89f32ec62fa7c74e40bd529502">m_UiName</a>);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a06ba83abe49bb158c4e07578223ac084">m_Id</a> == handlerMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a06ba83abe49bb158c4e07578223ac084">m_Id</a>);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a9c94f2a097b07a882c1b7fdedaaac846">m_ArgTypes</a>.size() == handlerMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a9c94f2a097b07a882c1b7fdedaaac846">m_ArgTypes</a>.size());</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">for</span>(uint32_t i = 0; i &lt; bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a9c94f2a097b07a882c1b7fdedaaac846">m_ArgTypes</a>.size(); ++i)</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; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a9c94f2a097b07a882c1b7fdedaaac846">m_ArgTypes</a>[i] == handlerMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a9c94f2a097b07a882c1b7fdedaaac846">m_ArgTypes</a>[i]);</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;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab3327c5b4232f372888d41886fafb366">m_ArgNames</a>.size() == handlerMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab3327c5b4232f372888d41886fafb366">m_ArgNames</a>.size());</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">for</span>(uint32_t i = 0; i &lt; bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab3327c5b4232f372888d41886fafb366">m_ArgNames</a>.size(); ++i)</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; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(bufferMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab3327c5b4232f372888d41886fafb366">m_ArgNames</a>[i] == handlerMessage.<a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab3327c5b4232f372888d41886fafb366">m_ArgNames</a>[i]);</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="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_version_xhtml_a0ab0d5a402c197d4093cbc5fdbf81214"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">armnn::profiling::Version::GetEncodedValue</a></div><div class="ttdeci">uint32_t GetEncodedValue()</div><div class="ttdef"><b>Definition:</b> <a href="_encode_version_8hpp_source.xhtml#l00045">EncodeVersion.hpp:45</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_ac7f0a814e6156ecdbcfa323befed6645"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a></div><div class="ttdeci">void SendTimelinePacketToCommandHandler(const unsigned char *packetBuffer, profiling::CommandHandlerFunctor &amp;CommandHandler)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00023">TimelineTests.cpp:23</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml_ac8ad466123304f923e64997ac096926a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">armnn::profiling::PacketVersionResolver::ResolvePacketVersion</a></div><div class="ttdeci">Version ResolvePacketVersion(uint32_t familyId, uint32_t packetId) const</div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver.cpp:55</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_sw_trace_message_xhtml_a06ba83abe49bb158c4e07578223ac084"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a06ba83abe49bb158c4e07578223ac084">armnn::profiling::SwTraceMessage::m_Id</a></div><div class="ttdeci">uint32_t m_Id</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00038">ProfilingUtils.hpp:38</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">armnn::profiling::PacketVersionResolver</a></div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8hpp_source.xhtml#l00036">PacketVersionResolver.hpp:36</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_sw_trace_message_xhtml"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml">armnn::profiling::SwTraceMessage</a></div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00036">ProfilingUtils.hpp:36</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a74b483b652cc32f03151b10a1366d607"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a74b483b652cc32f03151b10a1366d607">armnn::profiling::ReadUint8</a></div><div class="ttdeci">uint8_t ReadUint8(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00218">ProfilingUtils.cpp:218</a></div></div>
<div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aaa7e58f376ab96ad3fb6dbd16074a5cb"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aaa7e58f376ab96ad3fb6dbd16074a5cb">armnn::profiling::ReadSwTraceMessage</a></div><div class="ttdeci">SwTraceMessage ReadSwTraceMessage(const unsigned char *packetBuffer, unsigned int &amp;offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00320">ProfilingUtils.cpp:320</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_sw_trace_message_xhtml_ab3327c5b4232f372888d41886fafb366"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab3327c5b4232f372888d41886fafb366">armnn::profiling::SwTraceMessage::m_ArgNames</a></div><div class="ttdeci">std::vector&lt; std::string &gt; m_ArgNames</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00042">ProfilingUtils.hpp:42</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_sw_trace_message_xhtml_a9c94f2a097b07a882c1b7fdedaaac846"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a9c94f2a097b07a882c1b7fdedaaac846">armnn::profiling::SwTraceMessage::m_ArgTypes</a></div><div class="ttdeci">std::vector&lt; char &gt; m_ArgTypes</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00041">ProfilingUtils.hpp:41</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">armnn::profiling::ReadUint32</a></div><div class="ttdeci">uint32_t ReadUint32(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_directory_capture_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_directory_capture_command_handler.xhtml">armnn::timelinedecoder::TimelineDirectoryCaptureCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_directory_capture_command_handler_8hpp_source.xhtml#l00019">TimelineDirectoryCaptureCommandHandler.hpp:19</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">armnn::profiling::TimelinePacketWriterFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_packet_writer_factory_8hpp_source.xhtml#l00019">TimelinePacketWriterFactory.hpp:19</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_sw_trace_message_xhtml_a76824b89f32ec62fa7c74e40bd529502"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#a76824b89f32ec62fa7c74e40bd529502">armnn::profiling::SwTraceMessage::m_UiName</a></div><div class="ttdeci">std::string m_UiName</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00040">ProfilingUtils.hpp:40</a></div></div>
<div class="ttc" id="structarmnn_1_1profiling_1_1_sw_trace_message_xhtml_ab13844df5477a9ab8f13069e3d8abad6"><div class="ttname"><a href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml#ab13844df5477a9ab8f13069e3d8abad6">armnn::profiling::SwTraceMessage::m_Name</a></div><div class="ttdeci">std::string m_Name</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00039">ProfilingUtils.hpp:39</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_buffer_manager_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">armnn::profiling::BufferManager</a></div><div class="ttdef"><b>Definition:</b> <a href="_buffer_manager_8hpp_source.xhtml#l00021">BufferManager.hpp:21</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aabcf5c25522e8a0542c95174056cfcac"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">armnn::profiling::uint32_t_size</a></div><div class="ttdeci">uint32_t uint32_t_size</div><div class="ttdef"><b>Definition:</b> <a href="_directory_capture_command_handler_8cpp_source.xhtml#l00021">DirectoryCaptureCommandHandler.cpp:21</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="aa50403517c534c8fb2ee7d6ff102a60f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa50403517c534c8fb2ee7d6ff102a60f">&#9670;&nbsp;</a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BOOST_AUTO_TEST_CASE </td>
<td>(</td>
<td class="paramtype">TimelineCaptureTest&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">140</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a77ac530ff577e3b84e0761fa02b2520b">armnn::profiling::DataLink</a>, <a class="el" href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b">ITimelineDecoder::DataLink</a>, <a class="el" href="_encode_version_8hpp_source.xhtml#l00045">Version::GetEncodedValue()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00068">TimelineDecoder::GetModel()</a>, <a class="el" href="_buffer_manager_8cpp_source.xhtml#l00089">BufferManager::GetReadableBuffer()</a>, <a class="el" href="_timeline_packet_writer_factory_8cpp_source.xhtml#l00016">TimelinePacketWriterFactory::GetSendTimelinePacket()</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder::Model::m_Entities</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder::Model::m_EventClasses</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder::Model::m_Events</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder::Model::m_Labels</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder::Model::m_Relationships</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00046">PushEntity()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00056">PushEvent()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00051">PushEventClass()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00061">PushLabel()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00066">PushRelationship()</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>, <a class="el" href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver::ResolvePacketVersion()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00023">SendTimelinePacketToCommandHandler()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00073">TimelineDecoder::SetEntityCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00093">TimelineDecoder::SetEventCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00083">TimelineDecoder::SetEventClassCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00103">TimelineDecoder::SetLabelCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00113">TimelineDecoder::SetRelationshipCallback()</a>, and <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00089">armnn::profiling::WriteBytes()</a>.</p>
<div class="fragment"><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;{</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadIdSize = <span class="keyword">sizeof</span>(std::thread::id);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">profiling::BufferManager</a> bufferManager(50);</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">profiling::TimelinePacketWriterFactory</a> timelinePacketWriterFactory(bufferManager);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; std::unique_ptr&lt;profiling::ISendTimelinePacket&gt; sendTimelinePacket =</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; timelinePacketWriterFactory.GetSendTimelinePacket();</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">profiling::PacketVersionResolver</a> packetVersionResolver;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml">TimelineDecoder</a> timelineDecoder;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keyword">const</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a>&amp; model = timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a1fedc5d6bd2dd5795e760abfb4c62a1b">GetModel</a>();</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml">TimelineCaptureCommandHandler</a> timelineCaptureCommandHandler(</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; 1, 1, packetVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(1, 1).<a class="code" href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(), timelineDecoder, threadIdSize);</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keyword">using</span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> = <a class="code" href="class_i_timeline_decoder.xhtml#a7561a8de32d8a9ff3bfa7de7a89a590a">ITimelineDecoder::TimelineStatus</a>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a6274842f34566b5d99bbad09dcdc65ff">SetEntityCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a5d037fb2a573ca0e8b284ff0f4ba4b5b">PushEntity</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a93a16fb5384fc547b965badf0255a09c">SetEventClassCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a3b3046bf976af84f1afaf90604fdb5a5">PushEventClass</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ac7a2cae3b6d92cf19f6dde52834220ab">SetEventCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a152615febf988e6fc95d7e3284f0b139">PushEvent</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a836f50363f5f1721c50394cd07f0c6cc">SetLabelCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#ad3941381c7ffa8b2804d4d5708abd488">PushLabel</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ae567c3874fc1734833b03a9e73461426">SetRelationshipCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a5f9ab9422ed7d18bdc693338d3e5e6b6">PushRelationship</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keyword">const</span> uint64_t entityGuid = 111111u;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keyword">const</span> uint64_t eventClassGuid = 22222u;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keyword">const</span> uint64_t timestamp = 33333u;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keyword">const</span> uint64_t eventGuid = 44444u;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keyword">const</span> std::thread::id threadId = std::this_thread::get_id();</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="comment">// need to do a bit of work here to extract the value from threadId</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* uCharThreadId = <span class="keyword">new</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>[threadIdSize]();;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; uint64_t uint64ThreadId;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#af0cddaa4e116d294dacaaced90ca341c">profiling::WriteBytes</a>(uCharThreadId, 0, &amp;threadId, threadIdSize);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">if</span> (threadIdSize == 4)</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; {</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; uint64ThreadId = <a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(uCharThreadId, 0);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (threadIdSize == 8)</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; uint64ThreadId = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(uCharThreadId, 0);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">delete</span>[] uCharThreadId;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keyword">const</span> uint64_t labelGuid = 66666u;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; std::string labelName = <span class="stringliteral">&quot;test_label&quot;</span>;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keyword">const</span> uint64_t relationshipGuid = 77777u;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="keyword">const</span> uint64_t headGuid = 888888u;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keyword">const</span> uint64_t tailGuid = 999999u;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; 10; ++i)</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; {</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="comment">// Send entity</span></div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; sendTimelinePacket-&gt;SendTimelineEntityBinaryPacket(entityGuid);</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; sendTimelinePacket-&gt;Commit();</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()-&gt;GetReadableData(),</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; timelineCaptureCommandHandler);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="comment">// Send event class</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; sendTimelinePacket-&gt;SendTimelineEventClassBinaryPacket(eventClassGuid);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; sendTimelinePacket-&gt;Commit();</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()-&gt;GetReadableData(),</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; timelineCaptureCommandHandler);</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="comment">// Send event</span></div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; sendTimelinePacket-&gt;SendTimelineEventBinaryPacket(timestamp, threadId, eventGuid);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; sendTimelinePacket-&gt;Commit();</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()-&gt;GetReadableData(),</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; timelineCaptureCommandHandler);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="comment">// Send label</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; sendTimelinePacket-&gt;SendTimelineLabelBinaryPacket(labelGuid, labelName);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; sendTimelinePacket-&gt;Commit();</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()-&gt;GetReadableData(),</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; timelineCaptureCommandHandler);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="comment">// Send relationship</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">profiling::ProfilingRelationshipType</a> relationshipType = profiling::ProfilingRelationshipType::DataLink;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; sendTimelinePacket-&gt;SendTimelineRelationshipBinaryPacket(relationshipType,</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; relationshipGuid,</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; headGuid,</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; tailGuid);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; sendTimelinePacket-&gt;Commit();</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()-&gt;GetReadableData(),</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; timelineCaptureCommandHandler);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> i = 0; i &lt; 10; ++i)</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#a1ff765d7e34414715e9aceb381f468aa">m_Entities</a>[i].m_Guid == entityGuid);</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#acda1daaa7f8a8a77e0cc496e97a294b1">m_EventClasses</a>[i].m_Guid == eventClassGuid);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">m_Events</a>[i].m_TimeStamp == timestamp);</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">m_Events</a>[i].m_ThreadId == uint64ThreadId);</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">m_Events</a>[i].m_Guid == eventGuid);</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">m_Labels</a>[i].m_Guid == labelGuid);</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">m_Labels</a>[i].m_Name == labelName);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_RelationshipType == <a class="code" href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b">ITimelineDecoder::RelationshipType::DataLink</a>);</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_Guid == relationshipGuid);</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_HeadGuid == headGuid);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_TailGuid == tailGuid);</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_version_xhtml_a0ab0d5a402c197d4093cbc5fdbf81214"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">armnn::profiling::Version::GetEncodedValue</a></div><div class="ttdeci">uint32_t GetEncodedValue()</div><div class="ttdef"><b>Definition:</b> <a href="_encode_version_8hpp_source.xhtml#l00045">EncodeVersion.hpp:45</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_ac7f0a814e6156ecdbcfa323befed6645"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a></div><div class="ttdeci">void SendTimelinePacketToCommandHandler(const unsigned char *packetBuffer, profiling::CommandHandlerFunctor &amp;CommandHandler)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00023">TimelineTests.cpp:23</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b">ITimelineDecoder::RelationshipType::DataLink</a></div><div class="ttdoc">Head execution start depends on Tail execution completion. </div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_ae567c3874fc1734833b03a9e73461426"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ae567c3874fc1734833b03a9e73461426">armnn::timelinedecoder::TimelineDecoder::SetRelationshipCallback</a></div><div class="ttdeci">TimelineStatus SetRelationshipCallback(const OnNewRelationshipCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00113">TimelineDecoder.cpp:113</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_ae3b9190fdb419c136630efaaa4ba91b9"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">armnn::timelinedecoder::TimelineDecoder::Model::m_Labels</a></div><div class="ttdeci">std::vector&lt; Label &gt; m_Labels</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder.hpp:24</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_a1ff765d7e34414715e9aceb381f468aa"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#a1ff765d7e34414715e9aceb381f468aa">armnn::timelinedecoder::TimelineDecoder::Model::m_Entities</a></div><div class="ttdeci">std::vector&lt; Entity &gt; m_Entities</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder.hpp:21</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a3b3046bf976af84f1afaf90604fdb5a5"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a3b3046bf976af84f1afaf90604fdb5a5">PushEventClass</a></div><div class="ttdeci">void PushEventClass(TimelineDecoder::Model &amp;model, const ITimelineDecoder::EventClass eventClass)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00051">TimelineTests.cpp:51</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">armnn::profiling::ReadUint64</a></div><div class="ttdeci">uint64_t ReadUint64(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml_ac8ad466123304f923e64997ac096926a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">armnn::profiling::PacketVersionResolver::ResolvePacketVersion</a></div><div class="ttdeci">Version ResolvePacketVersion(uint32_t familyId, uint32_t packetId) const</div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver.cpp:55</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml">armnn::timelinedecoder::TimelineCaptureCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_capture_command_handler_8hpp_source.xhtml#l00020">TimelineCaptureCommandHandler.hpp:20</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">armnn::profiling::PacketVersionResolver</a></div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8hpp_source.xhtml#l00036">PacketVersionResolver.hpp:36</a></div></div>
<div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">armnn::timelinedecoder::TimelineDecoder::Model</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00019">TimelineDecoder.hpp:19</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_af0cddaa4e116d294dacaaced90ca341c"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#af0cddaa4e116d294dacaaced90ca341c">armnn::profiling::WriteBytes</a></div><div class="ttdeci">void WriteBytes(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset, const void *value, unsigned int valueSize)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00089">ProfilingUtils.cpp:89</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a5f9ab9422ed7d18bdc693338d3e5e6b6"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a5f9ab9422ed7d18bdc693338d3e5e6b6">PushRelationship</a></div><div class="ttdeci">void PushRelationship(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Relationship relationship)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00066">TimelineTests.cpp:66</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a5d037fb2a573ca0e8b284ff0f4ba4b5b"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a5d037fb2a573ca0e8b284ff0f4ba4b5b">PushEntity</a></div><div class="ttdeci">void PushEntity(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Entity entity)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00046">TimelineTests.cpp:46</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a93a16fb5384fc547b965badf0255a09c"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a93a16fb5384fc547b965badf0255a09c">armnn::timelinedecoder::TimelineDecoder::SetEventClassCallback</a></div><div class="ttdeci">TimelineStatus SetEventClassCallback(const OnNewEventClassCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00083">TimelineDecoder.cpp:83</a></div></div>
<div class="ttc" id="namespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">enumeration </div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00026">Types.hpp:26</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_aea0f48477f4db3a052d0c4074c68c8a7"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">armnn::timelinedecoder::TimelineDecoder::Model::m_Relationships</a></div><div class="ttdeci">std::vector&lt; Relationship &gt; m_Relationships</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder.hpp:25</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">armnn::profiling::ProfilingRelationshipType</a></div><div class="ttdeci">ProfilingRelationshipType</div><div class="ttdef"><b>Definition:</b> <a href="_i_send_timeline_packet_8hpp_source.xhtml#l00019">ISendTimelinePacket.hpp:19</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml">armnn::timelinedecoder::TimelineDecoder</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00014">TimelineDecoder.hpp:14</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a152615febf988e6fc95d7e3284f0b139"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a152615febf988e6fc95d7e3284f0b139">PushEvent</a></div><div class="ttdeci">void PushEvent(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Event event)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00056">TimelineTests.cpp:56</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">armnn::profiling::ReadUint32</a></div><div class="ttdeci">uint32_t ReadUint32(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_acda1daaa7f8a8a77e0cc496e97a294b1"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#acda1daaa7f8a8a77e0cc496e97a294b1">armnn::timelinedecoder::TimelineDecoder::Model::m_EventClasses</a></div><div class="ttdeci">std::vector&lt; EventClass &gt; m_EventClasses</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder.hpp:22</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_ad3941381c7ffa8b2804d4d5708abd488"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#ad3941381c7ffa8b2804d4d5708abd488">PushLabel</a></div><div class="ttdeci">void PushLabel(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Label label)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00061">TimelineTests.cpp:61</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a1fedc5d6bd2dd5795e760abfb4c62a1b"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a1fedc5d6bd2dd5795e760abfb4c62a1b">armnn::timelinedecoder::TimelineDecoder::GetModel</a></div><div class="ttdeci">const Model &amp; GetModel()</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00068">TimelineDecoder.cpp:68</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">armnn::profiling::TimelinePacketWriterFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_packet_writer_factory_8hpp_source.xhtml#l00019">TimelinePacketWriterFactory.hpp:19</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_buffer_manager_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">armnn::profiling::BufferManager</a></div><div class="ttdef"><b>Definition:</b> <a href="_buffer_manager_8hpp_source.xhtml#l00021">BufferManager.hpp:21</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a836f50363f5f1721c50394cd07f0c6cc"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a836f50363f5f1721c50394cd07f0c6cc">armnn::timelinedecoder::TimelineDecoder::SetLabelCallback</a></div><div class="ttdeci">TimelineStatus SetLabelCallback(const OnNewLabelCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00103">TimelineDecoder.cpp:103</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_ae2efab5c61d58b33155822469b78f175"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">armnn::timelinedecoder::TimelineDecoder::Model::m_Events</a></div><div class="ttdeci">std::vector&lt; Event &gt; m_Events</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder.hpp:23</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a6274842f34566b5d99bbad09dcdc65ff"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a6274842f34566b5d99bbad09dcdc65ff">armnn::timelinedecoder::TimelineDecoder::SetEntityCallback</a></div><div class="ttdeci">TimelineStatus SetEntityCallback(const OnNewEntityCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00073">TimelineDecoder.cpp:73</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_ac7a2cae3b6d92cf19f6dde52834220ab"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ac7a2cae3b6d92cf19f6dde52834220ab">armnn::timelinedecoder::TimelineDecoder::SetEventCallback</a></div><div class="ttdeci">TimelineStatus SetEventCallback(const OnNewEventCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00093">TimelineDecoder.cpp:93</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_a7561a8de32d8a9ff3bfa7de7a89a590a"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#a7561a8de32d8a9ff3bfa7de7a89a590a">ITimelineDecoder::TimelineStatus</a></div><div class="ttdeci">TimelineStatus</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00016">ITimelineDecoder.hpp:16</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a0c3d8093d05ab9aaef39f204123a5d80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c3d8093d05ab9aaef39f204123a5d80">&#9670;&nbsp;</a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BOOST_AUTO_TEST_CASE </td>
<td>(</td>
<td class="paramtype">TimelineCaptureTestMultipleStringsInBuffer&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00251">251</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_profiler_tests_8cpp.xhtml#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>, <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a77ac530ff577e3b84e0761fa02b2520b">armnn::profiling::DataLink</a>, <a class="el" href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b">ITimelineDecoder::DataLink</a>, <a class="el" href="_encode_version_8hpp_source.xhtml#l00045">Version::GetEncodedValue()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00068">TimelineDecoder::GetModel()</a>, <a class="el" href="_buffer_manager_8cpp_source.xhtml#l00089">BufferManager::GetReadableBuffer()</a>, <a class="el" href="_timeline_packet_writer_factory_8cpp_source.xhtml#l00016">TimelinePacketWriterFactory::GetSendTimelinePacket()</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder::Model::m_Entities</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder::Model::m_EventClasses</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder::Model::m_Events</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder::Model::m_Labels</a>, <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder::Model::m_Relationships</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00046">PushEntity()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00056">PushEvent()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00051">PushEventClass()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00061">PushLabel()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00066">PushRelationship()</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>, <a class="el" href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver::ResolvePacketVersion()</a>, <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00023">SendTimelinePacketToCommandHandler()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00073">TimelineDecoder::SetEntityCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00093">TimelineDecoder::SetEventCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00083">TimelineDecoder::SetEventClassCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00103">TimelineDecoder::SetLabelCallback()</a>, <a class="el" href="_timeline_decoder_8cpp_source.xhtml#l00113">TimelineDecoder::SetRelationshipCallback()</a>, and <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00089">armnn::profiling::WriteBytes()</a>.</p>
<div class="fragment"><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;{</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadIdSize = <span class="keyword">sizeof</span>(std::thread::id);</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">profiling::BufferManager</a> bufferManager(50);</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">profiling::TimelinePacketWriterFactory</a> timelinePacketWriterFactory(bufferManager);</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; std::unique_ptr&lt;profiling::ISendTimelinePacket&gt; sendTimelinePacket =</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; timelinePacketWriterFactory.GetSendTimelinePacket();</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">profiling::PacketVersionResolver</a> packetVersionResolver;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml">TimelineDecoder</a> timelineDecoder;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keyword">const</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a>&amp; model = timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a1fedc5d6bd2dd5795e760abfb4c62a1b">GetModel</a>();</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml">TimelineCaptureCommandHandler</a> timelineCaptureCommandHandler(</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; 1, 1, packetVersionResolver.<a class="code" href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a>(1, 1).<a class="code" href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">GetEncodedValue</a>(), timelineDecoder, threadIdSize);</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keyword">using</span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> = <a class="code" href="class_i_timeline_decoder.xhtml#a7561a8de32d8a9ff3bfa7de7a89a590a">ITimelineDecoder::TimelineStatus</a>;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a6274842f34566b5d99bbad09dcdc65ff">SetEntityCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a5d037fb2a573ca0e8b284ff0f4ba4b5b">PushEntity</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a93a16fb5384fc547b965badf0255a09c">SetEventClassCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a3b3046bf976af84f1afaf90604fdb5a5">PushEventClass</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ac7a2cae3b6d92cf19f6dde52834220ab">SetEventCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a152615febf988e6fc95d7e3284f0b139">PushEvent</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a836f50363f5f1721c50394cd07f0c6cc">SetLabelCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#ad3941381c7ffa8b2804d4d5708abd488">PushLabel</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(timelineDecoder.<a class="code" href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ae567c3874fc1734833b03a9e73461426">SetRelationshipCallback</a>(<a class="code" href="_timeline_tests_8cpp.xhtml#a5f9ab9422ed7d18bdc693338d3e5e6b6">PushRelationship</a>) == Status::TimelineStatus_Success);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keyword">const</span> uint64_t entityGuid = 111111u;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keyword">const</span> uint64_t eventClassGuid = 22222u;</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keyword">const</span> uint64_t timestamp = 33333u;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keyword">const</span> uint64_t eventGuid = 44444u;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="keyword">const</span> std::thread::id threadId = std::this_thread::get_id();</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="comment">// need to do a bit of work here to extract the value from threadId</span></div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* uCharThreadId = <span class="keyword">new</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>[threadIdSize]();;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; uint64_t uint64ThreadId;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#af0cddaa4e116d294dacaaced90ca341c">profiling::WriteBytes</a>(uCharThreadId, 0, &amp;threadId, threadIdSize);</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keywordflow">if</span> ( threadIdSize == 4 )</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; {</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; uint64ThreadId = <a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(uCharThreadId, 0);</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( threadIdSize == 8 )</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; {</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; uint64ThreadId = <a class="code" href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">profiling::ReadUint64</a>(uCharThreadId, 0);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; }</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keyword">delete</span>[] uCharThreadId;</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keyword">const</span> uint64_t labelGuid = 66666u;</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; std::string labelName = <span class="stringliteral">&quot;test_label&quot;</span>;</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; std::string labelName2 = <span class="stringliteral">&quot;test_label2&quot;</span>;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; std::string labelName3 = <span class="stringliteral">&quot;test_label32&quot;</span>;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keyword">const</span> uint64_t relationshipGuid = 77777u;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keyword">const</span> uint64_t headGuid = 888888u;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keyword">const</span> uint64_t tailGuid = 999999u;</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="comment">// Check with multiple messages in the same buffer</span></div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; 9; ++i )</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="comment">// Send entity</span></div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; sendTimelinePacket-&gt;SendTimelineEntityBinaryPacket(entityGuid);</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="comment">// Send event class</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; sendTimelinePacket-&gt;SendTimelineEventClassBinaryPacket(eventClassGuid);</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <span class="comment">// Send event</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; sendTimelinePacket-&gt;SendTimelineEventBinaryPacket(timestamp, threadId, eventGuid);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="comment">// Send label</span></div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; sendTimelinePacket-&gt;SendTimelineLabelBinaryPacket(labelGuid, labelName);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; sendTimelinePacket-&gt;SendTimelineLabelBinaryPacket(labelGuid, labelName2);</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; sendTimelinePacket-&gt;SendTimelineLabelBinaryPacket(labelGuid, labelName3);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <span class="comment">// Send relationship</span></div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">profiling::ProfilingRelationshipType</a> relationshipType = profiling::ProfilingRelationshipType::DataLink;</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; sendTimelinePacket-&gt;SendTimelineRelationshipBinaryPacket(relationshipType,</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; relationshipGuid,</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; headGuid,</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; tailGuid);</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; }</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; sendTimelinePacket-&gt;Commit();</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()-&gt;GetReadableData(),</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; timelineCaptureCommandHandler);</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> i = 0; i &lt; 9; ++i )</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; {</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#a1ff765d7e34414715e9aceb381f468aa">m_Entities</a>[i].m_Guid == entityGuid);</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#acda1daaa7f8a8a77e0cc496e97a294b1">m_EventClasses</a>[i].m_Guid == eventClassGuid);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">m_Labels</a>[i].m_Guid == labelGuid);</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">m_Events</a>[i].m_TimeStamp == timestamp);</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">m_Events</a>[i].m_ThreadId == uint64ThreadId);</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">m_Events</a>[i].m_Guid == eventGuid);</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_RelationshipType == <a class="code" href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b">ITimelineDecoder::RelationshipType::DataLink</a>);</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_Guid == relationshipGuid);</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_HeadGuid == headGuid);</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>[i].m_TailGuid == tailGuid);</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; }</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> i = 0; i &lt; 9; i += 3 )</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; {</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">m_Labels</a>[i].m_Name == labelName);</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">m_Labels</a>[i+1].m_Name == labelName2);</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">m_Labels</a>[i+2].m_Name == labelName3);</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; }</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;}</div><div class="ttc" id="classarmnn_1_1profiling_1_1_version_xhtml_a0ab0d5a402c197d4093cbc5fdbf81214"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_version.xhtml#a0ab0d5a402c197d4093cbc5fdbf81214">armnn::profiling::Version::GetEncodedValue</a></div><div class="ttdeci">uint32_t GetEncodedValue()</div><div class="ttdef"><b>Definition:</b> <a href="_encode_version_8hpp_source.xhtml#l00045">EncodeVersion.hpp:45</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_ac7f0a814e6156ecdbcfa323befed6645"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a></div><div class="ttdeci">void SendTimelinePacketToCommandHandler(const unsigned char *packetBuffer, profiling::CommandHandlerFunctor &amp;CommandHandler)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00023">TimelineTests.cpp:23</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#afcec9ac4ebf3a53432bbd77a314b0667a77ac530ff577e3b84e0761fa02b2520b">ITimelineDecoder::RelationshipType::DataLink</a></div><div class="ttdoc">Head execution start depends on Tail execution completion. </div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_ae567c3874fc1734833b03a9e73461426"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ae567c3874fc1734833b03a9e73461426">armnn::timelinedecoder::TimelineDecoder::SetRelationshipCallback</a></div><div class="ttdeci">TimelineStatus SetRelationshipCallback(const OnNewRelationshipCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00113">TimelineDecoder.cpp:113</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_ae3b9190fdb419c136630efaaa4ba91b9"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">armnn::timelinedecoder::TimelineDecoder::Model::m_Labels</a></div><div class="ttdeci">std::vector&lt; Label &gt; m_Labels</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder.hpp:24</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_a1ff765d7e34414715e9aceb381f468aa"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#a1ff765d7e34414715e9aceb381f468aa">armnn::timelinedecoder::TimelineDecoder::Model::m_Entities</a></div><div class="ttdeci">std::vector&lt; Entity &gt; m_Entities</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder.hpp:21</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a3b3046bf976af84f1afaf90604fdb5a5"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a3b3046bf976af84f1afaf90604fdb5a5">PushEventClass</a></div><div class="ttdeci">void PushEventClass(TimelineDecoder::Model &amp;model, const ITimelineDecoder::EventClass eventClass)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00051">TimelineTests.cpp:51</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aa4de2b511faa41accc2c35cadf051124"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aa4de2b511faa41accc2c35cadf051124">armnn::profiling::ReadUint64</a></div><div class="ttdeci">uint64_t ReadUint64(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00197">ProfilingUtils.cpp:197</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml_ac8ad466123304f923e64997ac096926a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml#ac8ad466123304f923e64997ac096926a">armnn::profiling::PacketVersionResolver::ResolvePacketVersion</a></div><div class="ttdeci">Version ResolvePacketVersion(uint32_t familyId, uint32_t packetId) const</div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8cpp_source.xhtml#l00055">PacketVersionResolver.cpp:55</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler_xhtml"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_capture_command_handler.xhtml">armnn::timelinedecoder::TimelineCaptureCommandHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_capture_command_handler_8hpp_source.xhtml#l00020">TimelineCaptureCommandHandler.hpp:20</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_version_resolver_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet_version_resolver.xhtml">armnn::profiling::PacketVersionResolver</a></div><div class="ttdef"><b>Definition:</b> <a href="_packet_version_resolver_8hpp_source.xhtml#l00036">PacketVersionResolver.hpp:36</a></div></div>
<div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">armnn::timelinedecoder::TimelineDecoder::Model</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00019">TimelineDecoder.hpp:19</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_af0cddaa4e116d294dacaaced90ca341c"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#af0cddaa4e116d294dacaaced90ca341c">armnn::profiling::WriteBytes</a></div><div class="ttdeci">void WriteBytes(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset, const void *value, unsigned int valueSize)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00089">ProfilingUtils.cpp:89</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a5f9ab9422ed7d18bdc693338d3e5e6b6"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a5f9ab9422ed7d18bdc693338d3e5e6b6">PushRelationship</a></div><div class="ttdeci">void PushRelationship(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Relationship relationship)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00066">TimelineTests.cpp:66</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a5d037fb2a573ca0e8b284ff0f4ba4b5b"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a5d037fb2a573ca0e8b284ff0f4ba4b5b">PushEntity</a></div><div class="ttdeci">void PushEntity(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Entity entity)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00046">TimelineTests.cpp:46</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a93a16fb5384fc547b965badf0255a09c"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a93a16fb5384fc547b965badf0255a09c">armnn::timelinedecoder::TimelineDecoder::SetEventClassCallback</a></div><div class="ttdeci">TimelineStatus SetEventClassCallback(const OnNewEventClassCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00083">TimelineDecoder.cpp:83</a></div></div>
<div class="ttc" id="namespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">enumeration </div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00026">Types.hpp:26</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_aea0f48477f4db3a052d0c4074c68c8a7"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">armnn::timelinedecoder::TimelineDecoder::Model::m_Relationships</a></div><div class="ttdeci">std::vector&lt; Relationship &gt; m_Relationships</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder.hpp:25</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">armnn::profiling::ProfilingRelationshipType</a></div><div class="ttdeci">ProfilingRelationshipType</div><div class="ttdef"><b>Definition:</b> <a href="_i_send_timeline_packet_8hpp_source.xhtml#l00019">ISendTimelinePacket.hpp:19</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml">armnn::timelinedecoder::TimelineDecoder</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00014">TimelineDecoder.hpp:14</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_a152615febf988e6fc95d7e3284f0b139"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#a152615febf988e6fc95d7e3284f0b139">PushEvent</a></div><div class="ttdeci">void PushEvent(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Event event)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00056">TimelineTests.cpp:56</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">armnn::profiling::ReadUint32</a></div><div class="ttdeci">uint32_t ReadUint32(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_acda1daaa7f8a8a77e0cc496e97a294b1"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#acda1daaa7f8a8a77e0cc496e97a294b1">armnn::timelinedecoder::TimelineDecoder::Model::m_EventClasses</a></div><div class="ttdeci">std::vector&lt; EventClass &gt; m_EventClasses</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder.hpp:22</a></div></div>
<div class="ttc" id="_timeline_tests_8cpp_xhtml_ad3941381c7ffa8b2804d4d5708abd488"><div class="ttname"><a href="_timeline_tests_8cpp.xhtml#ad3941381c7ffa8b2804d4d5708abd488">PushLabel</a></div><div class="ttdeci">void PushLabel(TimelineDecoder::Model &amp;model, const ITimelineDecoder::Label label)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00061">TimelineTests.cpp:61</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a1fedc5d6bd2dd5795e760abfb4c62a1b"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a1fedc5d6bd2dd5795e760abfb4c62a1b">armnn::timelinedecoder::TimelineDecoder::GetModel</a></div><div class="ttdeci">const Model &amp; GetModel()</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00068">TimelineDecoder.cpp:68</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_packet_writer_factory.xhtml">armnn::profiling::TimelinePacketWriterFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_timeline_packet_writer_factory_8hpp_source.xhtml#l00019">TimelinePacketWriterFactory.hpp:19</a></div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_buffer_manager_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_buffer_manager.xhtml">armnn::profiling::BufferManager</a></div><div class="ttdef"><b>Definition:</b> <a href="_buffer_manager_8hpp_source.xhtml#l00021">BufferManager.hpp:21</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a836f50363f5f1721c50394cd07f0c6cc"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a836f50363f5f1721c50394cd07f0c6cc">armnn::timelinedecoder::TimelineDecoder::SetLabelCallback</a></div><div class="ttdeci">TimelineStatus SetLabelCallback(const OnNewLabelCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00103">TimelineDecoder.cpp:103</a></div></div>
<div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_ae2efab5c61d58b33155822469b78f175"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">armnn::timelinedecoder::TimelineDecoder::Model::m_Events</a></div><div class="ttdeci">std::vector&lt; Event &gt; m_Events</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder.hpp:23</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_a6274842f34566b5d99bbad09dcdc65ff"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#a6274842f34566b5d99bbad09dcdc65ff">armnn::timelinedecoder::TimelineDecoder::SetEntityCallback</a></div><div class="ttdeci">TimelineStatus SetEntityCallback(const OnNewEntityCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00073">TimelineDecoder.cpp:73</a></div></div>
<div class="ttc" id="classarmnn_1_1timelinedecoder_1_1_timeline_decoder_xhtml_ac7a2cae3b6d92cf19f6dde52834220ab"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_timeline_decoder.xhtml#ac7a2cae3b6d92cf19f6dde52834220ab">armnn::timelinedecoder::TimelineDecoder::SetEventCallback</a></div><div class="ttdeci">TimelineStatus SetEventCallback(const OnNewEventCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00093">TimelineDecoder.cpp:93</a></div></div>
<div class="ttc" id="class_i_timeline_decoder_xhtml_a7561a8de32d8a9ff3bfa7de7a89a590a"><div class="ttname"><a href="class_i_timeline_decoder.xhtml#a7561a8de32d8a9ff3bfa7de7a89a590a">ITimelineDecoder::TimelineStatus</a></div><div class="ttdeci">TimelineStatus</div><div class="ttdef"><b>Definition:</b> <a href="_i_timeline_decoder_8hpp_source.xhtml#l00016">ITimelineDecoder.hpp:16</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a5d037fb2a573ca0e8b284ff0f4ba4b5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d037fb2a573ca0e8b284ff0f4ba4b5b">&#9670;&nbsp;</a></span>PushEntity()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PushEntity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_entity.xhtml">ITimelineDecoder::Entity</a>&#160;</td>
<td class="paramname"><em>entity</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_tests_8cpp_source.xhtml#l00046">46</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder::Model::m_Entities</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</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; model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#a1ff765d7e34414715e9aceb381f468aa">m_Entities</a>.emplace_back(entity);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;}</div><div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_a1ff765d7e34414715e9aceb381f468aa"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#a1ff765d7e34414715e9aceb381f468aa">armnn::timelinedecoder::TimelineDecoder::Model::m_Entities</a></div><div class="ttdeci">std::vector&lt; Entity &gt; m_Entities</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder.hpp:21</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a152615febf988e6fc95d7e3284f0b139"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a152615febf988e6fc95d7e3284f0b139">&#9670;&nbsp;</a></span>PushEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PushEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_event.xhtml">ITimelineDecoder::Event</a>&#160;</td>
<td class="paramname"><em>event</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_tests_8cpp_source.xhtml#l00056">56</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder::Model::m_Events</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p>
<div class="fragment"><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; model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">m_Events</a>.emplace_back(event);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;}</div><div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_ae2efab5c61d58b33155822469b78f175"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae2efab5c61d58b33155822469b78f175">armnn::timelinedecoder::TimelineDecoder::Model::m_Events</a></div><div class="ttdeci">std::vector&lt; Event &gt; m_Events</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder.hpp:23</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a3b3046bf976af84f1afaf90604fdb5a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b3046bf976af84f1afaf90604fdb5a5">&#9670;&nbsp;</a></span>PushEventClass()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PushEventClass </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_event_class.xhtml">ITimelineDecoder::EventClass</a>&#160;</td>
<td class="paramname"><em>eventClass</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_tests_8cpp_source.xhtml#l00051">51</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder::Model::m_EventClasses</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p>
<div class="fragment"><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;{</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#acda1daaa7f8a8a77e0cc496e97a294b1">m_EventClasses</a>.emplace_back(eventClass);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;}</div><div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_acda1daaa7f8a8a77e0cc496e97a294b1"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#acda1daaa7f8a8a77e0cc496e97a294b1">armnn::timelinedecoder::TimelineDecoder::Model::m_EventClasses</a></div><div class="ttdeci">std::vector&lt; EventClass &gt; m_EventClasses</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder.hpp:22</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ad3941381c7ffa8b2804d4d5708abd488"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3941381c7ffa8b2804d4d5708abd488">&#9670;&nbsp;</a></span>PushLabel()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PushLabel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a>&#160;</td>
<td class="paramname"><em>label</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_tests_8cpp_source.xhtml#l00061">61</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder::Model::m_Labels</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p>
<div class="fragment"><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; model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">m_Labels</a>.emplace_back(label);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;}</div><div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_ae3b9190fdb419c136630efaaa4ba91b9"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#ae3b9190fdb419c136630efaaa4ba91b9">armnn::timelinedecoder::TimelineDecoder::Model::m_Labels</a></div><div class="ttdeci">std::vector&lt; Label &gt; m_Labels</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder.hpp:24</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a5f9ab9422ed7d18bdc693338d3e5e6b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f9ab9422ed7d18bdc693338d3e5e6b6">&#9670;&nbsp;</a></span>PushRelationship()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PushRelationship </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> &amp;&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a>&#160;</td>
<td class="paramname"><em>relationship</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_tests_8cpp_source.xhtml#l00066">66</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder::Model::m_Relationships</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p>
<div class="fragment"><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; model.<a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">m_Relationships</a>.emplace_back(relationship);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;}</div><div class="ttc" id="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model_xhtml_aea0f48477f4db3a052d0c4074c68c8a7"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml#aea0f48477f4db3a052d0c4074c68c8a7">armnn::timelinedecoder::TimelineDecoder::Model::m_Relationships</a></div><div class="ttdeci">std::vector&lt; Relationship &gt; m_Relationships</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder.hpp:25</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ac7f0a814e6156ecdbcfa323befed6645"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7f0a814e6156ecdbcfa323befed6645">&#9670;&nbsp;</a></span>SendTimelinePacketToCommandHandler()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SendTimelinePacketToCommandHandler </td>
<td>(</td>
<td class="paramtype">const unsigned char *&#160;</td>
<td class="paramname"><em>packetBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml">profiling::CommandHandlerFunctor</a> &amp;&#160;</td>
<td class="paramname"><em>CommandHandler</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_tests_8cpp_source.xhtml#l00023">23</a> of file <a class="el" href="_timeline_tests_8cpp_source.xhtml">TimelineTests.cpp</a>.</p>
<p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l00204">armnn::profiling::ReadUint32()</a>, and <a class="el" href="_directory_capture_command_handler_8cpp_source.xhtml#l00021">armnn::profiling::uint32_t_size</a>.</p>
<p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00071">BOOST_AUTO_TEST_CASE()</a>.</p>
<div class="fragment"><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; uint32_t <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a> = <span class="keyword">sizeof</span>(uint32_t);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> offset = 0;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; uint32_t header[2];</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; header[0] = <a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(packetBuffer, offset);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; offset += <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; header[1] = <a class="code" href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">profiling::ReadUint32</a>(packetBuffer, offset);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; offset += <a class="code" href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">uint32_t_size</a>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; uint32_t PacketDataLength = header[1] &amp; 0x00FFFFFF;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">auto</span> uniquePacketData = std::make_unique&lt;unsigned char[]&gt;(PacketDataLength);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; std::memcpy(uniquePacketData.get(), packetBuffer + offset, PacketDataLength);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classarmnn_1_1profiling_1_1_packet.xhtml">armnn::profiling::Packet</a> packet(header[0], PacketDataLength, uniquePacketData);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(std::memcmp(packetBuffer + offset, packet.GetData(), packet.GetLength()) == 0);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; CommandHandler(packet);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div>
<div class="ttc" id="classarmnn_1_1profiling_1_1_packet_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_packet.xhtml">armnn::profiling::Packet</a></div><div class="ttdef"><b>Definition:</b> <a href="_packet_8hpp_source.xhtml#l00018">Packet.hpp:18</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ad56f4c3ea5e88279bb6ef1f31d9dc6df"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ad56f4c3ea5e88279bb6ef1f31d9dc6df">armnn::profiling::ReadUint32</a></div><div class="ttdeci">uint32_t ReadUint32(const IPacketBufferPtr &amp;packetBuffer, unsigned int offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00204">ProfilingUtils.cpp:204</a></div></div>
<div class="ttc" id="namespacearmnn_1_1profiling_xhtml_aabcf5c25522e8a0542c95174056cfcac"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#aabcf5c25522e8a0542c95174056cfcac">armnn::profiling::uint32_t_size</a></div><div class="ttdeci">uint32_t uint32_t_size</div><div class="ttdef"><b>Definition:</b> <a href="_directory_capture_command_handler_8cpp_source.xhtml#l00021">DirectoryCaptureCommandHandler.cpp:21</a></div></div>
</div><!-- fragment -->
</div>
</div>
</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="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_4d9706f59620ec516301c65441ed077a.xhtml">timelineDecoder</a></li><li class="navelem"><a class="el" href="dir_227bf51455d630104e4cffac68337a28.xhtml">tests</a></li><li class="navelem"><a class="el" href="_timeline_tests_8cpp.xhtml">TimelineTests.cpp</a></li>
<li class="footer">Generated on Fri Mar 13 2020 16:09:16 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>