Skip to content

Commit

Permalink
draw "use heap line" at "pre used" level at beginning of pause and at…
Browse files Browse the repository at this point in the history
… "post used" level at end of pause (#95)
  • Loading branch information
chewiebug committed Apr 8, 2014
1 parent bb2b605 commit 5992302
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public Polygon computePolygon(ModelChart modelChart, GCModel model) {
if (event.getTotal() > 0) {
final double timestamp = event.getTimestamp() - model.getFirstPauseTimeStamp();
polygon.addPoint(timestamp, event.getPreUsed());
polygon.addPoint(timestamp, event.getPostUsed());
polygon.addPoint(timestamp + event.getPause(), event.getPostUsed());
}
}
// dummy point to make the polygon complete
Expand Down

0 comments on commit 5992302

Please # to comment.