public static class RenderBenchmarkCollector.LoggingBenchmark extends RenderBenchmarkCollector.CapturingBenchmark
RenderBenchmarkCollector.CapturingBenchmark, RenderBenchmarkCollector.LoggingBenchmark
Modifier and Type | Field and Description |
---|---|
private double |
circum |
private java.io.PrintStream |
outStream |
timeFinished, timeGenerateDone, timeSortingDone, timeStart
Constructor and Description |
---|
LoggingBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
renderDone()
Notified when the render method is done.
|
boolean |
renderDraw(java.util.List<StyledMapRenderer.StyleRecord> allStyleElems)
Notified when the renderer method starts drawing
|
void |
renderStart(double circum)
Notified when the renderer method starts preparing the data
|
getDrawTime, getGenerateTime, getSortTime, renderSort
defaultBenchmarkSupplier
public LoggingBenchmark()
public void renderStart(double circum)
RenderBenchmarkCollector
renderStart
in class RenderBenchmarkCollector.CapturingBenchmark
circum
- The current circum of the view.public boolean renderDraw(java.util.List<StyledMapRenderer.StyleRecord> allStyleElems)
RenderBenchmarkCollector
renderDraw
in class RenderBenchmarkCollector.CapturingBenchmark
allStyleElems
- All the elements that are painted.true
if the renderer should continue to renderpublic void renderDone()
RenderBenchmarkCollector
renderDone
in class RenderBenchmarkCollector.CapturingBenchmark