ex1-fg.svg (4240B)
1 <svg version="1.1" width="1200" height="214" viewBox="0 0 1200 214" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 2 <!-- Flame graph stack visualization. See https://github.com/brendangregg/FlameGraph for latest version, and http://www.brendangregg.com/flamegraphs.html for examples. --> 3 <!-- NOTES: --> 4 <defs> 5 <linearGradient id="background" y1="0" y2="1" x1="0" x2="0" > 6 <stop stop-color="#eeeeee" offset="5%" /> 7 <stop stop-color="#eeeeb0" offset="95%" /> 8 </linearGradient> 9 </defs> 10 <style type="text/css"> 11 text { font-family:Verdana; font-size:12px; fill:rgb(0,0,0); } 12 #search, #ignorecase { opacity:0.1; cursor:pointer; } 13 #search:hover, #search.show, #ignorecase:hover, #ignorecase.show { opacity:1; } 14 #subtitle { text-anchor:middle; font-color:rgb(160,160,160); } 15 #title { text-anchor:middle; font-size:17px} 16 #unzoom { cursor:pointer; } 17 #frames > *:hover { stroke:black; stroke-width:0.5; cursor:pointer; } 18 .hide { display:none; } 19 .parent { opacity:0.5; } 20 </style> 21 <rect x="0.0" y="0" width="1200.0" height="214.0" fill="url(#background)" /> 22 <text id="title" x="600.00" y="24" >Flame Graph</text> 23 <text id="details" x="10.00" y="197" > </text> 24 <text id="unzoom" x="10.00" y="24" class="hide">Reset Zoom</text> 25 <text id="search" x="1090.00" y="24" >Search</text> 26 <text id="ignorecase" x="1174.00" y="24" >ic</text> 27 <text id="matched" x="1090.00" y="197" > </text> 28 <g id="frames"> 29 <g > 30 <title>square (13,514,719,173 samples, 10.04%)</title><rect x="720.1" y="53" width="118.4" height="15.0" fill="rgb(219,66,15)" rx="2" ry="2" /> 31 <text x="723.10" y="63.5" >square</text> 32 </g> 33 <g > 34 <title>squareHelper (6,814,422,153 samples, 5.06%)</title><rect x="1130.3" y="69" width="59.7" height="15.0" fill="rgb(241,169,40)" rx="2" ry="2" /> 35 <text x="1133.28" y="79.5" >square..</text> 36 </g> 37 <g > 38 <title>[libc.so.6] (134,651,191,451 samples, 100.00%)</title><rect x="10.0" y="85" width="1180.0" height="15.0" fill="rgb(223,84,20)" rx="2" ry="2" /> 39 <text x="13.01" y="95.5" >[libc.so.6]</text> 40 </g> 41 <g > 42 <title>all (134,652,798,251 samples, 100%)</title><rect x="10.0" y="165" width="1180.0" height="15.0" fill="rgb(213,39,9)" rx="2" ry="2" /> 43 <text x="13.00" y="175.5" ></text> 44 </g> 45 <g > 46 <title>squareHelper (26,624,799,803 samples, 19.77%)</title><rect x="838.5" y="53" width="233.4" height="15.0" fill="rgb(241,169,40)" rx="2" ry="2" /> 47 <text x="841.54" y="63.5" >squareHelper</text> 48 </g> 49 <g > 50 <title>factorial (26,230,781,959 samples, 19.48%)</title><rect x="490.2" y="53" width="229.9" height="15.0" fill="rgb(233,129,30)" rx="2" ry="2" /> 51 <text x="493.23" y="63.5" >factorial</text> 52 </g> 53 <g > 54 <title>call_init (134,651,191,451 samples, 100.00%)</title><rect x="10.0" y="101" width="1180.0" height="15.0" fill="rgb(221,77,18)" rx="2" ry="2" /> 55 <text x="13.01" y="111.5" >call_init</text> 56 </g> 57 <g > 58 <title>square (6,684,828,895 samples, 4.96%)</title><rect x="1013.3" y="37" width="58.6" height="15.0" fill="rgb(219,66,15)" rx="2" ry="2" /> 59 <text x="1016.28" y="47.5" >square</text> 60 </g> 61 <g > 62 <title>_start (134,651,191,451 samples, 100.00%)</title><rect x="10.0" y="133" width="1180.0" height="15.0" fill="rgb(245,185,44)" rx="2" ry="2" /> 63 <text x="13.01" y="143.5" >_start</text> 64 </g> 65 <g > 66 <title>__libc_start_main (134,651,191,451 samples, 100.00%)</title><rect x="10.0" y="117" width="1180.0" height="15.0" fill="rgb(236,142,34)" rx="2" ry="2" /> 67 <text x="13.01" y="127.5" >__libc_start_main</text> 68 </g> 69 <g > 70 <title>factorial (1,539,933,354 samples, 1.14%)</title><rect x="10.0" y="69" width="13.5" height="15.0" fill="rgb(233,129,30)" rx="2" ry="2" /> 71 <text x="13.01" y="79.5" ></text> 72 </g> 73 <g > 74 <title>square (6,667,283,715 samples, 4.95%)</title><rect x="1071.9" y="69" width="58.4" height="15.0" fill="rgb(219,66,15)" rx="2" ry="2" /> 75 <text x="1074.86" y="79.5" >square</text> 76 </g> 77 <g > 78 <title>ex1 (134,652,798,251 samples, 100.00%)</title><rect x="10.0" y="149" width="1180.0" height="15.0" fill="rgb(219,66,15)" rx="2" ry="2" /> 79 <text x="13.00" y="159.5" >ex1</text> 80 </g> 81 <g > 82 <title>main (119,629,552,229 samples, 88.84%)</title><rect x="23.5" y="69" width="1048.4" height="15.0" fill="rgb(243,179,42)" rx="2" ry="2" /> 83 <text x="26.51" y="79.5" >main</text> 84 </g> 85 </g> 86 </svg>