Searched refs:total_weight (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/scripts/inferno/ |
D | svg_renderer.py | 51 def get_heat_color(callsite, total_weight): argument 52 r = 245 + 10 * (1 - callsite.weight() / total_weight) 53 g = 110 + 105 * (1 - callsite.weight() / total_weight) 66 def create_svg_node(process, callsite, depth, f, total_weight, height, color_scheme, nav): argument 67 x = float(callsite.offset) / total_weight * 100 69 width = callsite.weight() / total_weight * 100 80 r, g, b = get_heat_color(callsite, total_weight) 101 callsite.weight() / total_weight * 100, 122 def render_svg_nodes(process, flamegraph, depth, f, total_weight, height, color_scheme): argument 141 create_svg_node(process, child, depth, f, total_weight, height, color_scheme, nav) [all …]
|