Commit c00612f
authored
Arm Backend: Expose PMU trace output from FVP run (#14401)
Exposes PMU trace output from an FVP. This lays part of the foundation
to enable us to use this output to as a data overlay in Model Explorer
visualisations.
The end goal here is to be able to visualise some profiling data in
Model Explorer using our Tosa Flatbuffer adapter. To enable this we need
to implement a few changes:
1. Expose PMU trace output from a FVP. This gives us performance data
from an FVP run. (This PR)
2. Expose Vela's debug database. This gives us generic information on
operators in a our model, and can be combined with the trace output to
provide more detailed profiling analysis
3. Write a script to combine the trace output and the debug database so
we can visualise it in Model Explorer in Executorch.
Here's a snippet of the PMU trace output:
```
{
"name": "axi_enabled_cycles",
"ph": "X",
"ts": "1029",
"pid": "DMA",
"tid": "axi_enabled_cycles",
"dur": "1014"
}
```
cc @digantdesai @freddan80 @per @zingo @oscarandersson82181 parent c07521a commit c00612f
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
89 | 100 | | |
90 | 101 | | |
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
94 | 105 | | |
95 | 106 | | |
| 107 | + | |
96 | 108 | | |
97 | 109 | | |
98 | 110 | | |
| |||
105 | 117 | | |
106 | 118 | | |
107 | 119 | | |
| 120 | + | |
108 | 121 | | |
109 | 122 | | |
110 | 123 | | |
| |||
0 commit comments