diff options
Diffstat (limited to 'tools/dmtracedump/tests/filters/testWaitingDisjointCrossThreadDiffFilterSameKeysExpected')
-rw-r--r-- | tools/dmtracedump/tests/filters/testWaitingDisjointCrossThreadDiffFilterSameKeysExpected | 210 |
1 files changed, 210 insertions, 0 deletions
diff --git a/tools/dmtracedump/tests/filters/testWaitingDisjointCrossThreadDiffFilterSameKeysExpected b/tools/dmtracedump/tests/filters/testWaitingDisjointCrossThreadDiffFilterSameKeysExpected new file mode 100644 index 0000000..5672826 --- /dev/null +++ b/tools/dmtracedump/tests/filters/testWaitingDisjointCrossThreadDiffFilterSameKeysExpected @@ -0,0 +1,210 @@ +<html> +<head> +<script type="text/javascript" src="(null)sortable.js"></script> +<script langugage="javascript"> +function toggle(item) { + obj=document.getElementById(item); + visible=(obj.style.display!="none" && obj.style.display!=""); + key=document.getElementById("x" + item); + if (visible) { + obj.style.display="none"; + key.innerHTML="+"; + } else { + obj.style.display="block"; + key.innerHTML="-"; + } +} +function onMouseOver(obj) { + obj.style.background="lightblue"; +} +function onMouseOut(obj) { + obj.style.background="white"; +} +</script> +<style type="text/css"> +div { font-family: courier; font-size: 13 } +div.parent { margin-left: 15; display: none } +div.leaf { margin-left: 10 } +div.header { margin-left: 10 } +div.link { margin-left: 10; cursor: move } +span.parent { padding-right: 10; } +span.leaf { padding-right: 10; } +a img { border: 0;} +table.sortable th { border-width: 0px 1px 1px 1px; background-color: #ccc;} +a { text-decoration: none; } +a:hover { text-decoration: underline; } +table.sortable th, table.sortable td { text-align: left;}table.sortable tr.odd td { background-color: #ddd; } +table.sortable tr.even td { background-color: #fff; } +</style> +</head><body> + +<a name="contents"></a> +<h2>Table of Contents</h2> +<ul> + <li><a href="#exclusive">Exclusive profile</a></li> + <li><a href="#inclusive">Inclusive profile</a></li> + <li><a href="#thread">Thread profile</a></li> + <li><a href="#class">Class/method profile</a></li> + <li><a href="#method">Method/class profile</a></li> +</ul> + +<a name="exclusive"></a> +<hr> +<a href="#contents">[Top]</a> +<a href="#exclusive">[Exclusive]</a> +<a href="#inclusive">[Inclusive]</a> +<a href="#thread">[Thread]</a> +<a href="#class">[Class]</a> +<a href="#method">[Method]</a> +<br><br> +Total cycles: 16 + +<br><br> +Exclusive elapsed times for each method, not including time spent in +children, sorted by exclusive time. + +<br><br> +<pre> + Usecs self % sum % Method + 8 50.00 50.00 <a href="#m1">[1]</a> Z.m () + 4 25.00 75.00 <a href="#m2">[2]</a> R.m () + 4 25.00 100.00 <a href="#m3">[3]</a> S.m () +</pre> +<a name="inclusive"></a> +<hr> +<a href="#contents">[Top]</a> +<a href="#exclusive">[Exclusive]</a> +<a href="#inclusive">[Inclusive]</a> +<a href="#thread">[Thread]</a> +<a href="#class">[Class]</a> +<a href="#method">[Method]</a> +<br><br> + +Inclusive elapsed times for each method and its parents and children, +sorted by inclusive time. + +<br><br> +<pre> +index %/total %/self index calls usecs name +<a name="m0"></a>---------------------------------------------------- +[0] 100.0% 0+0 16 (toplevel) + 0.0% excl 0 + 50.0% <a href="#m1">[1]</a> 2/2 8 Z.m () + 25.0% <a href="#m2">[2]</a> 2/2 4 R.m () + 25.0% <a href="#m3">[3]</a> 2/2 4 S.m () +<a name="m1"></a>---------------------------------------------------- + 100.0% <a href="#m0">[0]</a> 2/2 8 (toplevel) +[1] 50.0% 2+0 8 Z.m () + 100.0% excl 8 +<a name="m2"></a>---------------------------------------------------- + 100.0% <a href="#m0">[0]</a> 2/2 4 (toplevel) +[2] 25.0% 2+0 4 R.m () + 100.0% excl 4 +<a name="m3"></a>---------------------------------------------------- + 100.0% <a href="#m0">[0]</a> 2/2 4 (toplevel) +[3] 25.0% 2+0 4 S.m () + 100.0% excl 4 +</pre> +<a name="thread"></a> +<hr> +<a href="#contents">[Top]</a> +<a href="#exclusive">[Exclusive]</a> +<a href="#inclusive">[Inclusive]</a> +<a href="#thread">[Thread]</a> +<a href="#class">[Class]</a> +<a href="#method">[Method]</a> +<br><br> + +Elapsed times for each thread, sorted by elapsed time. +Also includes percentage of time spent during the <i>execution</i> of any filters. + +<br><br> +<pre> + Usecs self % sum % FirstFilter % SecondFilter % RepeatedFilter % tid ThreadName + 8 50.00 50.00 50.00 0.00 50.00 1 main + 8 50.00 100.00 50.00 0.00 50.00 2 foo + 0 0.00 100.00 nan nan nan 3 bar + 0 0.00 100.00 nan nan nan 4 blah +</pre><br /> + +Break-down of portion of time spent by each thread while waiting on a filter method. +<br/><br/> +<pre> +Filter: FirstFilter +Total waiting cycles: 16 (100.00% of total) +Details: + + Waiting cycles % of total waiting time execution time while waiting thread name + 8 50.00 50.00 main + 8 50.00 50.00 foo + 0 0.00 0.00 bar + 0 0.00 0.00 blah +</pre> +<br/><br/> +<pre> +Filter: SecondFilter +Total waiting cycles: 0 ( 0.00% of total) +</pre> +<br/><br/> +<pre> +Filter: RepeatedFilter +Total waiting cycles: 16 (100.00% of total) +Details: + + Waiting cycles % of total waiting time execution time while waiting thread name + 8 50.00 50.00 main + 8 50.00 50.00 foo + 0 0.00 0.00 bar + 0 0.00 0.00 blah +</pre> +<a name="class"></a> +<hr> +<a href="#contents">[Top]</a> +<a href="#exclusive">[Exclusive]</a> +<a href="#inclusive">[Inclusive]</a> +<a href="#thread">[Thread]</a> +<a href="#class">[Class]</a> +<a href="#method">[Method]</a> +<br><br> + +Exclusive elapsed time for each class, summed over all the methods +in the class. + +<br><br> +<div class="header"><span class="parent"> </span> Cycles %/total Cumul.% Calls+Recur Class</div> +<div class="link" onClick="javascript:toggle('d0')" onMouseOver="javascript:onMouseOver(this)" onMouseOut="javascript:onMouseOut(this)"><span class="parent" id="xd0">+</span> 8 50.0 50.0 2+0 Z</div> +<div class="parent" id="d0"> +<div class="leaf"><span class="leaf"> </span> 8 8 100.0 100.0 2+0 <a href="#m1">[1]</a> m ()</div> +</div> +<div class="link" onClick="javascript:toggle('d1')" onMouseOver="javascript:onMouseOver(this)" onMouseOut="javascript:onMouseOut(this)"><span class="parent" id="xd1">+</span> 4 25.0 75.0 2+0 R</div> +<div class="parent" id="d1"> +<div class="leaf"><span class="leaf"> </span> 4 4 100.0 100.0 2+0 <a href="#m2">[2]</a> m ()</div> +</div> +<div class="link" onClick="javascript:toggle('d2')" onMouseOver="javascript:onMouseOver(this)" onMouseOut="javascript:onMouseOut(this)"><span class="parent" id="xd2">+</span> 4 25.0 100.0 2+0 S</div> +<div class="parent" id="d2"> +<div class="leaf"><span class="leaf"> </span> 4 4 100.0 100.0 2+0 <a href="#m3">[3]</a> m ()</div> +</div> +<a name="method"></a> +<hr> +<a href="#contents">[Top]</a> +<a href="#exclusive">[Exclusive]</a> +<a href="#inclusive">[Inclusive]</a> +<a href="#thread">[Thread]</a> +<a href="#class">[Class]</a> +<a href="#method">[Method]</a> +<br><br> + +Exclusive elapsed time for each method, summed over all the classes +that contain a method with the same name. + +<br><br> +<div class="header"><span class="parent"> </span> Cycles %/total Cumul.% Calls+Recur Method</div> +<div class="link" onClick="javascript:toggle('e0')" onMouseOver="javascript:onMouseOver(this)" onMouseOut="javascript:onMouseOut(this)"><span class="parent" id="xe0">+</span> 16 100.0 100.0 6+0 m</div> +<div class="parent" id="e0"> +<div class="leaf"><span class="leaf"> </span> 8 8 50.0 50.0 2+0 <a href="#m1">[1]</a> Z.m ()</div> +<div class="leaf"><span class="leaf"> </span> 4 4 25.0 75.0 2+0 <a href="#m2">[2]</a> R.m ()</div> +<div class="leaf"><span class="leaf"> </span> 4 4 25.0 100.0 2+0 <a href="#m3">[3]</a> S.m ()</div> +</div> + +</body> +</html> |