Changeset 8348 in josm for trunk


Ignore:
Timestamp:
2015-05-11T13:57:14+02:00 (4 years ago)
Author:
Don-vip
Message:

use of Utils.getDurationString()

File:
1 edited

Legend:

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

    r8346 r8348  
    16641664            if (Main.isTraceEnabled()) {
    16651665                timePhase1 = System.currentTimeMillis();
    1666                 System.err.print("phase 1 (calculate styles): " + (timePhase1 - timeStart) + " ms");
     1666                System.err.print("phase 1 (calculate styles): " + Utils.getDurationString(timePhase1 - timeStart));
    16671667            }
    16681668
     
    16821682            if (Main.isTraceEnabled()) {
    16831683                timeFinished = System.currentTimeMillis();
    1684                 System.err.println("; phase 2 (draw): " + (timeFinished - timePhase1) + " ms; total: " + (timeFinished - timeStart) + " ms" +
     1684                System.err.println("; phase 2 (draw): " + Utils.getDurationString(timeFinished - timePhase1) +
     1685                    "; total: " + Utils.getDurationString(timeFinished - timeStart) +
    16851686                    " (scale: " + circum + " zoom level: " + Selector.GeneralSelector.scale2level(circum) + ")");
    16861687            }
Note: See TracChangeset for help on using the changeset viewer.