blob: 8b1819958b49d5aa3ee7560a9de2919cf113fe9e [file] [log] [blame]
Nikhil Raj38b600d2024-02-15 15:02:19 +00001<!-- HTML header for doxygen 1.8.17-->
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6<meta http-equiv="X-UA-Compatible" content="IE=9"/>
7<meta name="generator" content="Doxygen 1.8.17"/>
8<meta name="viewport" content="width=device-width, initial-scale=1"/>
9<title>Arm NN: src/timelineDecoder/JSONTimelineDecoder.hpp Source File</title>
10<link href="tabs.css" rel="stylesheet" type="text/css"/>
11<script type="text/javascript" src="jquery.js"></script>
12<script type="text/javascript" src="dynsections.js"></script>
13<link href="navtree.css" rel="stylesheet" type="text/css"/>
14<script type="text/javascript" src="resize.js"></script>
15<script type="text/javascript" src="navtreedata.js"></script>
16<script type="text/javascript" src="navtree.js"></script>
17<link href="search/search.css" rel="stylesheet" type="text/css"/>
18<script type="text/javascript" src="search/searchdata.js"></script>
19<script type="text/javascript" src="search/search.js"></script>
20<script type="text/x-mathjax-config">
21 MathJax.Hub.Config({
22 extensions: ["tex2jax.js"],
23 jax: ["input/TeX","output/HTML-CSS"],
24});
25</script>
26<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
27<link href="doxygen.css" rel="stylesheet" type="text/css" />
28<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
29</head>
30<body>
31<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
32<div id="titlearea">
33<table cellspacing="0" cellpadding="0">
34 <tbody>
35 <tr style="height: 56px;">
36 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/>
37 <td id="projectalign" style="padding-left: 0.9em;">
38 <div id="projectname">
39 &#160;<span id="projectnumber">24.02</span>
40 </div>
41 </td>
42 </tr>
43 </tbody>
44</table>
45</div>
46<!-- end header part -->
47<!-- Generated by Doxygen 1.8.17 -->
48<script type="text/javascript">
49/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
50var searchBox = new SearchBox("searchBox", "search",false,'Search');
51/* @license-end */
52</script>
53<script type="text/javascript" src="menudata.js"></script>
54<script type="text/javascript" src="menu.js"></script>
55<script type="text/javascript">
56/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
57$(function() {
58 initMenu('',true,false,'search.php','Search');
59 $(document).ready(function() { init_search(); });
60});
61/* @license-end */</script>
62<div id="main-nav"></div>
63</div><!-- top -->
64<div id="side-nav" class="ui-resizable side-nav-resizable">
65 <div id="nav-tree">
66 <div id="nav-tree-contents">
67 <div id="nav-sync" class="sync"></div>
68 </div>
69 </div>
70 <div id="splitbar" style="-moz-user-select:none;"
71 class="ui-resizable-handle">
72 </div>
73</div>
74<script type="text/javascript">
75/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
76$(document).ready(function(){initNavTree('_j_s_o_n_timeline_decoder_8hpp_source.html',''); initResizable(); });
77/* @license-end */
78</script>
79<div id="doc-content">
80<!-- window showing the filter options -->
81<div id="MSearchSelectWindow"
82 onmouseover="return searchBox.OnSearchSelectShow()"
83 onmouseout="return searchBox.OnSearchSelectHide()"
84 onkeydown="return searchBox.OnSearchSelectKey(event)">
85</div>
86
87<!-- iframe showing the search results (closed by default) -->
88<div id="MSearchResultsWindow">
89<iframe src="javascript:void(0)" frameborder="0"
90 name="MSearchResults" id="MSearchResults">
91</iframe>
92</div>
93
94<div class="header">
95 <div class="headertitle">
96<div class="title">JSONTimelineDecoder.hpp</div> </div>
97</div><!--header-->
98<div class="contents">
99<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>
100<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>
101<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// SPDX-License-Identifier: MIT</span></div>
102<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div>
103<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160; </div>
104<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div>
105<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; </div>
106<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>
107<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
108<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>
109<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; </div>
110<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
111<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
112<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
113<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>
114<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;{</div>
115<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="keyword">namespace </span>timelinedecoder</div>
116<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;{</div>
117<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>
118<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div>
119<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">public</span>:</div>
120<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>
121<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; {</div>
122<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keyword">public</span>:</div>
123<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>
124<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>
125<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
126<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>
127<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>
128<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>
129<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>
130<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>
131<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>
132<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>
133<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>
134<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>
135<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
136<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">private</span>:</div>
137<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; uint64_t m_Guid;</div>
138<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; std::string name;</div>
139<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; std::string type;</div>
140<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; };</div>
141<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
142<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>
143<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; {</div>
144<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>
145<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>
146<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>
147<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>
148<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>
149<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; };</div>
150<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
151<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>
152<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>
153<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>
154<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
155<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>
156<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>
157<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>
158<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>
159<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>
160<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
161<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>
162<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
163<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="keyword">private</span>:</div>
164<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>
165<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
166<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>
167<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>
168<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>
169<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>
170<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>
171<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>
172<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>
173<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
174<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>
175<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>
176<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>
177<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;};</div>
178<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
179<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;}</div>
180<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;}</div>
181</div><!-- fragment --></div><!-- contents -->
182</div><!-- doc-content -->
183<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>
184<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>
185<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>
186<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>
187<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>
188<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>
189<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>
190<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>
191<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>
192<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>
193<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>
194<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>
195<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>
196<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>
197<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>
198<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>
199<div class="ttc" id="a_filesystem_8hpp_html"><div class="ttname"><a href="_filesystem_8hpp.html">Filesystem.hpp</a></div></div>
200<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>
201<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>
202<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>
203<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>
204<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>
205<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>
206<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>
207<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>
208<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>
209<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>
210<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>
211<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>
212<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>
213<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>
214<!-- start footer part -->
215<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
216 <ul>
217 <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>
218 <li class="footer">Generated on Wed Feb 14 2024 16:36:17 for Arm NN by
219 <a href="http://www.doxygen.org/index.html">
220 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
221 </ul>
222</div>
223</body>
224</html>