Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
display gen2roots in profiler output
  • Loading branch information
timo committed Dec 7, 2014
1 parent e910232 commit 1fe679a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/vm/moar/profiler/template.html
Expand Up @@ -585,7 +585,8 @@ <h4 class="modal-title" id="allocatingRoutinesModalLabel">
<div>
{{gc.RetainedKilobytes}}KB /
{{gc.PromotedKilobytes}}KB /
{{gc.ClearedKilobytes}}KB
{{gc.ClearedKilobytes}}KB ...
<small>{{gc.Gen2Roots}} gen2 roots</small>
</div>
</td>
</tr>
Expand Down Expand Up @@ -1093,7 +1094,8 @@ <h3>Global Deoptimization</h3>
ClearedKilobytes: Math.round(gc.cleared_bytes / 1024),
RetainedPercent: +(100 * gc.retained_bytes / totalBytes).toFixed(2),
PromotedPercent: +(100 * gc.promoted_bytes / totalBytes).toFixed(2),
ClearedPercent: +(100 * gc.cleared_bytes / totalBytes).toFixed(2)
ClearedPercent: +(100 * gc.cleared_bytes / totalBytes).toFixed(2),
Gen2Roots: 'gen2_roots' in gc ? gc.gen2_roots : 0
};
});
$scope.predicate = 'Run';
Expand Down

0 comments on commit 1fe679a

Please sign in to comment.