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, renderSortdefaultBenchmarkSupplierpublic LoggingBenchmark()
public void renderStart(double circum)
RenderBenchmarkCollectorrenderStart in class RenderBenchmarkCollector.CapturingBenchmarkcircum - The current circum of the view.public boolean renderDraw(java.util.List<StyledMapRenderer.StyleRecord> allStyleElems)
RenderBenchmarkCollectorrenderDraw in class RenderBenchmarkCollector.CapturingBenchmarkallStyleElems - All the elements that are painted. Unsortedtrue if the renderer should continue to renderpublic void renderDone()
RenderBenchmarkCollectorrenderDone in class RenderBenchmarkCollector.CapturingBenchmark