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: TimelineUtilityMethods Class Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <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('classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#pub-methods">Public Member Functions</a> | |
| 99 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 100 | <a href="classarmnn_1_1profiling_1_1_timeline_utility_methods-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">TimelineUtilityMethods Class Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_timeline_utility_methods_8hpp_source.xhtml">TimelineUtilityMethods.hpp</a>></code></p> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 109 | Public Member Functions</h2></td></tr> |
| 110 | <tr class="memitem:a2f08aefcb90cae9b415bcfc0324f22c9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a2f08aefcb90cae9b415bcfc0324f22c9">TimelineUtilityMethods</a> (std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml">ISendTimelinePacket</a> > &sendTimelinePacket)</td></tr> |
| 111 | <tr class="separator:a2f08aefcb90cae9b415bcfc0324f22c9"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a04040a43a1cc15cbfcae5e9a50d82f47"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a04040a43a1cc15cbfcae5e9a50d82f47">TimelineUtilityMethods</a> (<a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> &&other)</td></tr> |
| 113 | <tr class="separator:a04040a43a1cc15cbfcae5e9a50d82f47"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:aa1796288b861688112c4d5eb05af4183"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#aa1796288b861688112c4d5eb05af4183">TimelineUtilityMethods</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> &other)=delete</td></tr> |
| 115 | <tr class="separator:aa1796288b861688112c4d5eb05af4183"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <tr class="memitem:a9c75d6315fe9dff3d3d33b4fe3b00161"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a9c75d6315fe9dff3d3d33b4fe3b00161">operator=</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> &other)=delete</td></tr> |
| 117 | <tr class="separator:a9c75d6315fe9dff3d3d33b4fe3b00161"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <tr class="memitem:a42c25cc17371f2faef25f3526ff2b075"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a42c25cc17371f2faef25f3526ff2b075">operator=</a> (<a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> &&other)=default</td></tr> |
| 119 | <tr class="separator:a42c25cc17371f2faef25f3526ff2b075"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <tr class="memitem:a796c5abee6b2411fb04024c171e49259"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a796c5abee6b2411fb04024c171e49259">~TimelineUtilityMethods</a> ()=default</td></tr> |
| 121 | <tr class="separator:a796c5abee6b2411fb04024c171e49259"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="memitem:a7d0df2e03ade564ee416cc07916c66e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a7d0df2e03ade564ee416cc07916c66e9">SendWellKnownLabelsAndEventClasses</a> ()</td></tr> |
| 123 | <tr class="separator:a7d0df2e03ade564ee416cc07916c66e9"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:a4eee08ab6a4941622b7e42ada1f6aaea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">CreateNamedTypedEntity</a> (const std::string &name, const std::string &type)</td></tr> |
| 125 | <tr class="separator:a4eee08ab6a4941622b7e42ada1f6aaea"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a382751186896ec1e6e3508ffdfe1be77"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a382751186896ec1e6e3508ffdfe1be77">CreateNamedTypedEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, const std::string &name, const std::string &type)</td></tr> |
| 127 | <tr class="separator:a382751186896ec1e6e3508ffdfe1be77"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:acd4291c5ca9117844566e8fccbabcef4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#acd4291c5ca9117844566e8fccbabcef4">CreateNamedTypedEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, const std::string &name, <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> typeGuid)</td></tr> |
| 129 | <tr class="separator:acd4291c5ca9117844566e8fccbabcef4"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:af8e3c53181977ef3941575b1a218a0a1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af8e3c53181977ef3941575b1a218a0a1">MarkEntityWithLabel</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, const std::string &labelName, <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> labelLinkGuid)</td></tr> |
| 131 | <tr class="separator:af8e3c53181977ef3941575b1a218a0a1"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:af92e501555c05c5f56c59ecfd4ffd06e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af92e501555c05c5f56c59ecfd4ffd06e">DeclareLabel</a> (const std::string &labelName)</td></tr> |
| 133 | <tr class="separator:af92e501555c05c5f56c59ecfd4ffd06e"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:aa4dd5c1a285f1438e9be275c635fbefa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#aa4dd5c1a285f1438e9be275c635fbefa">NameEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, const std::string &name)</td></tr> |
| 135 | <tr class="separator:aa4dd5c1a285f1438e9be275c635fbefa"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="memitem:ae8c2d2f76cfa5291e0abad620e5ec864"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ae8c2d2f76cfa5291e0abad620e5ec864">TypeEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, const std::string &type)</td></tr> |
| 137 | <tr class="separator:ae8c2d2f76cfa5291e0abad620e5ec864"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:a17fb755aaf109f832eef0874f0c5254f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a17fb755aaf109f832eef0874f0c5254f">CreateNamedTypedChildEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> parentEntityGuid, const std::string &entityName, const std::string &entityType)</td></tr> |
| 139 | <tr class="separator:a17fb755aaf109f832eef0874f0c5254f"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:ac809ad30bb849818aeee9e2a542419f3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ac809ad30bb849818aeee9e2a542419f3">CreateNamedTypedChildEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> parentEntityGuid, const std::string &entityName, const std::string &entityType)</td></tr> |
| 141 | <tr class="separator:ac809ad30bb849818aeee9e2a542419f3"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:a138b36f259fe5fdc602e144c672ecaf6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a138b36f259fe5fdc602e144c672ecaf6">CreateNamedTypedChildEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> parentEntityGuid, const std::string &entityName, <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> typeGuid)</td></tr> |
| 143 | <tr class="separator:a138b36f259fe5fdc602e144c672ecaf6"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <tr class="memitem:ab0ee55f8d7708222c3481adf7952a415"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ab0ee55f8d7708222c3481adf7952a415">CreateRelationship</a> (<a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">ProfilingRelationshipType</a> relationshipType, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> headGuid, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> tailGuid)</td></tr> |
| 145 | <tr class="separator:ab0ee55f8d7708222c3481adf7952a415"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <tr class="memitem:a26eb17879c4c1e70ab32091f1f3f7603"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a26eb17879c4c1e70ab32091f1f3f7603">CreateConnectionRelationship</a> (<a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">ProfilingRelationshipType</a> relationshipType, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> headGuid, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> tailGuid)</td></tr> |
| 147 | <tr class="separator:a26eb17879c4c1e70ab32091f1f3f7603"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | <tr class="memitem:adf509c448cac724f0d10deea70bad439"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#adf509c448cac724f0d10deea70bad439">CreateTypedEntity</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> typeGuid)</td></tr> |
| 149 | <tr class="separator:adf509c448cac724f0d10deea70bad439"><td class="memSeparator" colspan="2"> </td></tr> |
| 150 | <tr class="memitem:a25e5f1346081cbe38177d5d0869e200a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a25e5f1346081cbe38177d5d0869e200a">MarkEntityWithType</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> typeNameGuid)</td></tr> |
| 151 | <tr class="separator:a25e5f1346081cbe38177d5d0869e200a"><td class="memSeparator" colspan="2"> </td></tr> |
| 152 | <tr class="memitem:ac4c885d17f21b2642a88130fa2ee9dc9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ac4c885d17f21b2642a88130fa2ee9dc9">RecordEvent</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid, <a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> eventClassGuid)</td></tr> |
| 153 | <tr class="separator:ac4c885d17f21b2642a88130fa2ee9dc9"><td class="memSeparator" colspan="2"> </td></tr> |
| 154 | <tr class="memitem:adfe02b1d64832a66f4c0da282ba1e6a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#adfe02b1d64832a66f4c0da282ba1e6a1">RecordWorkloadInferenceAndStartOfLifeEvent</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> workloadGuid, <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> inferenceGuid)</td></tr> |
| 155 | <tr class="separator:adfe02b1d64832a66f4c0da282ba1e6a1"><td class="memSeparator" colspan="2"> </td></tr> |
| 156 | <tr class="memitem:a3431e92f1626dfcdd2e124ab9aeddd5a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a3431e92f1626dfcdd2e124ab9aeddd5a">RecordEndOfLifeEvent</a> (<a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> entityGuid)</td></tr> |
| 157 | <tr class="separator:a3431e92f1626dfcdd2e124ab9aeddd5a"><td class="memSeparator" colspan="2"> </td></tr> |
| 158 | <tr class="memitem:aca6f43ce4724910499fa7cadb5caa01f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#aca6f43ce4724910499fa7cadb5caa01f">Commit</a> ()</td></tr> |
| 159 | <tr class="separator:aca6f43ce4724910499fa7cadb5caa01f"><td class="memSeparator" colspan="2"> </td></tr> |
| 160 | </table><table class="memberdecls"> |
| 161 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 162 | Static Public Member Functions</h2></td></tr> |
| 163 | <tr class="memitem:a658c37218b2fb1b1f1fe80a4f83e0ad8"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a658c37218b2fb1b1f1fe80a4f83e0ad8">GetTimelineUtils</a> ()</td></tr> |
| 164 | <tr class="separator:a658c37218b2fb1b1f1fe80a4f83e0ad8"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | </table> |
| 166 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 167 | <div class="textblock"> |
| 168 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00017">17</a> of file <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml">TimelineUtilityMethods.hpp</a>.</p> |
| 169 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 170 | <a id="a2f08aefcb90cae9b415bcfc0324f22c9"></a> |
| 171 | <h2 class="memtitle"><span class="permalink"><a href="#a2f08aefcb90cae9b415bcfc0324f22c9">◆ </a></span>TimelineUtilityMethods() <span class="overload">[1/3]</span></h2> |
| 172 | |
| 173 | <div class="memitem"> |
| 174 | <div class="memproto"> |
| 175 | <table class="mlabels"> |
| 176 | <tr> |
| 177 | <td class="mlabels-left"> |
| 178 | <table class="memname"> |
| 179 | <tr> |
| 180 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> </td> |
| 181 | <td>(</td> |
| 182 | <td class="paramtype">std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_i_send_timeline_packet.xhtml">ISendTimelinePacket</a> > & </td> |
| 183 | <td class="paramname"><em>sendTimelinePacket</em></td><td>)</td> |
| 184 | <td></td> |
| 185 | </tr> |
| 186 | </table> |
| 187 | </td> |
| 188 | <td class="mlabels-right"> |
| 189 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 190 | </tr> |
| 191 | </table> |
| 192 | </div><div class="memdoc"> |
| 193 | |
| 194 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00025">25</a> of file <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml">TimelineUtilityMethods.hpp</a>.</p> |
| 195 | |
| 196 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 197 | <div class="fragment"><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  : m_SendTimelinePacket(std::move(sendTimelinePacket)) {}</div></div><!-- fragment --> |
| 198 | </div> |
| 199 | </div> |
| 200 | <a id="a04040a43a1cc15cbfcae5e9a50d82f47"></a> |
| 201 | <h2 class="memtitle"><span class="permalink"><a href="#a04040a43a1cc15cbfcae5e9a50d82f47">◆ </a></span>TimelineUtilityMethods() <span class="overload">[2/3]</span></h2> |
| 202 | |
| 203 | <div class="memitem"> |
| 204 | <div class="memproto"> |
| 205 | <table class="mlabels"> |
| 206 | <tr> |
| 207 | <td class="mlabels-left"> |
| 208 | <table class="memname"> |
| 209 | <tr> |
| 210 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> </td> |
| 211 | <td>(</td> |
| 212 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> && </td> |
| 213 | <td class="paramname"><em>other</em></td><td>)</td> |
| 214 | <td></td> |
| 215 | </tr> |
| 216 | </table> |
| 217 | </td> |
| 218 | <td class="mlabels-right"> |
| 219 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 220 | </tr> |
| 221 | </table> |
| 222 | </div><div class="memdoc"> |
| 223 | |
| 224 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">28</a> of file <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml">TimelineUtilityMethods.hpp</a>.</p> |
| 225 | |
| 226 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00336">TimelineUtilityMethods::CreateConnectionRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00231">TimelineUtilityMethods::CreateNamedTypedChildEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00321">TimelineUtilityMethods::CreateRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00353">TimelineUtilityMethods::CreateTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00148">TimelineUtilityMethods::DeclareLabel()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00221">TimelineUtilityMethods::NameEntity()</a>, <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a9c75d6315fe9dff3d3d33b4fe3b00161">TimelineUtilityMethods::operator=()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00408">TimelineUtilityMethods::RecordEndOfLifeEvent()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00362">TimelineUtilityMethods::RecordEvent()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00031">TimelineUtilityMethods::SendWellKnownLabelsAndEventClasses()</a>, <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00025">TimelineUtilityMethods::TimelineUtilityMethods()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00226">TimelineUtilityMethods::TypeEntity()</a>, and <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a796c5abee6b2411fb04024c171e49259">TimelineUtilityMethods::~TimelineUtilityMethods()</a>.</p> |
| 227 | <div class="fragment"><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  : m_SendTimelinePacket(std::move(other.m_SendTimelinePacket)) {}</div></div><!-- fragment --> |
| 228 | </div> |
| 229 | </div> |
| 230 | <a id="aa1796288b861688112c4d5eb05af4183"></a> |
| 231 | <h2 class="memtitle"><span class="permalink"><a href="#aa1796288b861688112c4d5eb05af4183">◆ </a></span>TimelineUtilityMethods() <span class="overload">[3/3]</span></h2> |
| 232 | |
| 233 | <div class="memitem"> |
| 234 | <div class="memproto"> |
| 235 | <table class="mlabels"> |
| 236 | <tr> |
| 237 | <td class="mlabels-left"> |
| 238 | <table class="memname"> |
| 239 | <tr> |
| 240 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> </td> |
| 241 | <td>(</td> |
| 242 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> & </td> |
| 243 | <td class="paramname"><em>other</em></td><td>)</td> |
| 244 | <td></td> |
| 245 | </tr> |
| 246 | </table> |
| 247 | </td> |
| 248 | <td class="mlabels-right"> |
| 249 | <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| 250 | </tr> |
| 251 | </table> |
| 252 | </div><div class="memdoc"> |
| 253 | |
| 254 | </div> |
| 255 | </div> |
| 256 | <a id="a796c5abee6b2411fb04024c171e49259"></a> |
| 257 | <h2 class="memtitle"><span class="permalink"><a href="#a796c5abee6b2411fb04024c171e49259">◆ </a></span>~TimelineUtilityMethods()</h2> |
| 258 | |
| 259 | <div class="memitem"> |
| 260 | <div class="memproto"> |
| 261 | <table class="mlabels"> |
| 262 | <tr> |
| 263 | <td class="mlabels-left"> |
| 264 | <table class="memname"> |
| 265 | <tr> |
| 266 | <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> </td> |
| 267 | <td>(</td> |
| 268 | <td class="paramname"></td><td>)</td> |
| 269 | <td></td> |
| 270 | </tr> |
| 271 | </table> |
| 272 | </td> |
| 273 | <td class="mlabels-right"> |
| 274 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 275 | </tr> |
| 276 | </table> |
| 277 | </div><div class="memdoc"> |
| 278 | |
| 279 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 280 | |
| 281 | </div> |
| 282 | </div> |
| 283 | <h2 class="groupheader">Member Function Documentation</h2> |
| 284 | <a id="aca6f43ce4724910499fa7cadb5caa01f"></a> |
| 285 | <h2 class="memtitle"><span class="permalink"><a href="#aca6f43ce4724910499fa7cadb5caa01f">◆ </a></span>Commit()</h2> |
| 286 | |
| 287 | <div class="memitem"> |
| 288 | <div class="memproto"> |
| 289 | <table class="mlabels"> |
| 290 | <tr> |
| 291 | <td class="mlabels-left"> |
| 292 | <table class="memname"> |
| 293 | <tr> |
| 294 | <td class="memname">void Commit </td> |
| 295 | <td>(</td> |
| 296 | <td class="paramname"></td><td>)</td> |
| 297 | <td></td> |
| 298 | </tr> |
| 299 | </table> |
| 300 | </td> |
| 301 | <td class="mlabels-right"> |
| 302 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 303 | </tr> |
| 304 | </table> |
| 305 | </div><div class="memdoc"> |
| 306 | |
| 307 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00088">88</a> of file <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml">TimelineUtilityMethods.hpp</a>.</p> |
| 308 | <div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> { m_SendTimelinePacket->Commit(); }</div></div><!-- fragment --> |
| 309 | </div> |
| 310 | </div> |
| 311 | <a id="a26eb17879c4c1e70ab32091f1f3f7603"></a> |
| 312 | <h2 class="memtitle"><span class="permalink"><a href="#a26eb17879c4c1e70ab32091f1f3f7603">◆ </a></span>CreateConnectionRelationship()</h2> |
| 313 | |
| 314 | <div class="memitem"> |
| 315 | <div class="memproto"> |
| 316 | <table class="memname"> |
| 317 | <tr> |
| 318 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> CreateConnectionRelationship </td> |
| 319 | <td>(</td> |
| 320 | <td class="paramtype"><a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">ProfilingRelationshipType</a> </td> |
| 321 | <td class="paramname"><em>relationshipType</em>, </td> |
| 322 | </tr> |
| 323 | <tr> |
| 324 | <td class="paramkey"></td> |
| 325 | <td></td> |
| 326 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 327 | <td class="paramname"><em>headGuid</em>, </td> |
| 328 | </tr> |
| 329 | <tr> |
| 330 | <td class="paramkey"></td> |
| 331 | <td></td> |
| 332 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 333 | <td class="paramname"><em>tailGuid</em> </td> |
| 334 | </tr> |
| 335 | <tr> |
| 336 | <td></td> |
| 337 | <td>)</td> |
| 338 | <td></td><td></td> |
| 339 | </tr> |
| 340 | </table> |
| 341 | </div><div class="memdoc"> |
| 342 | |
| 343 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00336">336</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 344 | |
| 345 | <p class="reference">References <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00042">LabelsAndEventClasses::CONNECTION_GUID</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>.</p> |
| 346 | |
| 347 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 348 | <div class="fragment"><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> {</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="comment">// Generate a GUID for the relationship</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  ProfilingDynamicGuid relationshipGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</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>  <span class="comment">// Send the new retention link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(relationshipType,</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  relationshipGuid,</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  headGuid,</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  tailGuid);</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span> </div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a25e5f1346081cbe38177d5d0869e200a">MarkEntityWithType</a>(relationshipGuid, <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ab2c48043328356b5ec556dd5284a4138">LabelsAndEventClasses::CONNECTION_GUID</a>);</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keywordflow">return</span> relationshipGuid;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 349 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_ab2c48043328356b5ec556dd5284a4138"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ab2c48043328356b5ec556dd5284a4138">armnn::profiling::LabelsAndEventClasses::CONNECTION_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid CONNECTION_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00042">LabelsAndEventClasses.hpp:42</a></div></div> |
| 350 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 351 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a25e5f1346081cbe38177d5d0869e200a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a25e5f1346081cbe38177d5d0869e200a">armnn::profiling::TimelineUtilityMethods::MarkEntityWithType</a></div><div class="ttdeci">void MarkEntityWithType(ProfilingGuid entityGuid, ProfilingStaticGuid typeNameGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods.cpp:199</a></div></div> |
| 352 | </div><!-- fragment --> |
| 353 | </div> |
| 354 | </div> |
| 355 | <a id="a17fb755aaf109f832eef0874f0c5254f"></a> |
| 356 | <h2 class="memtitle"><span class="permalink"><a href="#a17fb755aaf109f832eef0874f0c5254f">◆ </a></span>CreateNamedTypedChildEntity() <span class="overload">[1/3]</span></h2> |
| 357 | |
| 358 | <div class="memitem"> |
| 359 | <div class="memproto"> |
| 360 | <table class="memname"> |
| 361 | <tr> |
| 362 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> CreateNamedTypedChildEntity </td> |
| 363 | <td>(</td> |
| 364 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 365 | <td class="paramname"><em>parentEntityGuid</em>, </td> |
| 366 | </tr> |
| 367 | <tr> |
| 368 | <td class="paramkey"></td> |
| 369 | <td></td> |
| 370 | <td class="paramtype">const std::string & </td> |
| 371 | <td class="paramname"><em>entityName</em>, </td> |
| 372 | </tr> |
| 373 | <tr> |
| 374 | <td class="paramkey"></td> |
| 375 | <td></td> |
| 376 | <td class="paramtype">const std::string & </td> |
| 377 | <td class="paramname"><em>entityType</em> </td> |
| 378 | </tr> |
| 379 | <tr> |
| 380 | <td></td> |
| 381 | <td>)</td> |
| 382 | <td></td><td></td> |
| 383 | </tr> |
| 384 | </table> |
| 385 | </div><div class="memdoc"> |
| 386 | |
| 387 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00231">231</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 388 | |
| 389 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>, and <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::RetentionLink</a>.</p> |
| 390 | |
| 391 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 392 | <div class="fragment"><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>  <span class="comment">// Check that the entity name is valid</span></div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordflow">if</span> (entityName.empty())</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="comment">// The entity name is invalid</span></div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity name, the entity name cannot be empty"</span>);</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> </div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="comment">// Check that the entity type is valid</span></div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">if</span> (entityType.empty())</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  {</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="comment">// The entity type is invalid</span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity type, the entity type cannot be empty"</span>);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  }</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>  <span class="comment">// Create a named type entity from the given name and type, this call throws in case of error</span></div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  ProfilingDynamicGuid childEntityGuid = <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">CreateNamedTypedEntity</a>(entityName, entityType);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="comment">// Generate a GUID for the retention link relationship</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  ProfilingDynamicGuid retentionLinkGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// Send the new retention link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">ProfilingRelationshipType::RetentionLink</a>,</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  retentionLinkGuid,</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  parentEntityGuid,</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  childEntityGuid);</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">return</span> childEntityGuid;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 393 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 394 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a4eee08ab6a4941622b7e42ada1f6aaea"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">armnn::profiling::TimelineUtilityMethods::CreateNamedTypedEntity</a></div><div class="ttdeci">ProfilingDynamicGuid CreateNamedTypedEntity(const std::string &name, const std::string &type)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods.cpp:80</a></div></div> |
| 395 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::ProfilingRelationshipType::RetentionLink</a></div></div> |
| 396 | </div><!-- fragment --> |
| 397 | </div> |
| 398 | </div> |
| 399 | <a id="ac809ad30bb849818aeee9e2a542419f3"></a> |
| 400 | <h2 class="memtitle"><span class="permalink"><a href="#ac809ad30bb849818aeee9e2a542419f3">◆ </a></span>CreateNamedTypedChildEntity() <span class="overload">[2/3]</span></h2> |
| 401 | |
| 402 | <div class="memitem"> |
| 403 | <div class="memproto"> |
| 404 | <table class="memname"> |
| 405 | <tr> |
| 406 | <td class="memname">void CreateNamedTypedChildEntity </td> |
| 407 | <td>(</td> |
| 408 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 409 | <td class="paramname"><em>entityGuid</em>, </td> |
| 410 | </tr> |
| 411 | <tr> |
| 412 | <td class="paramkey"></td> |
| 413 | <td></td> |
| 414 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 415 | <td class="paramname"><em>parentEntityGuid</em>, </td> |
| 416 | </tr> |
| 417 | <tr> |
| 418 | <td class="paramkey"></td> |
| 419 | <td></td> |
| 420 | <td class="paramtype">const std::string & </td> |
| 421 | <td class="paramname"><em>entityName</em>, </td> |
| 422 | </tr> |
| 423 | <tr> |
| 424 | <td class="paramkey"></td> |
| 425 | <td></td> |
| 426 | <td class="paramtype">const std::string & </td> |
| 427 | <td class="paramname"><em>entityType</em> </td> |
| 428 | </tr> |
| 429 | <tr> |
| 430 | <td></td> |
| 431 | <td>)</td> |
| 432 | <td></td><td></td> |
| 433 | </tr> |
| 434 | </table> |
| 435 | </div><div class="memdoc"> |
| 436 | |
| 437 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00264">264</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 438 | |
| 439 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>, and <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::RetentionLink</a>.</p> |
| 440 | <div class="fragment"><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> {</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// Check that the entity name is valid</span></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">if</span> (entityName.empty())</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="comment">// The entity name is invalid</span></div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity name, the entity name cannot be empty"</span>);</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> </div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="comment">// Check that the entity type is valid</span></div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">if</span> (entityType.empty())</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  {</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="comment">// The entity type is invalid</span></div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity type, the entity type cannot be empty"</span>);</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> </div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="comment">// Create a named type entity from the given guid, name and type, this call throws in case of error</span></div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">CreateNamedTypedEntity</a>(childEntityGuid, entityName, entityType);</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>  <span class="comment">// Generate a GUID for the retention link relationship</span></div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  ProfilingDynamicGuid retentionLinkGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="comment">// Send the new retention link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">ProfilingRelationshipType::RetentionLink</a>,</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  retentionLinkGuid,</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  parentEntityGuid,</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  childEntityGuid);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 441 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 442 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a4eee08ab6a4941622b7e42ada1f6aaea"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">armnn::profiling::TimelineUtilityMethods::CreateNamedTypedEntity</a></div><div class="ttdeci">ProfilingDynamicGuid CreateNamedTypedEntity(const std::string &name, const std::string &type)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods.cpp:80</a></div></div> |
| 443 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::ProfilingRelationshipType::RetentionLink</a></div></div> |
| 444 | </div><!-- fragment --> |
| 445 | </div> |
| 446 | </div> |
| 447 | <a id="a138b36f259fe5fdc602e144c672ecaf6"></a> |
| 448 | <h2 class="memtitle"><span class="permalink"><a href="#a138b36f259fe5fdc602e144c672ecaf6">◆ </a></span>CreateNamedTypedChildEntity() <span class="overload">[3/3]</span></h2> |
| 449 | |
| 450 | <div class="memitem"> |
| 451 | <div class="memproto"> |
| 452 | <table class="memname"> |
| 453 | <tr> |
| 454 | <td class="memname">void CreateNamedTypedChildEntity </td> |
| 455 | <td>(</td> |
| 456 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 457 | <td class="paramname"><em>entityGuid</em>, </td> |
| 458 | </tr> |
| 459 | <tr> |
| 460 | <td class="paramkey"></td> |
| 461 | <td></td> |
| 462 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 463 | <td class="paramname"><em>parentEntityGuid</em>, </td> |
| 464 | </tr> |
| 465 | <tr> |
| 466 | <td class="paramkey"></td> |
| 467 | <td></td> |
| 468 | <td class="paramtype">const std::string & </td> |
| 469 | <td class="paramname"><em>entityName</em>, </td> |
| 470 | </tr> |
| 471 | <tr> |
| 472 | <td class="paramkey"></td> |
| 473 | <td></td> |
| 474 | <td class="paramtype"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td> |
| 475 | <td class="paramname"><em>typeGuid</em> </td> |
| 476 | </tr> |
| 477 | <tr> |
| 478 | <td></td> |
| 479 | <td>)</td> |
| 480 | <td></td><td></td> |
| 481 | </tr> |
| 482 | </table> |
| 483 | </div><div class="memdoc"> |
| 484 | |
| 485 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00296">296</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 486 | |
| 487 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>, and <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::RetentionLink</a>.</p> |
| 488 | <div class="fragment"><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> {</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="comment">// Check that the entity name is valid</span></div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">if</span> (entityName.empty())</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  {</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="comment">// The entity name is invalid</span></div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity name, the entity name cannot be empty"</span>);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  }</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="comment">// Create a named type entity from the given guid, name and type, this call throws in case of error</span></div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">CreateNamedTypedEntity</a>(childEntityGuid, entityName, typeGuid);</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">// Generate a GUID for the retention link relationship</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  ProfilingDynamicGuid retentionLinkGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="comment">// Send the new retention link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">ProfilingRelationshipType::RetentionLink</a>,</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  retentionLinkGuid,</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  parentEntityGuid,</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  childEntityGuid);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 489 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 490 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a4eee08ab6a4941622b7e42ada1f6aaea"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">armnn::profiling::TimelineUtilityMethods::CreateNamedTypedEntity</a></div><div class="ttdeci">ProfilingDynamicGuid CreateNamedTypedEntity(const std::string &name, const std::string &type)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods.cpp:80</a></div></div> |
| 491 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::ProfilingRelationshipType::RetentionLink</a></div></div> |
| 492 | </div><!-- fragment --> |
| 493 | </div> |
| 494 | </div> |
| 495 | <a id="a4eee08ab6a4941622b7e42ada1f6aaea"></a> |
| 496 | <h2 class="memtitle"><span class="permalink"><a href="#a4eee08ab6a4941622b7e42ada1f6aaea">◆ </a></span>CreateNamedTypedEntity() <span class="overload">[1/3]</span></h2> |
| 497 | |
| 498 | <div class="memitem"> |
| 499 | <div class="memproto"> |
| 500 | <table class="memname"> |
| 501 | <tr> |
| 502 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> CreateNamedTypedEntity </td> |
| 503 | <td>(</td> |
| 504 | <td class="paramtype">const std::string & </td> |
| 505 | <td class="paramname"><em>name</em>, </td> |
| 506 | </tr> |
| 507 | <tr> |
| 508 | <td class="paramkey"></td> |
| 509 | <td></td> |
| 510 | <td class="paramtype">const std::string & </td> |
| 511 | <td class="paramname"><em>type</em> </td> |
| 512 | </tr> |
| 513 | <tr> |
| 514 | <td></td> |
| 515 | <td>)</td> |
| 516 | <td></td><td></td> |
| 517 | </tr> |
| 518 | </table> |
| 519 | </div><div class="memdoc"> |
| 520 | |
| 521 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00080">80</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 522 | |
| 523 | <p class="reference">References <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>.</p> |
| 524 | |
| 525 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00231">TimelineUtilityMethods::CreateNamedTypedChildEntity()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 526 | <div class="fragment"><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">// Check that the entity name is valid</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">if</span> (name.empty())</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity name, the entity name cannot be empty"</span>);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">// Check that the entity type is valid</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span> (type.empty())</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity type, the entity type cannot be empty"</span>);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</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="comment">// Generate dynamic GUID of the entity</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  ProfilingDynamicGuid entityGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">CreateNamedTypedEntity</a>(entityGuid, name, type);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">return</span> entityGuid;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 527 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 528 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a4eee08ab6a4941622b7e42ada1f6aaea"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a4eee08ab6a4941622b7e42ada1f6aaea">armnn::profiling::TimelineUtilityMethods::CreateNamedTypedEntity</a></div><div class="ttdeci">ProfilingDynamicGuid CreateNamedTypedEntity(const std::string &name, const std::string &type)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00080">TimelineUtilityMethods.cpp:80</a></div></div> |
| 529 | </div><!-- fragment --> |
| 530 | </div> |
| 531 | </div> |
| 532 | <a id="a382751186896ec1e6e3508ffdfe1be77"></a> |
| 533 | <h2 class="memtitle"><span class="permalink"><a href="#a382751186896ec1e6e3508ffdfe1be77">◆ </a></span>CreateNamedTypedEntity() <span class="overload">[2/3]</span></h2> |
| 534 | |
| 535 | <div class="memitem"> |
| 536 | <div class="memproto"> |
| 537 | <table class="memname"> |
| 538 | <tr> |
| 539 | <td class="memname">void CreateNamedTypedEntity </td> |
| 540 | <td>(</td> |
| 541 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 542 | <td class="paramname"><em>entityGuid</em>, </td> |
| 543 | </tr> |
| 544 | <tr> |
| 545 | <td class="paramkey"></td> |
| 546 | <td></td> |
| 547 | <td class="paramtype">const std::string & </td> |
| 548 | <td class="paramname"><em>name</em>, </td> |
| 549 | </tr> |
| 550 | <tr> |
| 551 | <td class="paramkey"></td> |
| 552 | <td></td> |
| 553 | <td class="paramtype">const std::string & </td> |
| 554 | <td class="paramname"><em>type</em> </td> |
| 555 | </tr> |
| 556 | <tr> |
| 557 | <td></td> |
| 558 | <td>)</td> |
| 559 | <td></td><td></td> |
| 560 | </tr> |
| 561 | </table> |
| 562 | </div><div class="memdoc"> |
| 563 | |
| 564 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00102">102</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 565 | |
| 566 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00221">TimelineUtilityMethods::NameEntity()</a>, and <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00226">TimelineUtilityMethods::TypeEntity()</a>.</p> |
| 567 | <div class="fragment"><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// Check that the entity name is valid</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">if</span> (name.empty())</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  {</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity name, the entity name cannot be empty"</span>);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</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>  <span class="comment">// Check that the entity type is valid</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">if</span> (type.empty())</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>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity type, the entity type cannot be empty"</span>);</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> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// Send Entity Binary Packet of the entity to the external profiling service</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  m_SendTimelinePacket->SendTimelineEntityBinaryPacket(entityGuid);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// Create name entity and send the relationship of the entity with the given name</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#aa4dd5c1a285f1438e9be275c635fbefa">NameEntity</a>(entityGuid, name);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// Create type entity and send the relationship of the entity with the given type</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ae8c2d2f76cfa5291e0abad620e5ec864">TypeEntity</a>(entityGuid, type);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_aa4dd5c1a285f1438e9be275c635fbefa"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#aa4dd5c1a285f1438e9be275c635fbefa">armnn::profiling::TimelineUtilityMethods::NameEntity</a></div><div class="ttdeci">void NameEntity(ProfilingGuid entityGuid, const std::string &name)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00221">TimelineUtilityMethods.cpp:221</a></div></div> |
| 568 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_ae8c2d2f76cfa5291e0abad620e5ec864"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ae8c2d2f76cfa5291e0abad620e5ec864">armnn::profiling::TimelineUtilityMethods::TypeEntity</a></div><div class="ttdeci">void TypeEntity(ProfilingGuid entityGuid, const std::string &type)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00226">TimelineUtilityMethods.cpp:226</a></div></div> |
| 569 | </div><!-- fragment --> |
| 570 | </div> |
| 571 | </div> |
| 572 | <a id="acd4291c5ca9117844566e8fccbabcef4"></a> |
| 573 | <h2 class="memtitle"><span class="permalink"><a href="#acd4291c5ca9117844566e8fccbabcef4">◆ </a></span>CreateNamedTypedEntity() <span class="overload">[3/3]</span></h2> |
| 574 | |
| 575 | <div class="memitem"> |
| 576 | <div class="memproto"> |
| 577 | <table class="memname"> |
| 578 | <tr> |
| 579 | <td class="memname">void CreateNamedTypedEntity </td> |
| 580 | <td>(</td> |
| 581 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 582 | <td class="paramname"><em>entityGuid</em>, </td> |
| 583 | </tr> |
| 584 | <tr> |
| 585 | <td class="paramkey"></td> |
| 586 | <td></td> |
| 587 | <td class="paramtype">const std::string & </td> |
| 588 | <td class="paramname"><em>name</em>, </td> |
| 589 | </tr> |
| 590 | <tr> |
| 591 | <td class="paramkey"></td> |
| 592 | <td></td> |
| 593 | <td class="paramtype"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td> |
| 594 | <td class="paramname"><em>typeGuid</em> </td> |
| 595 | </tr> |
| 596 | <tr> |
| 597 | <td></td> |
| 598 | <td>)</td> |
| 599 | <td></td><td></td> |
| 600 | </tr> |
| 601 | </table> |
| 602 | </div><div class="memdoc"> |
| 603 | |
| 604 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00128">128</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 605 | |
| 606 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>, and <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00221">TimelineUtilityMethods::NameEntity()</a>.</p> |
| 607 | <div class="fragment"><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>  <span class="comment">// Check that the entity name is valid</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">if</span> (name.empty())</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>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity name, the entity name cannot be empty"</span>);</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>  <span class="comment">// Send Entity Binary Packet of the entity to the external profiling service</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  m_SendTimelinePacket->SendTimelineEntityBinaryPacket(entityGuid);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// Create name entity and send the relationship of the entity with the given name</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#aa4dd5c1a285f1438e9be275c635fbefa">NameEntity</a>(entityGuid, name);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">// Create type entity and send the relationship of the entity with the given type</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a25e5f1346081cbe38177d5d0869e200a">MarkEntityWithType</a>(entityGuid, typeGuid);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_aa4dd5c1a285f1438e9be275c635fbefa"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#aa4dd5c1a285f1438e9be275c635fbefa">armnn::profiling::TimelineUtilityMethods::NameEntity</a></div><div class="ttdeci">void NameEntity(ProfilingGuid entityGuid, const std::string &name)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00221">TimelineUtilityMethods.cpp:221</a></div></div> |
| 608 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a25e5f1346081cbe38177d5d0869e200a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a25e5f1346081cbe38177d5d0869e200a">armnn::profiling::TimelineUtilityMethods::MarkEntityWithType</a></div><div class="ttdeci">void MarkEntityWithType(ProfilingGuid entityGuid, ProfilingStaticGuid typeNameGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods.cpp:199</a></div></div> |
| 609 | </div><!-- fragment --> |
| 610 | </div> |
| 611 | </div> |
| 612 | <a id="ab0ee55f8d7708222c3481adf7952a415"></a> |
| 613 | <h2 class="memtitle"><span class="permalink"><a href="#ab0ee55f8d7708222c3481adf7952a415">◆ </a></span>CreateRelationship()</h2> |
| 614 | |
| 615 | <div class="memitem"> |
| 616 | <div class="memproto"> |
| 617 | <table class="memname"> |
| 618 | <tr> |
| 619 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> CreateRelationship </td> |
| 620 | <td>(</td> |
| 621 | <td class="paramtype"><a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2">ProfilingRelationshipType</a> </td> |
| 622 | <td class="paramname"><em>relationshipType</em>, </td> |
| 623 | </tr> |
| 624 | <tr> |
| 625 | <td class="paramkey"></td> |
| 626 | <td></td> |
| 627 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 628 | <td class="paramname"><em>headGuid</em>, </td> |
| 629 | </tr> |
| 630 | <tr> |
| 631 | <td class="paramkey"></td> |
| 632 | <td></td> |
| 633 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 634 | <td class="paramname"><em>tailGuid</em> </td> |
| 635 | </tr> |
| 636 | <tr> |
| 637 | <td></td> |
| 638 | <td>)</td> |
| 639 | <td></td><td></td> |
| 640 | </tr> |
| 641 | </table> |
| 642 | </div><div class="memdoc"> |
| 643 | |
| 644 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00321">321</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 645 | |
| 646 | <p class="reference">References <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>.</p> |
| 647 | |
| 648 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 649 | <div class="fragment"><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> {</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="comment">// Generate a GUID for the relationship</span></div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  ProfilingDynamicGuid relationshipGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="comment">// Send the new retention link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(relationshipType,</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  relationshipGuid,</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  headGuid,</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  tailGuid);</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keywordflow">return</span> relationshipGuid;</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 650 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 651 | </div><!-- fragment --> |
| 652 | </div> |
| 653 | </div> |
| 654 | <a id="adf509c448cac724f0d10deea70bad439"></a> |
| 655 | <h2 class="memtitle"><span class="permalink"><a href="#adf509c448cac724f0d10deea70bad439">◆ </a></span>CreateTypedEntity()</h2> |
| 656 | |
| 657 | <div class="memitem"> |
| 658 | <div class="memproto"> |
| 659 | <table class="memname"> |
| 660 | <tr> |
| 661 | <td class="memname">void CreateTypedEntity </td> |
| 662 | <td>(</td> |
| 663 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 664 | <td class="paramname"><em>entityGuid</em>, </td> |
| 665 | </tr> |
| 666 | <tr> |
| 667 | <td class="paramkey"></td> |
| 668 | <td></td> |
| 669 | <td class="paramtype"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td> |
| 670 | <td class="paramname"><em>typeGuid</em> </td> |
| 671 | </tr> |
| 672 | <tr> |
| 673 | <td></td> |
| 674 | <td>)</td> |
| 675 | <td></td><td></td> |
| 676 | </tr> |
| 677 | </table> |
| 678 | </div><div class="memdoc"> |
| 679 | |
| 680 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00353">353</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 681 | |
| 682 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods::MarkEntityWithType()</a>.</p> |
| 683 | |
| 684 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 685 | <div class="fragment"><div class="line"><a name="l00354"></a><span class="lineno"> 354</span> {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="comment">// Send Entity Binary Packet of the entity to the external profiling service</span></div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  m_SendTimelinePacket->SendTimelineEntityBinaryPacket(entityGuid);</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="comment">// Create type entity and send the relationship of the entity with the given type</span></div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a25e5f1346081cbe38177d5d0869e200a">MarkEntityWithType</a>(entityGuid, entityTypeGuid);</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_a25e5f1346081cbe38177d5d0869e200a"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#a25e5f1346081cbe38177d5d0869e200a">armnn::profiling::TimelineUtilityMethods::MarkEntityWithType</a></div><div class="ttdeci">void MarkEntityWithType(ProfilingGuid entityGuid, ProfilingStaticGuid typeNameGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00199">TimelineUtilityMethods.cpp:199</a></div></div> |
| 686 | </div><!-- fragment --> |
| 687 | </div> |
| 688 | </div> |
| 689 | <a id="af92e501555c05c5f56c59ecfd4ffd06e"></a> |
| 690 | <h2 class="memtitle"><span class="permalink"><a href="#af92e501555c05c5f56c59ecfd4ffd06e">◆ </a></span>DeclareLabel()</h2> |
| 691 | |
| 692 | <div class="memitem"> |
| 693 | <div class="memproto"> |
| 694 | <table class="memname"> |
| 695 | <tr> |
| 696 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> DeclareLabel </td> |
| 697 | <td>(</td> |
| 698 | <td class="paramtype">const std::string & </td> |
| 699 | <td class="paramname"><em>labelName</em></td><td>)</td> |
| 700 | <td></td> |
| 701 | </tr> |
| 702 | </table> |
| 703 | </div><div class="memdoc"> |
| 704 | |
| 705 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00148">148</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 706 | |
| 707 | <p class="reference">References <a class="el" href="_profiling_service_8cpp_source.xhtml#l00291">ProfilingService::GenerateStaticId()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p> |
| 708 | |
| 709 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 710 | <div class="fragment"><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="comment">// Check that the label name is valid</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">if</span> (labelName.empty())</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">// The label name is invalid</span></div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid label name, the label name cannot be empty"</span>);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  }</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="comment">// Generate a static GUID for the given label name</span></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  ProfilingStaticGuid labelGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#afd19633513acfc3ae294aa90b1e13a04">GenerateStaticId</a>(labelName);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="comment">// Send the new label to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(labelGuid, labelName);</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> labelGuid;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 711 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_afd19633513acfc3ae294aa90b1e13a04"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#afd19633513acfc3ae294aa90b1e13a04">armnn::profiling::ProfilingService::GenerateStaticId</a></div><div class="ttdeci">ProfilingStaticGuid GenerateStaticId(const std::string &str) override</div><div class="ttdoc">Create a ProfilingStaticGuid based on a hash of the string. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00291">ProfilingService.cpp:291</a></div></div> |
| 712 | </div><!-- fragment --> |
| 713 | </div> |
| 714 | </div> |
| 715 | <a id="a658c37218b2fb1b1f1fe80a4f83e0ad8"></a> |
| 716 | <h2 class="memtitle"><span class="permalink"><a href="#a658c37218b2fb1b1f1fe80a4f83e0ad8">◆ </a></span>GetTimelineUtils()</h2> |
| 717 | |
| 718 | <div class="memitem"> |
| 719 | <div class="memproto"> |
| 720 | <table class="mlabels"> |
| 721 | <tr> |
| 722 | <td class="mlabels-left"> |
| 723 | <table class="memname"> |
| 724 | <tr> |
| 725 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> > GetTimelineUtils </td> |
| 726 | <td>(</td> |
| 727 | <td class="paramname"></td><td>)</td> |
| 728 | <td></td> |
| 729 | </tr> |
| 730 | </table> |
| 731 | </td> |
| 732 | <td class="mlabels-right"> |
| 733 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 734 | </tr> |
| 735 | </table> |
| 736 | </div><div class="memdoc"> |
| 737 | |
| 738 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00016">16</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 739 | |
| 740 | <p class="reference">References <a class="el" href="_profiling_service_8cpp_source.xhtml#l00296">ProfilingService::GetSendTimelinePacket()</a>, and <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>.</p> |
| 741 | |
| 742 | <p class="reference">Referenced by <a class="el" href="_loaded_network_8cpp_source.xhtml#l00412">LoadedNetwork::EnqueueWorkload()</a>, and <a class="el" href="_loaded_network_8cpp_source.xhtml#l00085">LoadedNetwork::MakeLoadedNetwork()</a>.</p> |
| 743 | <div class="fragment"><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().IsEnabled())</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  std::unique_ptr<ISendTimelinePacket> sendTimelinepacket = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a71c4eb6e11d491f84df504cf7f5a6337">GetSendTimelinePacket</a>();</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordflow">return</span> std::make_unique<TimelineUtilityMethods>(sendTimelinepacket);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  }</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  std::unique_ptr<TimelineUtilityMethods> empty;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">return</span> empty;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 744 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a71c4eb6e11d491f84df504cf7f5a6337"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a71c4eb6e11d491f84df504cf7f5a6337">armnn::profiling::ProfilingService::GetSendTimelinePacket</a></div><div class="ttdeci">std::unique_ptr< ISendTimelinePacket > GetSendTimelinePacket() const override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00296">ProfilingService.cpp:296</a></div></div> |
| 745 | </div><!-- fragment --> |
| 746 | </div> |
| 747 | </div> |
| 748 | <a id="af8e3c53181977ef3941575b1a218a0a1"></a> |
| 749 | <h2 class="memtitle"><span class="permalink"><a href="#af8e3c53181977ef3941575b1a218a0a1">◆ </a></span>MarkEntityWithLabel()</h2> |
| 750 | |
| 751 | <div class="memitem"> |
| 752 | <div class="memproto"> |
| 753 | <table class="memname"> |
| 754 | <tr> |
| 755 | <td class="memname">void MarkEntityWithLabel </td> |
| 756 | <td>(</td> |
| 757 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 758 | <td class="paramname"><em>entityGuid</em>, </td> |
| 759 | </tr> |
| 760 | <tr> |
| 761 | <td class="paramkey"></td> |
| 762 | <td></td> |
| 763 | <td class="paramtype">const std::string & </td> |
| 764 | <td class="paramname"><em>labelName</em>, </td> |
| 765 | </tr> |
| 766 | <tr> |
| 767 | <td class="paramkey"></td> |
| 768 | <td></td> |
| 769 | <td class="paramtype"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td> |
| 770 | <td class="paramname"><em>labelLinkGuid</em> </td> |
| 771 | </tr> |
| 772 | <tr> |
| 773 | <td></td> |
| 774 | <td>)</td> |
| 775 | <td></td><td></td> |
| 776 | </tr> |
| 777 | </table> |
| 778 | </div><div class="memdoc"> |
| 779 | |
| 780 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00166">166</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 781 | |
| 782 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00148">TimelineUtilityMethods::DeclareLabel()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">armnn::profiling::LabelLink</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>.</p> |
| 783 | |
| 784 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00221">TimelineUtilityMethods::NameEntity()</a>, <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>, and <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00226">TimelineUtilityMethods::TypeEntity()</a>.</p> |
| 785 | <div class="fragment"><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> {</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="comment">// Check that the label name is valid</span></div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">if</span> (labelName.empty())</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="comment">// The label name is invalid</span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"Invalid entity name, the entity name cannot be empty"</span>);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</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="comment">// Declare a label with the label's name, this call throws in case of error</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  ProfilingStaticGuid labelGuid = <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af92e501555c05c5f56c59ecfd4ffd06e">DeclareLabel</a>(labelName);</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="comment">// Generate a GUID for the label relationship</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  ProfilingDynamicGuid relationshipGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</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>  <span class="comment">// Send the new label link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">ProfilingRelationshipType::LabelLink</a>,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  relationshipGuid,</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  entityGuid,</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  labelGuid);</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="comment">// Generate a GUID for the label relationship</span></div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  ProfilingDynamicGuid relationshipLabelGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="comment">// Send the new label link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">ProfilingRelationshipType::LabelLink</a>,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  relationshipLabelGuid,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  relationshipGuid,</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  labelTypeGuid);</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 786 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 787 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">armnn::profiling::ProfilingRelationshipType::LabelLink</a></div><div class="ttdoc">Head uses data of Tail. </div></div> |
| 788 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_af92e501555c05c5f56c59ecfd4ffd06e"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af92e501555c05c5f56c59ecfd4ffd06e">armnn::profiling::TimelineUtilityMethods::DeclareLabel</a></div><div class="ttdeci">ProfilingStaticGuid DeclareLabel(const std::string &labelName)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00148">TimelineUtilityMethods.cpp:148</a></div></div> |
| 789 | </div><!-- fragment --> |
| 790 | </div> |
| 791 | </div> |
| 792 | <a id="a25e5f1346081cbe38177d5d0869e200a"></a> |
| 793 | <h2 class="memtitle"><span class="permalink"><a href="#a25e5f1346081cbe38177d5d0869e200a">◆ </a></span>MarkEntityWithType()</h2> |
| 794 | |
| 795 | <div class="memitem"> |
| 796 | <div class="memproto"> |
| 797 | <table class="memname"> |
| 798 | <tr> |
| 799 | <td class="memname">void MarkEntityWithType </td> |
| 800 | <td>(</td> |
| 801 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 802 | <td class="paramname"><em>entityGuid</em>, </td> |
| 803 | </tr> |
| 804 | <tr> |
| 805 | <td class="paramkey"></td> |
| 806 | <td></td> |
| 807 | <td class="paramtype"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td> |
| 808 | <td class="paramname"><em>typeNameGuid</em> </td> |
| 809 | </tr> |
| 810 | <tr> |
| 811 | <td></td> |
| 812 | <td>)</td> |
| 813 | <td></td><td></td> |
| 814 | </tr> |
| 815 | </table> |
| 816 | </div><div class="memdoc"> |
| 817 | |
| 818 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00199">199</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 819 | |
| 820 | <p class="reference">References <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">armnn::profiling::LabelLink</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>, and <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00028">LabelsAndEventClasses::TYPE_GUID</a>.</p> |
| 821 | |
| 822 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00336">TimelineUtilityMethods::CreateConnectionRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00128">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00353">TimelineUtilityMethods::CreateTypedEntity()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 823 | <div class="fragment"><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">// Generate a GUID for the label relationship</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  ProfilingDynamicGuid relationshipGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="comment">// Send the new label link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">ProfilingRelationshipType::LabelLink</a>,</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  relationshipGuid,</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  entityGuid,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  typeNameGuid);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">// Generate a GUID for the label relationship</span></div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  ProfilingDynamicGuid relationshipLabelGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</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 the new label link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">ProfilingRelationshipType::LabelLink</a>,</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  relationshipLabelGuid,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  relationshipGuid,</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#adb91c720887d6f0e45daf196741a5a0b">LabelsAndEventClasses::TYPE_GUID</a>);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 824 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 825 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a47d6c060a0aa40c6fd018f12b7c96f1f">armnn::profiling::ProfilingRelationshipType::LabelLink</a></div><div class="ttdoc">Head uses data of Tail. </div></div> |
| 826 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_adb91c720887d6f0e45daf196741a5a0b"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#adb91c720887d6f0e45daf196741a5a0b">armnn::profiling::LabelsAndEventClasses::TYPE_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid TYPE_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00028">LabelsAndEventClasses.hpp:28</a></div></div> |
| 827 | </div><!-- fragment --> |
| 828 | </div> |
| 829 | </div> |
| 830 | <a id="aa4dd5c1a285f1438e9be275c635fbefa"></a> |
| 831 | <h2 class="memtitle"><span class="permalink"><a href="#aa4dd5c1a285f1438e9be275c635fbefa">◆ </a></span>NameEntity()</h2> |
| 832 | |
| 833 | <div class="memitem"> |
| 834 | <div class="memproto"> |
| 835 | <table class="memname"> |
| 836 | <tr> |
| 837 | <td class="memname">void NameEntity </td> |
| 838 | <td>(</td> |
| 839 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 840 | <td class="paramname"><em>entityGuid</em>, </td> |
| 841 | </tr> |
| 842 | <tr> |
| 843 | <td class="paramkey"></td> |
| 844 | <td></td> |
| 845 | <td class="paramtype">const std::string & </td> |
| 846 | <td class="paramname"><em>name</em> </td> |
| 847 | </tr> |
| 848 | <tr> |
| 849 | <td></td> |
| 850 | <td>)</td> |
| 851 | <td></td><td></td> |
| 852 | </tr> |
| 853 | </table> |
| 854 | </div><div class="memdoc"> |
| 855 | |
| 856 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00221">221</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 857 | |
| 858 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, and <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00027">LabelsAndEventClasses::NAME_GUID</a>.</p> |
| 859 | |
| 860 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00102">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 861 | <div class="fragment"><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af8e3c53181977ef3941575b1a218a0a1">MarkEntityWithLabel</a>(entityGuid, name, <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#af22d8b04133c4b68f4320d6c98dc9502">LabelsAndEventClasses::NAME_GUID</a>);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_af22d8b04133c4b68f4320d6c98dc9502"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#af22d8b04133c4b68f4320d6c98dc9502">armnn::profiling::LabelsAndEventClasses::NAME_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid NAME_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00027">LabelsAndEventClasses.hpp:27</a></div></div> |
| 862 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_af8e3c53181977ef3941575b1a218a0a1"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af8e3c53181977ef3941575b1a218a0a1">armnn::profiling::TimelineUtilityMethods::MarkEntityWithLabel</a></div><div class="ttdeci">void MarkEntityWithLabel(ProfilingGuid entityGuid, const std::string &labelName, ProfilingStaticGuid labelLinkGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods.cpp:166</a></div></div> |
| 863 | </div><!-- fragment --> |
| 864 | </div> |
| 865 | </div> |
| 866 | <a id="a9c75d6315fe9dff3d3d33b4fe3b00161"></a> |
| 867 | <h2 class="memtitle"><span class="permalink"><a href="#a9c75d6315fe9dff3d3d33b4fe3b00161">◆ </a></span>operator=() <span class="overload">[1/2]</span></h2> |
| 868 | |
| 869 | <div class="memitem"> |
| 870 | <div class="memproto"> |
| 871 | <table class="mlabels"> |
| 872 | <tr> |
| 873 | <td class="mlabels-left"> |
| 874 | <table class="memname"> |
| 875 | <tr> |
| 876 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a>& operator= </td> |
| 877 | <td>(</td> |
| 878 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> & </td> |
| 879 | <td class="paramname"><em>other</em></td><td>)</td> |
| 880 | <td></td> |
| 881 | </tr> |
| 882 | </table> |
| 883 | </td> |
| 884 | <td class="mlabels-right"> |
| 885 | <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| 886 | </tr> |
| 887 | </table> |
| 888 | </div><div class="memdoc"> |
| 889 | |
| 890 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 891 | |
| 892 | </div> |
| 893 | </div> |
| 894 | <a id="a42c25cc17371f2faef25f3526ff2b075"></a> |
| 895 | <h2 class="memtitle"><span class="permalink"><a href="#a42c25cc17371f2faef25f3526ff2b075">◆ </a></span>operator=() <span class="overload">[2/2]</span></h2> |
| 896 | |
| 897 | <div class="memitem"> |
| 898 | <div class="memproto"> |
| 899 | <table class="mlabels"> |
| 900 | <tr> |
| 901 | <td class="mlabels-left"> |
| 902 | <table class="memname"> |
| 903 | <tr> |
| 904 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a>& operator= </td> |
| 905 | <td>(</td> |
| 906 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a> && </td> |
| 907 | <td class="paramname"><em>other</em></td><td>)</td> |
| 908 | <td></td> |
| 909 | </tr> |
| 910 | </table> |
| 911 | </td> |
| 912 | <td class="mlabels-right"> |
| 913 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 914 | </tr> |
| 915 | </table> |
| 916 | </div><div class="memdoc"> |
| 917 | |
| 918 | </div> |
| 919 | </div> |
| 920 | <a id="a3431e92f1626dfcdd2e124ab9aeddd5a"></a> |
| 921 | <h2 class="memtitle"><span class="permalink"><a href="#a3431e92f1626dfcdd2e124ab9aeddd5a">◆ </a></span>RecordEndOfLifeEvent()</h2> |
| 922 | |
| 923 | <div class="memitem"> |
| 924 | <div class="memproto"> |
| 925 | <table class="memname"> |
| 926 | <tr> |
| 927 | <td class="memname">void RecordEndOfLifeEvent </td> |
| 928 | <td>(</td> |
| 929 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 930 | <td class="paramname"><em>entityGuid</em></td><td>)</td> |
| 931 | <td></td> |
| 932 | </tr> |
| 933 | </table> |
| 934 | </div><div class="memdoc"> |
| 935 | |
| 936 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00408">408</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 937 | |
| 938 | <p class="reference">References <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00048">LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS</a>, and <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00362">TimelineUtilityMethods::RecordEvent()</a>.</p> |
| 939 | |
| 940 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 941 | <div class="fragment"><div class="line"><a name="l00409"></a><span class="lineno"> 409</span> {</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ac4c885d17f21b2642a88130fa2ee9dc9">RecordEvent</a>(entityGuid, <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#abff887aa42263e0816432cdd0987e27d">LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS</a>);</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_abff887aa42263e0816432cdd0987e27d"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#abff887aa42263e0816432cdd0987e27d">armnn::profiling::LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_EOL_EVENT_CLASS</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00048">LabelsAndEventClasses.hpp:48</a></div></div> |
| 942 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_ac4c885d17f21b2642a88130fa2ee9dc9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ac4c885d17f21b2642a88130fa2ee9dc9">armnn::profiling::TimelineUtilityMethods::RecordEvent</a></div><div class="ttdeci">ProfilingDynamicGuid RecordEvent(ProfilingGuid entityGuid, ProfilingStaticGuid eventClassGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00362">TimelineUtilityMethods.cpp:362</a></div></div> |
| 943 | </div><!-- fragment --> |
| 944 | </div> |
| 945 | </div> |
| 946 | <a id="ac4c885d17f21b2642a88130fa2ee9dc9"></a> |
| 947 | <h2 class="memtitle"><span class="permalink"><a href="#ac4c885d17f21b2642a88130fa2ee9dc9">◆ </a></span>RecordEvent()</h2> |
| 948 | |
| 949 | <div class="memitem"> |
| 950 | <div class="memproto"> |
| 951 | <table class="memname"> |
| 952 | <tr> |
| 953 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> RecordEvent </td> |
| 954 | <td>(</td> |
| 955 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 956 | <td class="paramname"><em>entityGuid</em>, </td> |
| 957 | </tr> |
| 958 | <tr> |
| 959 | <td class="paramkey"></td> |
| 960 | <td></td> |
| 961 | <td class="paramtype"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_static_guid.xhtml">ProfilingStaticGuid</a> </td> |
| 962 | <td class="paramname"><em>eventClassGuid</em> </td> |
| 963 | </tr> |
| 964 | <tr> |
| 965 | <td></td> |
| 966 | <td>)</td> |
| 967 | <td></td><td></td> |
| 968 | </tr> |
| 969 | </table> |
| 970 | </div><div class="memdoc"> |
| 971 | |
| 972 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00362">362</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 973 | |
| 974 | <p class="reference">References <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a77ac530ff577e3b84e0761fa02b2520b">armnn::profiling::DataLink</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a5265db1a79410fbe447a3faa98e7b914">armnn::profiling::ExecutionLink</a>, <a class="el" href="_profiling_utils_8cpp_source.xhtml#l01050">armnn::profiling::GetTimestamp()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, and <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>.</p> |
| 975 | |
| 976 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00408">TimelineUtilityMethods::RecordEndOfLifeEvent()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00397">TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 977 | <div class="fragment"><div class="line"><a name="l00363"></a><span class="lineno"> 363</span> {</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="comment">// Take a timestamp</span></div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  uint64_t timestamp = <a class="code" href="namespacearmnn_1_1profiling.xhtml#a77a41a7625d3134c0cccdf11d169acb4">GetTimestamp</a>();</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> </div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="comment">// Get the thread id</span></div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  std::thread::id threadId = std::this_thread::get_id();</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="comment">// Generate a GUID for the event</span></div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  ProfilingDynamicGuid eventGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> </div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="comment">// Send the new timeline event to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  m_SendTimelinePacket->SendTimelineEventBinaryPacket(timestamp, threadId, eventGuid);</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="comment">// Generate a GUID for the execution link</span></div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  ProfilingDynamicGuid executionLinkId = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="comment">// Send the new execution link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a5265db1a79410fbe447a3faa98e7b914">ProfilingRelationshipType::ExecutionLink</a>,</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  executionLinkId,</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  entityGuid,</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  eventGuid);</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="comment">// Generate a GUID for the data relationship link</span></div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  ProfilingDynamicGuid eventClassLinkId = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span> </div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="comment">// Send the new data relationship link to the external profiling service, this call throws in case of error</span></div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  m_SendTimelinePacket->SendTimelineRelationshipBinaryPacket(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a77ac530ff577e3b84e0761fa02b2520b">ProfilingRelationshipType::DataLink</a>,</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  eventClassLinkId,</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  eventGuid,</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  eventClassGuid);</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="keywordflow">return</span> eventGuid;</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 978 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2a5265db1a79410fbe447a3faa98e7b914"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a5265db1a79410fbe447a3faa98e7b914">armnn::profiling::ProfilingRelationshipType::ExecutionLink</a></div><div class="ttdoc">Head retains(parents) Tail. </div></div> |
| 979 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2a77ac530ff577e3b84e0761fa02b2520b"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2a77ac530ff577e3b84e0761fa02b2520b">armnn::profiling::ProfilingRelationshipType::DataLink</a></div><div class="ttdoc">Head execution start depends on Tail execution completion. </div></div> |
| 980 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 981 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_a77a41a7625d3134c0cccdf11d169acb4"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#a77a41a7625d3134c0cccdf11d169acb4">armnn::profiling::GetTimestamp</a></div><div class="ttdeci">uint64_t GetTimestamp()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_utils_8cpp_source.xhtml#l01050">ProfilingUtils.cpp:1050</a></div></div> |
| 982 | </div><!-- fragment --> |
| 983 | </div> |
| 984 | </div> |
| 985 | <a id="adfe02b1d64832a66f4c0da282ba1e6a1"></a> |
| 986 | <h2 class="memtitle"><span class="permalink"><a href="#adfe02b1d64832a66f4c0da282ba1e6a1">◆ </a></span>RecordWorkloadInferenceAndStartOfLifeEvent()</h2> |
| 987 | |
| 988 | <div class="memitem"> |
| 989 | <div class="memproto"> |
| 990 | <table class="memname"> |
| 991 | <tr> |
| 992 | <td class="memname"><a class="el" href="structarmnn_1_1profiling_1_1_profiling_dynamic_guid.xhtml">ProfilingDynamicGuid</a> RecordWorkloadInferenceAndStartOfLifeEvent </td> |
| 993 | <td>(</td> |
| 994 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 995 | <td class="paramname"><em>workloadGuid</em>, </td> |
| 996 | </tr> |
| 997 | <tr> |
| 998 | <td class="paramkey"></td> |
| 999 | <td></td> |
| 1000 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 1001 | <td class="paramname"><em>inferenceGuid</em> </td> |
| 1002 | </tr> |
| 1003 | <tr> |
| 1004 | <td></td> |
| 1005 | <td>)</td> |
| 1006 | <td></td><td></td> |
| 1007 | </tr> |
| 1008 | </table> |
| 1009 | </div><div class="memdoc"> |
| 1010 | |
| 1011 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00397">397</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 1012 | |
| 1013 | <p class="reference">References <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00047">LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00321">TimelineUtilityMethods::CreateRelationship()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00353">TimelineUtilityMethods::CreateTypedEntity()</a>, <a class="el" href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService::Instance()</a>, <a class="el" href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService::NextGuid()</a>, <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00362">TimelineUtilityMethods::RecordEvent()</a>, <a class="el" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::RetentionLink</a>, and <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00044">LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID</a>.</p> |
| 1014 | |
| 1015 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 1016 | <div class="fragment"><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> {</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  ProfilingDynamicGuid workloadInferenceGuid = <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">NextGuid</a>();</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#adf509c448cac724f0d10deea70bad439">CreateTypedEntity</a>(workloadInferenceGuid, <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a793b484a75929738ea46016d2190ab5c">LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID</a>);</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ab0ee55f8d7708222c3481adf7952a415">CreateRelationship</a>(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">ProfilingRelationshipType::RetentionLink</a>, inferenceGuid, workloadInferenceGuid);</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ab0ee55f8d7708222c3481adf7952a415">CreateRelationship</a>(<a class="code" href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">ProfilingRelationshipType::RetentionLink</a>, workloadGuid, workloadInferenceGuid);</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ac4c885d17f21b2642a88130fa2ee9dc9">RecordEvent</a>(workloadInferenceGuid, <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a75123df426e55b7e9c218704cb52120f">LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS</a>);</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="keywordflow">return</span> workloadInferenceGuid;</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00052">ProfilingService.hpp:52</a></div></div> |
| 1017 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml_aeea32305626f921e1e9f99434dbf9049"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml#aeea32305626f921e1e9f99434dbf9049">armnn::profiling::ProfilingService::NextGuid</a></div><div class="ttdeci">ProfilingDynamicGuid NextGuid() override</div><div class="ttdoc">Return the next random Guid in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.xhtml#l00286">ProfilingService.cpp:286</a></div></div> |
| 1018 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a793b484a75929738ea46016d2190ab5c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a793b484a75929738ea46016d2190ab5c">armnn::profiling::LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid WORKLOAD_EXECUTION_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00044">LabelsAndEventClasses.hpp:44</a></div></div> |
| 1019 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a75123df426e55b7e9c218704cb52120f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a75123df426e55b7e9c218704cb52120f">armnn::profiling::LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00047">LabelsAndEventClasses.hpp:47</a></div></div> |
| 1020 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_adf509c448cac724f0d10deea70bad439"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#adf509c448cac724f0d10deea70bad439">armnn::profiling::TimelineUtilityMethods::CreateTypedEntity</a></div><div class="ttdeci">void CreateTypedEntity(ProfilingGuid entityGuid, ProfilingStaticGuid typeGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00353">TimelineUtilityMethods.cpp:353</a></div></div> |
| 1021 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_ac4c885d17f21b2642a88130fa2ee9dc9"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ac4c885d17f21b2642a88130fa2ee9dc9">armnn::profiling::TimelineUtilityMethods::RecordEvent</a></div><div class="ttdeci">ProfilingDynamicGuid RecordEvent(ProfilingGuid entityGuid, ProfilingStaticGuid eventClassGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00362">TimelineUtilityMethods.cpp:362</a></div></div> |
| 1022 | <div class="ttc" id="namespacearmnn_1_1profiling_xhtml_ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110"><div class="ttname"><a href="namespacearmnn_1_1profiling.xhtml#ab805f5aa9f101e7f6d971daba044c3c2afc04d023850b425f3b9c62b3a55dc110">armnn::profiling::ProfilingRelationshipType::RetentionLink</a></div></div> |
| 1023 | <div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_ab0ee55f8d7708222c3481adf7952a415"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#ab0ee55f8d7708222c3481adf7952a415">armnn::profiling::TimelineUtilityMethods::CreateRelationship</a></div><div class="ttdeci">ProfilingDynamicGuid CreateRelationship(ProfilingRelationshipType relationshipType, ProfilingGuid headGuid, ProfilingGuid tailGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00321">TimelineUtilityMethods.cpp:321</a></div></div> |
| 1024 | </div><!-- fragment --> |
| 1025 | </div> |
| 1026 | </div> |
| 1027 | <a id="a7d0df2e03ade564ee416cc07916c66e9"></a> |
| 1028 | <h2 class="memtitle"><span class="permalink"><a href="#a7d0df2e03ade564ee416cc07916c66e9">◆ </a></span>SendWellKnownLabelsAndEventClasses()</h2> |
| 1029 | |
| 1030 | <div class="memitem"> |
| 1031 | <div class="memproto"> |
| 1032 | <table class="memname"> |
| 1033 | <tr> |
| 1034 | <td class="memname">void SendWellKnownLabelsAndEventClasses </td> |
| 1035 | <td>(</td> |
| 1036 | <td class="paramname"></td><td>)</td> |
| 1037 | <td></td> |
| 1038 | </tr> |
| 1039 | </table> |
| 1040 | </div><div class="memdoc"> |
| 1041 | |
| 1042 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00031">31</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 1043 | |
| 1044 | <p class="reference">References <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00048">LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00047">LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00030">LabelsAndEventClasses::BACKENDID_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00026">LabelsAndEventClasses::BACKENDID_LABEL</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00036">LabelsAndEventClasses::CONNECTION</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00042">LabelsAndEventClasses::CONNECTION_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00029">LabelsAndEventClasses::INDEX_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00025">LabelsAndEventClasses::INDEX_LABEL</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00037">LabelsAndEventClasses::INFERENCE</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00043">LabelsAndEventClasses::INFERENCE_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00033">LabelsAndEventClasses::LAYER</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00039">LabelsAndEventClasses::LAYER_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00027">LabelsAndEventClasses::NAME_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00023">LabelsAndEventClasses::NAME_LABEL</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00035">LabelsAndEventClasses::NETWORK</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00041">LabelsAndEventClasses::NETWORK_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00028">LabelsAndEventClasses::TYPE_GUID</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00024">LabelsAndEventClasses::TYPE_LABEL</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00034">LabelsAndEventClasses::WORKLOAD</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00038">LabelsAndEventClasses::WORKLOAD_EXECUTION</a>, <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00044">LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID</a>, and <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00040">LabelsAndEventClasses::WORKLOAD_GUID</a>.</p> |
| 1045 | |
| 1046 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 1047 | <div class="fragment"><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// Send the "name" label, this call throws in case of error</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#af22d8b04133c4b68f4320d6c98dc9502">LabelsAndEventClasses::NAME_GUID</a>,</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a62c5a90dbe514aaaf8a39ef435eeb3a8">LabelsAndEventClasses::NAME_LABEL</a>);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// Send the "type" label, this call throws in case of error</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#adb91c720887d6f0e45daf196741a5a0b">LabelsAndEventClasses::TYPE_GUID</a>,</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#abe9d22d5da1348183894c0b8d1db9fad">LabelsAndEventClasses::TYPE_LABEL</a>);</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>  <span class="comment">// Send the "index" label, this call throws in case of error</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a28bee8fd642c7718de3df93e0342644f">LabelsAndEventClasses::INDEX_GUID</a>,</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ada8a8ab1d037ceced96d7fc62ab80c2d">LabelsAndEventClasses::INDEX_LABEL</a>);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// Send the "backendId" label, this call throws in case of error</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ade2233e4c4600c2353dbdd1729977872">LabelsAndEventClasses::BACKENDID_GUID</a>,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#aca2c34e798557b2efa2a81a852449e99">LabelsAndEventClasses::BACKENDID_LABEL</a>);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">// Send the "layer" label, this call throws in case of error</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a939d115d7a078087c7a826bf2c65bcb4">LabelsAndEventClasses::LAYER_GUID</a>,</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a12eb35b84849b5d5c895481f6b09a282">LabelsAndEventClasses::LAYER</a>);</div><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>  <span class="comment">// Send the "workload" label, this call throws in case of error</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a6d5d1a547ba9c92694347fc71ddf0e18">LabelsAndEventClasses::WORKLOAD_GUID</a>,</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a45ee4859ef7343e8748154aef20e5873">LabelsAndEventClasses::WORKLOAD</a>);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// Send the "network" label, this call throws in case of error</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a2803368c101910905392bc7edd4c9cc5">LabelsAndEventClasses::NETWORK_GUID</a>,</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#aedf6dd387391b88ee403e922ec73af0e">LabelsAndEventClasses::NETWORK</a>);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// Send the "connection" label, this call throws in case of error</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ab2c48043328356b5ec556dd5284a4138">LabelsAndEventClasses::CONNECTION_GUID</a>,</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ade6c7354c6b3091676e9aa493406cba1">LabelsAndEventClasses::CONNECTION</a>);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">// Send the "inference" label, this call throws in case of error</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ae3da9252fb4310cb359c5d64a5573926">LabelsAndEventClasses::INFERENCE_GUID</a>,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a91cd46752a820295fde06a27f90383ac">LabelsAndEventClasses::INFERENCE</a>);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// Send the "workload_execution" label, this call throws in case of error</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  m_SendTimelinePacket->SendTimelineLabelBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a793b484a75929738ea46016d2190ab5c">LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID</a>,</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a7b8bdeba7d18219009027bbac26a1af4">LabelsAndEventClasses::WORKLOAD_EXECUTION</a>);</div><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>  <span class="comment">// Send the "start of life" event class, this call throws in case of error</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  m_SendTimelinePacket->SendTimelineEventClassBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a75123df426e55b7e9c218704cb52120f">LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS</a>);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// Send the "end of life" event class, this call throws in case of error</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  m_SendTimelinePacket->SendTimelineEventClassBinaryPacket(<a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#abff887aa42263e0816432cdd0987e27d">LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS</a>);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_ae3da9252fb4310cb359c5d64a5573926"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ae3da9252fb4310cb359c5d64a5573926">armnn::profiling::LabelsAndEventClasses::INFERENCE_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid INFERENCE_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00043">LabelsAndEventClasses.hpp:43</a></div></div> |
| 1048 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a7b8bdeba7d18219009027bbac26a1af4"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a7b8bdeba7d18219009027bbac26a1af4">armnn::profiling::LabelsAndEventClasses::WORKLOAD_EXECUTION</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string WORKLOAD_EXECUTION</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00038">LabelsAndEventClasses.hpp:38</a></div></div> |
| 1049 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_abe9d22d5da1348183894c0b8d1db9fad"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#abe9d22d5da1348183894c0b8d1db9fad">armnn::profiling::LabelsAndEventClasses::TYPE_LABEL</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string TYPE_LABEL</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00024">LabelsAndEventClasses.hpp:24</a></div></div> |
| 1050 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a62c5a90dbe514aaaf8a39ef435eeb3a8"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a62c5a90dbe514aaaf8a39ef435eeb3a8">armnn::profiling::LabelsAndEventClasses::NAME_LABEL</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string NAME_LABEL</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00023">LabelsAndEventClasses.hpp:23</a></div></div> |
| 1051 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_aca2c34e798557b2efa2a81a852449e99"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#aca2c34e798557b2efa2a81a852449e99">armnn::profiling::LabelsAndEventClasses::BACKENDID_LABEL</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string BACKENDID_LABEL</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00026">LabelsAndEventClasses.hpp:26</a></div></div> |
| 1052 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_ab2c48043328356b5ec556dd5284a4138"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ab2c48043328356b5ec556dd5284a4138">armnn::profiling::LabelsAndEventClasses::CONNECTION_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid CONNECTION_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00042">LabelsAndEventClasses.hpp:42</a></div></div> |
| 1053 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a6d5d1a547ba9c92694347fc71ddf0e18"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a6d5d1a547ba9c92694347fc71ddf0e18">armnn::profiling::LabelsAndEventClasses::WORKLOAD_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid WORKLOAD_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00040">LabelsAndEventClasses.hpp:40</a></div></div> |
| 1054 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a793b484a75929738ea46016d2190ab5c"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a793b484a75929738ea46016d2190ab5c">armnn::profiling::LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid WORKLOAD_EXECUTION_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00044">LabelsAndEventClasses.hpp:44</a></div></div> |
| 1055 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_abff887aa42263e0816432cdd0987e27d"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#abff887aa42263e0816432cdd0987e27d">armnn::profiling::LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_EOL_EVENT_CLASS</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00048">LabelsAndEventClasses.hpp:48</a></div></div> |
| 1056 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_af22d8b04133c4b68f4320d6c98dc9502"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#af22d8b04133c4b68f4320d6c98dc9502">armnn::profiling::LabelsAndEventClasses::NAME_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid NAME_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00027">LabelsAndEventClasses.hpp:27</a></div></div> |
| 1057 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a75123df426e55b7e9c218704cb52120f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a75123df426e55b7e9c218704cb52120f">armnn::profiling::LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00047">LabelsAndEventClasses.hpp:47</a></div></div> |
| 1058 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_aedf6dd387391b88ee403e922ec73af0e"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#aedf6dd387391b88ee403e922ec73af0e">armnn::profiling::LabelsAndEventClasses::NETWORK</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string NETWORK</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00035">LabelsAndEventClasses.hpp:35</a></div></div> |
| 1059 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a939d115d7a078087c7a826bf2c65bcb4"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a939d115d7a078087c7a826bf2c65bcb4">armnn::profiling::LabelsAndEventClasses::LAYER_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid LAYER_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00039">LabelsAndEventClasses.hpp:39</a></div></div> |
| 1060 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a45ee4859ef7343e8748154aef20e5873"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a45ee4859ef7343e8748154aef20e5873">armnn::profiling::LabelsAndEventClasses::WORKLOAD</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string WORKLOAD</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00034">LabelsAndEventClasses.hpp:34</a></div></div> |
| 1061 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_ada8a8ab1d037ceced96d7fc62ab80c2d"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ada8a8ab1d037ceced96d7fc62ab80c2d">armnn::profiling::LabelsAndEventClasses::INDEX_LABEL</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string INDEX_LABEL</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00025">LabelsAndEventClasses.hpp:25</a></div></div> |
| 1062 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a2803368c101910905392bc7edd4c9cc5"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a2803368c101910905392bc7edd4c9cc5">armnn::profiling::LabelsAndEventClasses::NETWORK_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid NETWORK_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00041">LabelsAndEventClasses.hpp:41</a></div></div> |
| 1063 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_ade6c7354c6b3091676e9aa493406cba1"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ade6c7354c6b3091676e9aa493406cba1">armnn::profiling::LabelsAndEventClasses::CONNECTION</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string CONNECTION</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00036">LabelsAndEventClasses.hpp:36</a></div></div> |
| 1064 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a28bee8fd642c7718de3df93e0342644f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a28bee8fd642c7718de3df93e0342644f">armnn::profiling::LabelsAndEventClasses::INDEX_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid INDEX_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00029">LabelsAndEventClasses.hpp:29</a></div></div> |
| 1065 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_adb91c720887d6f0e45daf196741a5a0b"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#adb91c720887d6f0e45daf196741a5a0b">armnn::profiling::LabelsAndEventClasses::TYPE_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid TYPE_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00028">LabelsAndEventClasses.hpp:28</a></div></div> |
| 1066 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_ade2233e4c4600c2353dbdd1729977872"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#ade2233e4c4600c2353dbdd1729977872">armnn::profiling::LabelsAndEventClasses::BACKENDID_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid BACKENDID_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00030">LabelsAndEventClasses.hpp:30</a></div></div> |
| 1067 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a91cd46752a820295fde06a27f90383ac"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a91cd46752a820295fde06a27f90383ac">armnn::profiling::LabelsAndEventClasses::INFERENCE</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string INFERENCE</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00037">LabelsAndEventClasses.hpp:37</a></div></div> |
| 1068 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_a12eb35b84849b5d5c895481f6b09a282"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#a12eb35b84849b5d5c895481f6b09a282">armnn::profiling::LabelsAndEventClasses::LAYER</a></div><div class="ttdeci">static ARMNN_DLLEXPORT std::string LAYER</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00033">LabelsAndEventClasses.hpp:33</a></div></div> |
| 1069 | </div><!-- fragment --> |
| 1070 | </div> |
| 1071 | </div> |
| 1072 | <a id="ae8c2d2f76cfa5291e0abad620e5ec864"></a> |
| 1073 | <h2 class="memtitle"><span class="permalink"><a href="#ae8c2d2f76cfa5291e0abad620e5ec864">◆ </a></span>TypeEntity()</h2> |
| 1074 | |
| 1075 | <div class="memitem"> |
| 1076 | <div class="memproto"> |
| 1077 | <table class="memname"> |
| 1078 | <tr> |
| 1079 | <td class="memname">void TypeEntity </td> |
| 1080 | <td>(</td> |
| 1081 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.xhtml">ProfilingGuid</a> </td> |
| 1082 | <td class="paramname"><em>entityGuid</em>, </td> |
| 1083 | </tr> |
| 1084 | <tr> |
| 1085 | <td class="paramkey"></td> |
| 1086 | <td></td> |
| 1087 | <td class="paramtype">const std::string & </td> |
| 1088 | <td class="paramname"><em>type</em> </td> |
| 1089 | </tr> |
| 1090 | <tr> |
| 1091 | <td></td> |
| 1092 | <td>)</td> |
| 1093 | <td></td><td></td> |
| 1094 | </tr> |
| 1095 | </table> |
| 1096 | </div><div class="memdoc"> |
| 1097 | |
| 1098 | <p class="definition">Definition at line <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00226">226</a> of file <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a>.</p> |
| 1099 | |
| 1100 | <p class="reference">References <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods::MarkEntityWithLabel()</a>, and <a class="el" href="_labels_and_event_classes_8hpp_source.xhtml#l00028">LabelsAndEventClasses::TYPE_GUID</a>.</p> |
| 1101 | |
| 1102 | <p class="reference">Referenced by <a class="el" href="_timeline_utility_methods_8cpp_source.xhtml#l00102">TimelineUtilityMethods::CreateNamedTypedEntity()</a>, and <a class="el" href="_timeline_utility_methods_8hpp_source.xhtml#l00028">TimelineUtilityMethods::TimelineUtilityMethods()</a>.</p> |
| 1103 | <div class="fragment"><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> {</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af8e3c53181977ef3941575b1a218a0a1">MarkEntityWithLabel</a>(entityGuid, type, <a class="code" href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#adb91c720887d6f0e45daf196741a5a0b">LabelsAndEventClasses::TYPE_GUID</a>);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_timeline_utility_methods_xhtml_af8e3c53181977ef3941575b1a218a0a1"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml#af8e3c53181977ef3941575b1a218a0a1">armnn::profiling::TimelineUtilityMethods::MarkEntityWithLabel</a></div><div class="ttdeci">void MarkEntityWithLabel(ProfilingGuid entityGuid, const std::string &labelName, ProfilingStaticGuid labelLinkGuid)</div><div class="ttdef"><b>Definition:</b> <a href="_timeline_utility_methods_8cpp_source.xhtml#l00166">TimelineUtilityMethods.cpp:166</a></div></div> |
| 1104 | <div class="ttc" id="classarmnn_1_1profiling_1_1_labels_and_event_classes_xhtml_adb91c720887d6f0e45daf196741a5a0b"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_labels_and_event_classes.xhtml#adb91c720887d6f0e45daf196741a5a0b">armnn::profiling::LabelsAndEventClasses::TYPE_GUID</a></div><div class="ttdeci">static ARMNN_DLLEXPORT ProfilingStaticGuid TYPE_GUID</div><div class="ttdef"><b>Definition:</b> <a href="_labels_and_event_classes_8hpp_source.xhtml#l00028">LabelsAndEventClasses.hpp:28</a></div></div> |
| 1105 | </div><!-- fragment --> |
| 1106 | </div> |
| 1107 | </div> |
| 1108 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 1109 | <li>src/profiling/<a class="el" href="_timeline_utility_methods_8hpp_source.xhtml">TimelineUtilityMethods.hpp</a></li> |
| 1110 | <li>src/profiling/<a class="el" href="_timeline_utility_methods_8cpp_source.xhtml">TimelineUtilityMethods.cpp</a></li> |
| 1111 | </ul> |
| 1112 | </div><!-- contents --> |
| 1113 | </div><!-- doc-content --> |
| 1114 | <!-- start footer part --> |
| 1115 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 1116 | <ul> |
| 1117 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1profiling.xhtml">profiling</a></li><li class="navelem"><a class="el" href="classarmnn_1_1profiling_1_1_timeline_utility_methods.xhtml">TimelineUtilityMethods</a></li> |
| 1118 | <li class="footer">Generated on Fri Mar 13 2020 16:09:21 for ArmNN by |
| 1119 | <a href="http://www.doxygen.org/index.html"> |
| 1120 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 1121 | </ul> |
| 1122 | </div> |
| 1123 | </body> |
| 1124 | </html> |