Class RenderBenchmarkCollector.LoggingBenchmark
java.lang.Object
org.openstreetmap.josm.data.osm.visitor.paint.RenderBenchmarkCollector
org.openstreetmap.josm.data.osm.visitor.paint.RenderBenchmarkCollector.CapturingBenchmark
org.openstreetmap.josm.data.osm.visitor.paint.RenderBenchmarkCollector.LoggingBenchmark
- Enclosing class:
- RenderBenchmarkCollector
public static class RenderBenchmarkCollector.LoggingBenchmark
extends RenderBenchmarkCollector.CapturingBenchmark
A special version of the benchmark class that logs the output to stderr.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.osm.visitor.paint.RenderBenchmarkCollector
RenderBenchmarkCollector.CapturingBenchmark, RenderBenchmarkCollector.LoggingBenchmark -
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.data.osm.visitor.paint.RenderBenchmarkCollector.CapturingBenchmark
timeFinished, timeGenerateDone, timeSortingDone, timeStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNotified when the render method is done.booleanrenderDraw(List<StyledMapRenderer.StyleRecord> allStyleElems) Notified when the renderer method starts drawingvoidrenderStart(double circum) Notified when the renderer method starts preparing the dataMethods inherited from class org.openstreetmap.josm.data.osm.visitor.paint.RenderBenchmarkCollector.CapturingBenchmark
getDrawTime, getGenerateTime, getSortTime, renderSortMethods inherited from class org.openstreetmap.josm.data.osm.visitor.paint.RenderBenchmarkCollector
defaultBenchmarkSupplier, getCurrentTimeMilliseconds
-
Field Details
-
outStream
-
circum
-
-
Constructor Details
-
LoggingBenchmark
public LoggingBenchmark()
-
-
Method Details
-
renderStart
Description copied from class:RenderBenchmarkCollectorNotified when the renderer method starts preparing the data- Overrides:
renderStartin classRenderBenchmarkCollector.CapturingBenchmark- Parameters:
circum- The current circum of the view.
-
renderDraw
Description copied from class:RenderBenchmarkCollectorNotified when the renderer method starts drawing- Overrides:
renderDrawin classRenderBenchmarkCollector.CapturingBenchmark- Parameters:
allStyleElems- All the elements that are painted. Unsorted- Returns:
trueif the renderer should continue to render
-
renderDone
Description copied from class:RenderBenchmarkCollectorNotified when the render method is done.- Overrides:
renderDonein classRenderBenchmarkCollector.CapturingBenchmark
-