Home
last modified time | relevance | path

Searched refs:flamegraph (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py122 def render_svg_nodes(process, flamegraph, depth, f, total_weight, height, color_scheme): argument
123 for i, child in enumerate(flamegraph.children):
129 left_index = flamegraph.children[i - 1].id
131 if i == len(flamegraph.children) - 1:
134 right_index = flamegraph.children[i + 1].id
139 nav = [up_index, left_index, flamegraph.id, right_index]
185 def render_svg(process, flamegraph, f, color_scheme): argument
186 height = (flamegraph.get_max_depth() + 2) * SVG_NODE_HEIGHT
193 """ % (flamegraph.children[0].id))
199 render_svg_nodes(process, flamegraph, 0, f, flamegraph.weight(), height, color_scheme)
Dscript.js19 let flamegraph = document.getElementById('flamegraph_id');
20 let svgs = flamegraph.getElementsByTagName('svg');
39 let flamegraph = document.getElementById('flamegraph_id');
40 let svgs = flamegraph.getElementsByTagName('svg');
Ddata_types.py32 self.flamegraph = FlameGraphCallSite("root", "", 0)
48 self.flamegraph.add_callchain(chain, sample.period)
Dinferno.py146 thread.flamegraph.trim_callchain(min_event_count)
224 render_svg(process, thread.flamegraph, f, args.color)
235 thread.flamegraph.generate_offset(0)
/system/extras/simpleperf/doc/
Dinferno.md7 Inferno is a flamegraph generator for native (C/C++) Android apps. It was
15 merged together. As a result, the width of a flamegraph represents 100% of
20 ![flamegraph sample](./main_thread_flamegraph.png)
22 In the flamegraph featured above you can see the main thread of SurfaceFlinger.
31 A flamegraph give you instant vision on the CPU cycles cost centers but
35 ![flamegraph sample](./bottleneck.png)
37 In the previous flamegraph, two
DREADME.md137 [inferno.sh](#inferno) (or inferno.bat on Windows): generating flamegraph in html interface.
363 $ FlameGraph/flamegraph.pl out.folded >a.svg
1218 $ FlameGraph/flamegraph.pl out.folded >a.svg
/system/extras/simpleperf/scripts/
Dreport_html.js800 let flamegraph = new FlameGraphView(this.flamegraphDiv, title, totalCount,
802 flamegraph.draw();
803 newFlamegraphs.push(flamegraph);
830 for (let flamegraph of newFlamegraphs) {
831 this.flamegraphs.push(flamegraph);