Changeset 9800 in josm for trunk/src/org


Ignore:
Timestamp:
2016-02-14T21:02:50+01:00 (9 years ago)
Author:
stoecker
Message:

fix r9798 - variable is not used in JOSM, but in tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r9798 r9800  
    243243        public long generateTime;
    244244        public long sortTime;
     245        public long drawTime;
    245246        public Map<Class<? extends StyleElement>, Integer> styleElementCount;
    246247        public boolean skipDraw;
     
    19601961                timeFinished = System.currentTimeMillis();
    19611962                if (benchmarkData != null) {
     1963                    benchmarkData.drawTime = timeFinished - timeGenerateDone;
    19621964                    benchmarkData.recordElementStats(allStyleElems);
    19631965                }
    19641966                if (benchmarkOutput) {
    1965                     System.err.println("; phase 2 (draw): " + Utils.getDurationString(timeFinished - timeGenerateDone) +
     1967                    System.err.println("; phase 2 (draw): " + Utils.getDurationString(benchmarkData.drawTime) +
    19661968                        "; total: " + Utils.getDurationString(timeFinished - timeStart) +
    19671969                        " (scale: " + circum + " zoom level: " + Selector.GeneralSelector.scale2level(circum) + ')');
Note: See TracChangeset for help on using the changeset viewer.