blob: 8b1819958b49d5aa3ee7560a9de2919cf113fe9e [file] [log] [blame]
<!-- HTML header for doxygen 1.8.17-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arm NN: src/timelineDecoder/JSONTimelineDecoder.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/>
<td id="projectalign" style="padding-left: 0.9em;">
<div id="projectname">
&#160;<span id="projectnumber">24.02</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_j_s_o_n_timeline_decoder_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">JSONTimelineDecoder.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_j_s_o_n_timeline_decoder_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// SPDX-License-Identifier: MIT</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &lt;server/include/timelineDecoder/ITimelineDecoder.hpp&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_filesystem_8hpp.html">armnnUtils/Filesystem.hpp</a>&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="keyword">namespace </span>timelinedecoder</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;{</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html">JSONTimelineDecoder</a> : <span class="keyword">public</span> arm::pipe::ITimelineDecoder</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html"> 22</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; {</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a380d65a500fb65ba214ece511d0da089"> 25</a></span>&#160; std::vector&lt;uint64_t&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a380d65a500fb65ba214ece511d0da089">connected_entities</a>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#afeb609bff427c298d22db84c31d00abc"> 26</a></span>&#160; std::vector&lt;uint64_t&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#afeb609bff427c298d22db84c31d00abc">childEntities</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a166dc5e5f8ccba369543f7b1a00223fb"> 28</a></span>&#160; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a166dc5e5f8ccba369543f7b1a00223fb">JSONEntity</a>(uint64_t guid): m_Guid(guid){}</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; uint64_t <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#aba119e4096cda4655eadffdadc627143">GetGuid</a>();</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; std::string <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a8facce7acc5e95194c232b9bbd1363d5">GetName</a>();</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; std::string <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#ae69b41a16636c29011702a68774e43ca">GetType</a>();</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a6d4ce8e027c4003fba8525261043ed60">SetName</a>(std::string entityName);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a64aea7c64563aae1a38a91e0800094f3">SetType</a>(std::string entityType);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#aa94b872de1dad9451cb3062aaa2b9ff8">SetParent</a>(<a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; parent);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#aadd81948928ab93f1b510785bd84b80e">AddConnection</a>(<a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; headEntity, <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; connectedEntity);</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a0fa5f0e645f11ca767d73c1d89047a51"> 36</a></span>&#160; std::map&lt;std::string, std::string&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a0fa5f0e645f11ca767d73c1d89047a51">extendedData</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; uint64_t m_Guid;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; std::string name;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; std::string type;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; };</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html"> 44</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html">Model</a></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; {</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a93551dadd83a8ca1d48f83479da39646"> 46</a></span>&#160; std::map&lt;uint64_t, JSONEntity&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a93551dadd83a8ca1d48f83479da39646">jsonEntities</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a58ca50dd2ee7906449a962133a10eb3f"> 47</a></span>&#160; std::map&lt;uint64_t, Relationship&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a58ca50dd2ee7906449a962133a10eb3f">relationships</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a8f006c01f8a845b8f33dadef1b1908b8"> 48</a></span>&#160; std::map&lt;uint64_t, Label&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a8f006c01f8a845b8f33dadef1b1908b8">labels</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a4fbcc3e4928b03f03f3c2fea42f60620"> 49</a></span>&#160; std::map&lt;uint64_t, Event&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a4fbcc3e4928b03f03f3c2fea42f60620">events</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a9313bfbeda7f65af79f742ad794f3bba"> 50</a></span>&#160; std::map&lt;uint64_t, EventClass&gt; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a9313bfbeda7f65af79f742ad794f3bba">eventClasses</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; };</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#ab9a5c5064fa36abbdb1507284d3a1d31">PrintJSON</a>(<a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; entity, std::ostream&amp; os);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; std::string <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#aee623039a8883d5bbad213f6e68336de">GetJSONString</a>(<a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; rootEntity);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; std::string <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#ab7f65845e8fd6aeaebd152e9ecda4031">GetJSONEntityString</a>(<a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; entity, <span class="keywordtype">int</span>&amp; counter);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">virtual</span> TimelineStatus <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a7a334cad54dec795a2cbe5db09ae6e8b">CreateEntity</a>(<span class="keyword">const</span> Entity&amp;) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">virtual</span> TimelineStatus <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#af3b994a8f02b010cc1685b3d82eb1327">CreateEventClass</a>(<span class="keyword">const</span> EventClass&amp;) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">virtual</span> TimelineStatus <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a88a1f8b7707e1b022e4a3f55b7380e0d">CreateEvent</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_event.html">Event</a>&amp;) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">virtual</span> TimelineStatus <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#aea2da9fa89f1c02c8b2de42fb63d846f">CreateLabel</a>(<span class="keyword">const</span> Label&amp;) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">virtual</span> TimelineStatus <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a5a31a4a0b4a84ee4cb8a25043fc16d4d">CreateRelationship</a>(<span class="keyword">const</span> Relationship&amp;) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">const</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html">Model</a>&amp; <a class="code" href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a81dffedad39d89f959b6119bd8519681">GetModel</a>();</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html">Model</a> m_Model;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">void</span> HandleRetentionLink(<span class="keyword">const</span> Relationship&amp; relationship);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordtype">void</span> HandleLabelLink(<span class="keyword">const</span> Relationship&amp; relationship);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">void</span> HandleExecutionLink(<span class="keyword">const</span> Relationship&amp; relationship);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordtype">void</span> HandleConnectionLabel(<span class="keyword">const</span> Relationship&amp; relationship);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordtype">void</span> HandleBackendIdLabel(<span class="keyword">const</span> Relationship&amp; relationship);</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordtype">void</span> HandleNameLabel(<span class="keyword">const</span> Relationship&amp; relationship);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">void</span> HandleTypeLabel(<span class="keyword">const</span> Relationship&amp; relationship);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; std::string GetLayerJSONString(<a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; entity, <span class="keywordtype">int</span>&amp; counter, std::string&amp; jsonEntityString);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; std::string GetWorkloadJSONString(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; entity, <span class="keywordtype">int</span>&amp; counter, std::string&amp; jsonEntityString);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; std::string GetWorkloadExecutionJSONString(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">JSONEntity</a>&amp; entity, std::string&amp; jsonEntityString) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;};</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;}</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_aee623039a8883d5bbad213f6e68336de"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#aee623039a8883d5bbad213f6e68336de">armnn::timelinedecoder::JSONTimelineDecoder::GetJSONString</a></div><div class="ttdeci">std::string GetJSONString(JSONEntity &amp;rootEntity)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00224">JSONTimelineDecoder.cpp:224</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_ab7f65845e8fd6aeaebd152e9ecda4031"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#ab7f65845e8fd6aeaebd152e9ecda4031">armnn::timelinedecoder::JSONTimelineDecoder::GetJSONEntityString</a></div><div class="ttdeci">std::string GetJSONEntityString(JSONEntity &amp;entity, int &amp;counter)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00244">JSONTimelineDecoder.cpp:244</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model_html_a8f006c01f8a845b8f33dadef1b1908b8"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a8f006c01f8a845b8f33dadef1b1908b8">armnn::timelinedecoder::JSONTimelineDecoder::Model::labels</a></div><div class="ttdeci">std::map&lt; uint64_t, Label &gt; labels</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00048">JSONTimelineDecoder.hpp:48</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity</a></div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00022">JSONTimelineDecoder.hpp:22</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_a0fa5f0e645f11ca767d73c1d89047a51"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a0fa5f0e645f11ca767d73c1d89047a51">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::extendedData</a></div><div class="ttdeci">std::map&lt; std::string, std::string &gt; extendedData</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00036">JSONTimelineDecoder.hpp:36</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model_html_a4fbcc3e4928b03f03f3c2fea42f60620"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a4fbcc3e4928b03f03f3c2fea42f60620">armnn::timelinedecoder::JSONTimelineDecoder::Model::events</a></div><div class="ttdeci">std::map&lt; uint64_t, Event &gt; events</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00049">JSONTimelineDecoder.hpp:49</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model_html_a58ca50dd2ee7906449a962133a10eb3f"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a58ca50dd2ee7906449a962133a10eb3f">armnn::timelinedecoder::JSONTimelineDecoder::Model::relationships</a></div><div class="ttdeci">std::map&lt; uint64_t, Relationship &gt; relationships</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00047">JSONTimelineDecoder.hpp:47</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_a81dffedad39d89f959b6119bd8519681"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a81dffedad39d89f959b6119bd8519681">armnn::timelinedecoder::JSONTimelineDecoder::GetModel</a></div><div class="ttdeci">const Model &amp; GetModel()</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00347">JSONTimelineDecoder.cpp:347</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_a64aea7c64563aae1a38a91e0800094f3"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a64aea7c64563aae1a38a91e0800094f3">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::SetType</a></div><div class="ttdeci">void SetType(std::string entityType)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00362">JSONTimelineDecoder.cpp:362</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_a380d65a500fb65ba214ece511d0da089"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a380d65a500fb65ba214ece511d0da089">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::connected_entities</a></div><div class="ttdeci">std::vector&lt; uint64_t &gt; connected_entities</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00025">JSONTimelineDecoder.hpp:25</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_ae69b41a16636c29011702a68774e43ca"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#ae69b41a16636c29011702a68774e43ca">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::GetType</a></div><div class="ttdeci">std::string GetType()</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00367">JSONTimelineDecoder.cpp:367</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_a8facce7acc5e95194c232b9bbd1363d5"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a8facce7acc5e95194c232b9bbd1363d5">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::GetName</a></div><div class="ttdeci">std::string GetName()</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00357">JSONTimelineDecoder.cpp:357</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_a166dc5e5f8ccba369543f7b1a00223fb"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a166dc5e5f8ccba369543f7b1a00223fb">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::JSONEntity</a></div><div class="ttdeci">JSONEntity(uint64_t guid)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00028">JSONTimelineDecoder.hpp:28</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_ab9a5c5064fa36abbdb1507284d3a1d31"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#ab9a5c5064fa36abbdb1507284d3a1d31">armnn::timelinedecoder::JSONTimelineDecoder::PrintJSON</a></div><div class="ttdeci">void PrintJSON(JSONEntity &amp;entity, std::ostream &amp;os)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00218">JSONTimelineDecoder.cpp:218</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_event_html"><div class="ttname"><a href="classarmnn_1_1_event.html">armnn::Event</a></div><div class="ttdoc">Event class records measurements reported by BeginEvent()/EndEvent() and returns measurements when Ev...</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_event_8hpp_source.html#l00027">ProfilingEvent.hpp:27</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_aea2da9fa89f1c02c8b2de42fb63d846f"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#aea2da9fa89f1c02c8b2de42fb63d846f">armnn::timelinedecoder::JSONTimelineDecoder::CreateLabel</a></div><div class="ttdeci">virtual TimelineStatus CreateLabel(const Label &amp;) override</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00055">JSONTimelineDecoder.cpp:55</a></div></div>
<div class="ttc" id="a_filesystem_8hpp_html"><div class="ttname"><a href="_filesystem_8hpp.html">Filesystem.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_a5a31a4a0b4a84ee4cb8a25043fc16d4d"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a5a31a4a0b4a84ee4cb8a25043fc16d4d">armnn::timelinedecoder::JSONTimelineDecoder::CreateRelationship</a></div><div class="ttdeci">virtual TimelineStatus CreateRelationship(const Relationship &amp;) override</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00061">JSONTimelineDecoder.cpp:61</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model_html"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html">armnn::timelinedecoder::JSONTimelineDecoder::Model</a></div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00044">JSONTimelineDecoder.hpp:44</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model_html_a9313bfbeda7f65af79f742ad794f3bba"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a9313bfbeda7f65af79f742ad794f3bba">armnn::timelinedecoder::JSONTimelineDecoder::Model::eventClasses</a></div><div class="ttdeci">std::map&lt; uint64_t, EventClass &gt; eventClasses</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00050">JSONTimelineDecoder.hpp:50</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_aadd81948928ab93f1b510785bd84b80e"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#aadd81948928ab93f1b510785bd84b80e">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::AddConnection</a></div><div class="ttdeci">void AddConnection(JSONEntity &amp;headEntity, JSONEntity &amp;connectedEntity)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00334">JSONTimelineDecoder.cpp:334</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_afeb609bff427c298d22db84c31d00abc"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#afeb609bff427c298d22db84c31d00abc">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::childEntities</a></div><div class="ttdeci">std::vector&lt; uint64_t &gt; childEntities</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00026">JSONTimelineDecoder.hpp:26</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html">armnn::timelinedecoder::JSONTimelineDecoder</a></div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00019">JSONTimelineDecoder.hpp:19</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_af3b994a8f02b010cc1685b3d82eb1327"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#af3b994a8f02b010cc1685b3d82eb1327">armnn::timelinedecoder::JSONTimelineDecoder::CreateEventClass</a></div><div class="ttdeci">virtual TimelineStatus CreateEventClass(const EventClass &amp;) override</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00037">JSONTimelineDecoder.cpp:37</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model_html_a93551dadd83a8ca1d48f83479da39646"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_model.html#a93551dadd83a8ca1d48f83479da39646">armnn::timelinedecoder::JSONTimelineDecoder::Model::jsonEntities</a></div><div class="ttdeci">std::map&lt; uint64_t, JSONEntity &gt; jsonEntities</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8hpp_source.html#l00046">JSONTimelineDecoder.hpp:46</a></div></div>
<div class="ttc" id="anamespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdoc">Copyright (c) 2021 ARM Limited and Contributors.</div><div class="ttdef"><b>Definition:</b> <a href="01__00__quick__start_8dox_source.html#l00006">01_00_quick_start.dox:6</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_aba119e4096cda4655eadffdadc627143"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#aba119e4096cda4655eadffdadc627143">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::GetGuid</a></div><div class="ttdeci">uint64_t GetGuid()</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00342">JSONTimelineDecoder.cpp:342</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_a7a334cad54dec795a2cbe5db09ae6e8b"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a7a334cad54dec795a2cbe5db09ae6e8b">armnn::timelinedecoder::JSONTimelineDecoder::CreateEntity</a></div><div class="ttdeci">virtual TimelineStatus CreateEntity(const Entity &amp;) override</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00029">JSONTimelineDecoder.cpp:29</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_aa94b872de1dad9451cb3062aaa2b9ff8"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#aa94b872de1dad9451cb3062aaa2b9ff8">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::SetParent</a></div><div class="ttdeci">void SetParent(JSONEntity &amp;parent)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00213">JSONTimelineDecoder.cpp:213</a></div></div>
<div class="ttc" id="astructarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity_html_a6d4ce8e027c4003fba8525261043ed60"><div class="ttname"><a href="structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.html#a6d4ce8e027c4003fba8525261043ed60">armnn::timelinedecoder::JSONTimelineDecoder::JSONEntity::SetName</a></div><div class="ttdeci">void SetName(std::string entityName)</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00352">JSONTimelineDecoder.cpp:352</a></div></div>
<div class="ttc" id="aclassarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_html_a88a1f8b7707e1b022e4a3f55b7380e0d"><div class="ttname"><a href="classarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder.html#a88a1f8b7707e1b022e4a3f55b7380e0d">armnn::timelinedecoder::JSONTimelineDecoder::CreateEvent</a></div><div class="ttdeci">virtual TimelineStatus CreateEvent(const Event &amp;) override</div><div class="ttdef"><b>Definition:</b> <a href="_j_s_o_n_timeline_decoder_8cpp_source.html#l00046">JSONTimelineDecoder.cpp:46</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_4d9706f59620ec516301c65441ed077a.html">timelineDecoder</a></li><li class="navelem"><a class="el" href="_j_s_o_n_timeline_decoder_8hpp.html">JSONTimelineDecoder.hpp</a></li>
<li class="footer">Generated on Wed Feb 14 2024 16:36:17 for Arm NN by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>