Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: src/timelineDecoder/tests/TimelineTests.cpp File Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('_timeline_tests_8cpp.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#func-members">Functions</a> </div> |
| 99 | <div class="headertitle"> |
| 100 | <div class="title">TimelineTests.cpp File Reference</div> </div> |
| 101 | </div><!--header--> |
| 102 | <div class="contents"> |
| 103 | <div class="textblock"><code>#include <<a class="el" href="_timeline_capture_command_handler_8hpp_source.xhtml">TimelineCaptureCommandHandler.hpp</a>></code><br /> |
| 104 | <code>#include <<a class="el" href="_timeline_directory_capture_command_handler_8hpp_source.xhtml">TimelineDirectoryCaptureCommandHandler.hpp</a>></code><br /> |
| 105 | <code>#include <<a class="el" href="_timeline_decoder_8hpp_source.xhtml">TimelineDecoder.hpp</a>></code><br /> |
| 106 | <code>#include <<a class="el" href="_command_handler_functor_8hpp_source.xhtml">CommandHandlerFunctor.hpp</a>></code><br /> |
| 107 | <code>#include <<a class="el" href="_profiling_service_8hpp_source.xhtml">ProfilingService.hpp</a>></code><br /> |
| 108 | <code>#include <<a class="el" href="_packet_buffer_8hpp_source.xhtml">PacketBuffer.hpp</a>></code><br /> |
| 109 | <code>#include <<a class="el" href="_timeline_packet_writer_factory_8hpp_source.xhtml">TimelinePacketWriterFactory.hpp</a>></code><br /> |
| 110 | <code>#include <boost/test/test_tools.hpp></code><br /> |
| 111 | <code>#include <boost/test/unit_test_suite.hpp></code><br /> |
| 112 | </div> |
| 113 | <p><a href="_timeline_tests_8cpp_source.xhtml">Go to the source code of this file.</a></p> |
| 114 | <table class="memberdecls"> |
| 115 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 116 | Functions</h2></td></tr> |
| 117 | <tr class="memitem:ac7f0a814e6156ecdbcfa323befed6645"><td class="memItemLeft" align="right" valign="top">void </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> &<a class="el" href="classarmnn_1_1profiling_1_1_command_handler.xhtml">CommandHandler</a>)</td></tr> |
| 118 | <tr class="separator:ac7f0a814e6156ecdbcfa323befed6645"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a5d037fb2a573ca0e8b284ff0f4ba4b5b"><td class="memItemLeft" align="right" valign="top">void </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> &model, const <a class="el" href="struct_i_timeline_decoder_1_1_entity.xhtml">ITimelineDecoder::Entity</a> entity)</td></tr> |
| 120 | <tr class="separator:a5d037fb2a573ca0e8b284ff0f4ba4b5b"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a3b3046bf976af84f1afaf90604fdb5a5"><td class="memItemLeft" align="right" valign="top">void </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> &model, const <a class="el" href="struct_i_timeline_decoder_1_1_event_class.xhtml">ITimelineDecoder::EventClass</a> eventClass)</td></tr> |
| 122 | <tr class="separator:a3b3046bf976af84f1afaf90604fdb5a5"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a152615febf988e6fc95d7e3284f0b139"><td class="memItemLeft" align="right" valign="top">void </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> &model, const <a class="el" href="struct_i_timeline_decoder_1_1_event.xhtml">ITimelineDecoder::Event</a> event)</td></tr> |
| 124 | <tr class="separator:a152615febf988e6fc95d7e3284f0b139"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:ad3941381c7ffa8b2804d4d5708abd488"><td class="memItemLeft" align="right" valign="top">void </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> &model, const <a class="el" href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a> label)</td></tr> |
| 126 | <tr class="separator:ad3941381c7ffa8b2804d4d5708abd488"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a5f9ab9422ed7d18bdc693338d3e5e6b6"><td class="memItemLeft" align="right" valign="top">void </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> &model, const <a class="el" href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a> relationship)</td></tr> |
| 128 | <tr class="separator:a5f9ab9422ed7d18bdc693338d3e5e6b6"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a48319064222492223dfa27d2ea4b6774"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a48319064222492223dfa27d2ea4b6774">BOOST_AUTO_TEST_CASE</a> (TimelineDirectoryTest)</td></tr> |
| 130 | <tr class="separator:a48319064222492223dfa27d2ea4b6774"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:aa50403517c534c8fb2ee7d6ff102a60f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#aa50403517c534c8fb2ee7d6ff102a60f">BOOST_AUTO_TEST_CASE</a> (TimelineCaptureTest)</td></tr> |
| 132 | <tr class="separator:aa50403517c534c8fb2ee7d6ff102a60f"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:a0c3d8093d05ab9aaef39f204123a5d80"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_timeline_tests_8cpp.xhtml#a0c3d8093d05ab9aaef39f204123a5d80">BOOST_AUTO_TEST_CASE</a> (TimelineCaptureTestMultipleStringsInBuffer)</td></tr> |
| 134 | <tr class="separator:a0c3d8093d05ab9aaef39f204123a5d80"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | </table> |
| 136 | <h2 class="groupheader">Function Documentation</h2> |
| 137 | <a id="a48319064222492223dfa27d2ea4b6774"></a> |
| 138 | <h2 class="memtitle"><span class="permalink"><a href="#a48319064222492223dfa27d2ea4b6774">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[1/3]</span></h2> |
| 139 | |
| 140 | <div class="memitem"> |
| 141 | <div class="memproto"> |
| 142 | <table class="memname"> |
| 143 | <tr> |
| 144 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 145 | <td>(</td> |
| 146 | <td class="paramtype">TimelineDirectoryTest </td> |
| 147 | <td class="paramname"></td><td>)</td> |
| 148 | <td></td> |
| 149 | </tr> |
| 150 | </table> |
| 151 | </div><div class="memdoc"> |
| 152 | |
| 153 | <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> |
| 154 | |
| 155 | <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> |
| 156 | <div class="fragment"><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  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>  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>  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>  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> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <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>  <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> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  std::unique_ptr<profiling::ISendTimelinePacket> sendTimelinePacket =</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  timelinePacketWriterFactory.GetSendTimelinePacket();</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <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> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <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>  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> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  sendTimelinePacket->SendTimelineMessageDirectoryPackage();</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  sendTimelinePacket->Commit();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  std::vector<profiling::SwTraceMessage> swTraceBufferMessages;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <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> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  std::unique_ptr<profiling::IPacketBuffer> packetBuffer = bufferManager.GetReadableBuffer();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  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>  <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>  offset += uint8_t_size;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  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>  <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>  offset += uint8_t_size;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  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>  <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>  offset += uint8_t_size;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  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>  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>  <span class="keywordflow">for</span>(uint32_t i = 0; i < declarationSize; ++i)</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  swTraceBufferMessages.push_back(<a class="code" href="namespacearmnn_1_1profiling.xhtml#aaa7e58f376ab96ad3fb6dbd16074a5cb">profiling::ReadSwTraceMessage</a>(packetBuffer->GetReadableData(), offset));</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(packetBuffer->GetReadableData(), timelineDirectoryCaptureCommandHandler);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">for</span>(uint32_t index = 0; index < declarationSize; ++index)</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  {</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml">profiling::SwTraceMessage</a>& bufferMessage = swTraceBufferMessages[index];</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="structarmnn_1_1profiling_1_1_sw_trace_message.xhtml">profiling::SwTraceMessage</a>& handlerMessage = timelineDirectoryCaptureCommandHandler.m_SwTraceMessages[index];</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <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>  <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>  <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> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <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>  <span class="keywordflow">for</span>(uint32_t i = 0; i < 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>  {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <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>  }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <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>  <span class="keywordflow">for</span>(uint32_t i = 0; i < 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>  {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <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>  }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> }</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> |
| 157 | <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 &CommandHandler)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00023">TimelineTests.cpp:23</a></div></div> |
| 158 | <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> |
| 159 | <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> |
| 160 | <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> |
| 161 | <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> |
| 162 | <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 &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> |
| 163 | <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> |
| 164 | <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 &offset)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l00320">ProfilingUtils.cpp:320</a></div></div> |
| 165 | <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< std::string > m_ArgNames</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00042">ProfilingUtils.hpp:42</a></div></div> |
| 166 | <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< char > m_ArgTypes</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8hpp_source.xhtml#l00041">ProfilingUtils.hpp:41</a></div></div> |
| 167 | <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 &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> |
| 168 | <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> |
| 169 | <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> |
| 170 | <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> |
| 171 | <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> |
| 172 | <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> |
| 173 | <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> |
| 174 | </div><!-- fragment --> |
| 175 | </div> |
| 176 | </div> |
| 177 | <a id="aa50403517c534c8fb2ee7d6ff102a60f"></a> |
| 178 | <h2 class="memtitle"><span class="permalink"><a href="#aa50403517c534c8fb2ee7d6ff102a60f">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[2/3]</span></h2> |
| 179 | |
| 180 | <div class="memitem"> |
| 181 | <div class="memproto"> |
| 182 | <table class="memname"> |
| 183 | <tr> |
| 184 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 185 | <td>(</td> |
| 186 | <td class="paramtype">TimelineCaptureTest </td> |
| 187 | <td class="paramname"></td><td>)</td> |
| 188 | <td></td> |
| 189 | </tr> |
| 190 | </table> |
| 191 | </div><div class="memdoc"> |
| 192 | |
| 193 | <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> |
| 194 | |
| 195 | <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> |
| 196 | <div class="fragment"><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <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>  <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>  <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> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  std::unique_ptr<profiling::ISendTimelinePacket> sendTimelinePacket =</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  timelinePacketWriterFactory.GetSendTimelinePacket();</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <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> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <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>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a>& 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> </div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <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>  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> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <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>  <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>  <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>  <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>  <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>  <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> </div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">const</span> uint64_t entityGuid = 111111u;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keyword">const</span> uint64_t eventClassGuid = 22222u;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keyword">const</span> uint64_t timestamp = 33333u;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">const</span> uint64_t eventGuid = 44444u;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <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> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <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>  <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>  uint64_t uint64ThreadId;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="namespacearmnn_1_1profiling.xhtml#af0cddaa4e116d294dacaaced90ca341c">profiling::WriteBytes</a>(uCharThreadId, 0, &threadId, threadIdSize);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">if</span> (threadIdSize == 4)</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  {</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  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>  }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <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>  {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  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>  }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">delete</span>[] uCharThreadId;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">const</span> uint64_t labelGuid = 66666u;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  std::string labelName = <span class="stringliteral">"test_label"</span>;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">const</span> uint64_t relationshipGuid = 77777u;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keyword">const</span> uint64_t headGuid = 888888u;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">const</span> uint64_t tailGuid = 999999u;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < 10; ++i)</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  {</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="comment">// Send entity</span></div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  sendTimelinePacket->SendTimelineEntityBinaryPacket(entityGuid);</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  sendTimelinePacket->Commit();</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()->GetReadableData(),</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  timelineCaptureCommandHandler);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="comment">// Send event class</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  sendTimelinePacket->SendTimelineEventClassBinaryPacket(eventClassGuid);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  sendTimelinePacket->Commit();</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()->GetReadableData(),</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  timelineCaptureCommandHandler);</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="comment">// Send event</span></div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  sendTimelinePacket->SendTimelineEventBinaryPacket(timestamp, threadId, eventGuid);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  sendTimelinePacket->Commit();</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()->GetReadableData(),</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  timelineCaptureCommandHandler);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="comment">// Send label</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  sendTimelinePacket->SendTimelineLabelBinaryPacket(labelGuid, labelName);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  sendTimelinePacket->Commit();</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()->GetReadableData(),</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  timelineCaptureCommandHandler);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="comment">// Send relationship</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <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>  sendTimelinePacket->SendTimelineRelationshipBinaryPacket(relationshipType,</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  relationshipGuid,</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  headGuid,</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  tailGuid);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  sendTimelinePacket->Commit();</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()->GetReadableData(),</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  timelineCaptureCommandHandler);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> i = 0; i < 10; ++i)</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <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> </div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <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> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <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>  <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>  <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> </div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <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>  <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> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <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>  <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>  <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>  <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>  }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> }</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> |
| 197 | <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 &CommandHandler)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00023">TimelineTests.cpp:23</a></div></div> |
| 198 | <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> |
| 199 | <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> |
| 200 | <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< Label > m_Labels</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder.hpp:24</a></div></div> |
| 201 | <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< Entity > m_Entities</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder.hpp:21</a></div></div> |
| 202 | <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 &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> |
| 203 | <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 &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> |
| 204 | <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> |
| 205 | <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> |
| 206 | <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> |
| 207 | <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> |
| 208 | <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> |
| 209 | <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 &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> |
| 210 | <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 &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> |
| 211 | <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 &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> |
| 212 | <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> |
| 213 | <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> |
| 214 | <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< Relationship > m_Relationships</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder.hpp:25</a></div></div> |
| 215 | <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> |
| 216 | <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> |
| 217 | <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 &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> |
| 218 | <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 &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> |
| 219 | <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< EventClass > m_EventClasses</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder.hpp:22</a></div></div> |
| 220 | <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 &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> |
| 221 | <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 & GetModel()</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00068">TimelineDecoder.cpp:68</a></div></div> |
| 222 | <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> |
| 223 | <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> |
| 224 | <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> |
| 225 | <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< Event > m_Events</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder.hpp:23</a></div></div> |
| 226 | <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> |
| 227 | <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> |
| 228 | <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> |
| 229 | </div><!-- fragment --> |
| 230 | </div> |
| 231 | </div> |
| 232 | <a id="a0c3d8093d05ab9aaef39f204123a5d80"></a> |
| 233 | <h2 class="memtitle"><span class="permalink"><a href="#a0c3d8093d05ab9aaef39f204123a5d80">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[3/3]</span></h2> |
| 234 | |
| 235 | <div class="memitem"> |
| 236 | <div class="memproto"> |
| 237 | <table class="memname"> |
| 238 | <tr> |
| 239 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 240 | <td>(</td> |
| 241 | <td class="paramtype">TimelineCaptureTestMultipleStringsInBuffer </td> |
| 242 | <td class="paramname"></td><td>)</td> |
| 243 | <td></td> |
| 244 | </tr> |
| 245 | </table> |
| 246 | </div><div class="memdoc"> |
| 247 | |
| 248 | <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> |
| 249 | |
| 250 | <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> |
| 251 | <div class="fragment"><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> {</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <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>  <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>  <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> </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  std::unique_ptr<profiling::ISendTimelinePacket> sendTimelinePacket =</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  timelinePacketWriterFactory.GetSendTimelinePacket();</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <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> </div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <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>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a>& 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> </div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <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>  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> </div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <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>  <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>  <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>  <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>  <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>  <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> </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keyword">const</span> uint64_t entityGuid = 111111u;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keyword">const</span> uint64_t eventClassGuid = 22222u;</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keyword">const</span> uint64_t timestamp = 33333u;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keyword">const</span> uint64_t eventGuid = 44444u;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <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> </div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <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>  <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>  uint64_t uint64ThreadId;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="namespacearmnn_1_1profiling.xhtml#af0cddaa4e116d294dacaaced90ca341c">profiling::WriteBytes</a>(uCharThreadId, 0, &threadId, threadIdSize);</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">if</span> ( threadIdSize == 4 )</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  {</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  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>  } <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>  {</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  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>  }</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keyword">delete</span>[] uCharThreadId;</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> </div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">const</span> uint64_t labelGuid = 66666u;</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  std::string labelName = <span class="stringliteral">"test_label"</span>;</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  std::string labelName2 = <span class="stringliteral">"test_label2"</span>;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  std::string labelName3 = <span class="stringliteral">"test_label32"</span>;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keyword">const</span> uint64_t relationshipGuid = 77777u;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keyword">const</span> uint64_t headGuid = 888888u;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keyword">const</span> uint64_t tailGuid = 999999u;</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <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>  <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < 9; ++i )</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="comment">// Send entity</span></div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  sendTimelinePacket->SendTimelineEntityBinaryPacket(entityGuid);</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">// Send event class</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  sendTimelinePacket->SendTimelineEventClassBinaryPacket(eventClassGuid);</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="comment">// Send event</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  sendTimelinePacket->SendTimelineEventBinaryPacket(timestamp, threadId, eventGuid);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="comment">// Send label</span></div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  sendTimelinePacket->SendTimelineLabelBinaryPacket(labelGuid, labelName);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  sendTimelinePacket->SendTimelineLabelBinaryPacket(labelGuid, labelName2);</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  sendTimelinePacket->SendTimelineLabelBinaryPacket(labelGuid, labelName3);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="comment">// Send relationship</span></div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <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>  sendTimelinePacket->SendTimelineRelationshipBinaryPacket(relationshipType,</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  relationshipGuid,</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  headGuid,</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  tailGuid);</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  }</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  sendTimelinePacket->Commit();</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <a class="code" href="_timeline_tests_8cpp.xhtml#ac7f0a814e6156ecdbcfa323befed6645">SendTimelinePacketToCommandHandler</a>(bufferManager.GetReadableBuffer()->GetReadableData(),</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  timelineCaptureCommandHandler);</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> </div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> i = 0; i < 9; ++i )</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  {</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <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> </div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <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> </div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <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> </div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <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>  <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>  <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> </div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <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>  <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>  <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>  <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>  }</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> i = 0; i < 9; i += 3 )</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  {</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <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>  <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>  <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>  }</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span> }</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> |
| 252 | <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 &CommandHandler)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_tests_8cpp_source.xhtml#l00023">TimelineTests.cpp:23</a></div></div> |
| 253 | <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> |
| 254 | <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> |
| 255 | <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< Label > m_Labels</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder.hpp:24</a></div></div> |
| 256 | <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< Entity > m_Entities</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder.hpp:21</a></div></div> |
| 257 | <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 &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> |
| 258 | <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 &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> |
| 259 | <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> |
| 260 | <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> |
| 261 | <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> |
| 262 | <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> |
| 263 | <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> |
| 264 | <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 &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> |
| 265 | <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 &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> |
| 266 | <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 &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> |
| 267 | <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> |
| 268 | <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> |
| 269 | <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< Relationship > m_Relationships</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder.hpp:25</a></div></div> |
| 270 | <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> |
| 271 | <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> |
| 272 | <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 &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> |
| 273 | <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 &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> |
| 274 | <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< EventClass > m_EventClasses</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder.hpp:22</a></div></div> |
| 275 | <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 &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> |
| 276 | <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 & GetModel()</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8cpp_source.xhtml#l00068">TimelineDecoder.cpp:68</a></div></div> |
| 277 | <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> |
| 278 | <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> |
| 279 | <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> |
| 280 | <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< Event > m_Events</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder.hpp:23</a></div></div> |
| 281 | <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> |
| 282 | <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> |
| 283 | <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> |
| 284 | </div><!-- fragment --> |
| 285 | </div> |
| 286 | </div> |
| 287 | <a id="a5d037fb2a573ca0e8b284ff0f4ba4b5b"></a> |
| 288 | <h2 class="memtitle"><span class="permalink"><a href="#a5d037fb2a573ca0e8b284ff0f4ba4b5b">◆ </a></span>PushEntity()</h2> |
| 289 | |
| 290 | <div class="memitem"> |
| 291 | <div class="memproto"> |
| 292 | <table class="memname"> |
| 293 | <tr> |
| 294 | <td class="memname">void PushEntity </td> |
| 295 | <td>(</td> |
| 296 | <td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> & </td> |
| 297 | <td class="paramname"><em>model</em>, </td> |
| 298 | </tr> |
| 299 | <tr> |
| 300 | <td class="paramkey"></td> |
| 301 | <td></td> |
| 302 | <td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_entity.xhtml">ITimelineDecoder::Entity</a> </td> |
| 303 | <td class="paramname"><em>entity</em> </td> |
| 304 | </tr> |
| 305 | <tr> |
| 306 | <td></td> |
| 307 | <td>)</td> |
| 308 | <td></td><td></td> |
| 309 | </tr> |
| 310 | </table> |
| 311 | </div><div class="memdoc"> |
| 312 | |
| 313 | <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> |
| 314 | |
| 315 | <p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder::Model::m_Entities</a>.</p> |
| 316 | |
| 317 | <p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 318 | <div class="fragment"><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  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> }</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< Entity > m_Entities</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00021">TimelineDecoder.hpp:21</a></div></div> |
| 319 | </div><!-- fragment --> |
| 320 | </div> |
| 321 | </div> |
| 322 | <a id="a152615febf988e6fc95d7e3284f0b139"></a> |
| 323 | <h2 class="memtitle"><span class="permalink"><a href="#a152615febf988e6fc95d7e3284f0b139">◆ </a></span>PushEvent()</h2> |
| 324 | |
| 325 | <div class="memitem"> |
| 326 | <div class="memproto"> |
| 327 | <table class="memname"> |
| 328 | <tr> |
| 329 | <td class="memname">void PushEvent </td> |
| 330 | <td>(</td> |
| 331 | <td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> & </td> |
| 332 | <td class="paramname"><em>model</em>, </td> |
| 333 | </tr> |
| 334 | <tr> |
| 335 | <td class="paramkey"></td> |
| 336 | <td></td> |
| 337 | <td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_event.xhtml">ITimelineDecoder::Event</a> </td> |
| 338 | <td class="paramname"><em>event</em> </td> |
| 339 | </tr> |
| 340 | <tr> |
| 341 | <td></td> |
| 342 | <td>)</td> |
| 343 | <td></td><td></td> |
| 344 | </tr> |
| 345 | </table> |
| 346 | </div><div class="memdoc"> |
| 347 | |
| 348 | <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> |
| 349 | |
| 350 | <p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder::Model::m_Events</a>.</p> |
| 351 | |
| 352 | <p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 353 | <div class="fragment"><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  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> }</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< Event > m_Events</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00023">TimelineDecoder.hpp:23</a></div></div> |
| 354 | </div><!-- fragment --> |
| 355 | </div> |
| 356 | </div> |
| 357 | <a id="a3b3046bf976af84f1afaf90604fdb5a5"></a> |
| 358 | <h2 class="memtitle"><span class="permalink"><a href="#a3b3046bf976af84f1afaf90604fdb5a5">◆ </a></span>PushEventClass()</h2> |
| 359 | |
| 360 | <div class="memitem"> |
| 361 | <div class="memproto"> |
| 362 | <table class="memname"> |
| 363 | <tr> |
| 364 | <td class="memname">void PushEventClass </td> |
| 365 | <td>(</td> |
| 366 | <td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> & </td> |
| 367 | <td class="paramname"><em>model</em>, </td> |
| 368 | </tr> |
| 369 | <tr> |
| 370 | <td class="paramkey"></td> |
| 371 | <td></td> |
| 372 | <td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_event_class.xhtml">ITimelineDecoder::EventClass</a> </td> |
| 373 | <td class="paramname"><em>eventClass</em> </td> |
| 374 | </tr> |
| 375 | <tr> |
| 376 | <td></td> |
| 377 | <td>)</td> |
| 378 | <td></td><td></td> |
| 379 | </tr> |
| 380 | </table> |
| 381 | </div><div class="memdoc"> |
| 382 | |
| 383 | <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> |
| 384 | |
| 385 | <p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder::Model::m_EventClasses</a>.</p> |
| 386 | |
| 387 | <p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 388 | <div class="fragment"><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  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> }</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< EventClass > m_EventClasses</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00022">TimelineDecoder.hpp:22</a></div></div> |
| 389 | </div><!-- fragment --> |
| 390 | </div> |
| 391 | </div> |
| 392 | <a id="ad3941381c7ffa8b2804d4d5708abd488"></a> |
| 393 | <h2 class="memtitle"><span class="permalink"><a href="#ad3941381c7ffa8b2804d4d5708abd488">◆ </a></span>PushLabel()</h2> |
| 394 | |
| 395 | <div class="memitem"> |
| 396 | <div class="memproto"> |
| 397 | <table class="memname"> |
| 398 | <tr> |
| 399 | <td class="memname">void PushLabel </td> |
| 400 | <td>(</td> |
| 401 | <td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> & </td> |
| 402 | <td class="paramname"><em>model</em>, </td> |
| 403 | </tr> |
| 404 | <tr> |
| 405 | <td class="paramkey"></td> |
| 406 | <td></td> |
| 407 | <td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_label.xhtml">ITimelineDecoder::Label</a> </td> |
| 408 | <td class="paramname"><em>label</em> </td> |
| 409 | </tr> |
| 410 | <tr> |
| 411 | <td></td> |
| 412 | <td>)</td> |
| 413 | <td></td><td></td> |
| 414 | </tr> |
| 415 | </table> |
| 416 | </div><div class="memdoc"> |
| 417 | |
| 418 | <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> |
| 419 | |
| 420 | <p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder::Model::m_Labels</a>.</p> |
| 421 | |
| 422 | <p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 423 | <div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  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> }</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< Label > m_Labels</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00024">TimelineDecoder.hpp:24</a></div></div> |
| 424 | </div><!-- fragment --> |
| 425 | </div> |
| 426 | </div> |
| 427 | <a id="a5f9ab9422ed7d18bdc693338d3e5e6b6"></a> |
| 428 | <h2 class="memtitle"><span class="permalink"><a href="#a5f9ab9422ed7d18bdc693338d3e5e6b6">◆ </a></span>PushRelationship()</h2> |
| 429 | |
| 430 | <div class="memitem"> |
| 431 | <div class="memproto"> |
| 432 | <table class="memname"> |
| 433 | <tr> |
| 434 | <td class="memname">void PushRelationship </td> |
| 435 | <td>(</td> |
| 436 | <td class="paramtype"><a class="el" href="structarmnn_1_1timelinedecoder_1_1_timeline_decoder_1_1_model.xhtml">TimelineDecoder::Model</a> & </td> |
| 437 | <td class="paramname"><em>model</em>, </td> |
| 438 | </tr> |
| 439 | <tr> |
| 440 | <td class="paramkey"></td> |
| 441 | <td></td> |
| 442 | <td class="paramtype">const <a class="el" href="struct_i_timeline_decoder_1_1_relationship.xhtml">ITimelineDecoder::Relationship</a> </td> |
| 443 | <td class="paramname"><em>relationship</em> </td> |
| 444 | </tr> |
| 445 | <tr> |
| 446 | <td></td> |
| 447 | <td>)</td> |
| 448 | <td></td><td></td> |
| 449 | </tr> |
| 450 | </table> |
| 451 | </div><div class="memdoc"> |
| 452 | |
| 453 | <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> |
| 454 | |
| 455 | <p class="reference">References <a class="el" href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder::Model::m_Relationships</a>.</p> |
| 456 | |
| 457 | <p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00140">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 458 | <div class="fragment"><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  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> }</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< Relationship > m_Relationships</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_decoder_8hpp_source.xhtml#l00025">TimelineDecoder.hpp:25</a></div></div> |
| 459 | </div><!-- fragment --> |
| 460 | </div> |
| 461 | </div> |
| 462 | <a id="ac7f0a814e6156ecdbcfa323befed6645"></a> |
| 463 | <h2 class="memtitle"><span class="permalink"><a href="#ac7f0a814e6156ecdbcfa323befed6645">◆ </a></span>SendTimelinePacketToCommandHandler()</h2> |
| 464 | |
| 465 | <div class="memitem"> |
| 466 | <div class="memproto"> |
| 467 | <table class="memname"> |
| 468 | <tr> |
| 469 | <td class="memname">void SendTimelinePacketToCommandHandler </td> |
| 470 | <td>(</td> |
| 471 | <td class="paramtype">const unsigned char * </td> |
| 472 | <td class="paramname"><em>packetBuffer</em>, </td> |
| 473 | </tr> |
| 474 | <tr> |
| 475 | <td class="paramkey"></td> |
| 476 | <td></td> |
| 477 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_command_handler_functor.xhtml">profiling::CommandHandlerFunctor</a> & </td> |
| 478 | <td class="paramname"><em>CommandHandler</em> </td> |
| 479 | </tr> |
| 480 | <tr> |
| 481 | <td></td> |
| 482 | <td>)</td> |
| 483 | <td></td><td></td> |
| 484 | </tr> |
| 485 | </table> |
| 486 | </div><div class="memdoc"> |
| 487 | |
| 488 | <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> |
| 489 | |
| 490 | <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> |
| 491 | |
| 492 | <p class="reference">Referenced by <a class="el" href="_timeline_tests_8cpp_source.xhtml#l00071">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 493 | <div class="fragment"><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  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>  <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> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  uint32_t header[2];</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  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>  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>  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>  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>  uint32_t PacketDataLength = header[1] & 0x00FFFFFF;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">auto</span> uniquePacketData = std::make_unique<unsigned char[]>(PacketDataLength);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  std::memcpy(uniquePacketData.get(), packetBuffer + offset, PacketDataLength);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <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> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <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> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  CommandHandler(packet);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</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> |
| 494 | <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> |
| 495 | <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 &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> |
| 496 | <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> |
| 497 | </div><!-- fragment --> |
| 498 | </div> |
| 499 | </div> |
| 500 | </div><!-- contents --> |
| 501 | </div><!-- doc-content --> |
| 502 | <!-- start footer part --> |
| 503 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 504 | <ul> |
| 505 | <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> |
| 506 | <li class="footer">Generated on Fri Mar 13 2020 16:09:16 for ArmNN by |
| 507 | <a href="http://www.doxygen.org/index.html"> |
| 508 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 509 | </ul> |
| 510 | </div> |
| 511 | </body> |
| 512 | </html> |