From 5c131240d6b9d54cb3ec787785764153e6d21f8a Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 30 Oct 2011 19:57:04 +0100 Subject: [PATCH] make renderer debugging readable faster (2) --- OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java index f130aa4da9..6f5ad731b5 100644 --- a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java +++ b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java @@ -250,8 +250,8 @@ public class OsmandRenderer { rc.ended = true; notifyListeners(notifyList); long time = System.currentTimeMillis() - now; - rc.renderingDebugInfo = String.format("Rendering done in %s (%s text) ms\n" - + "(%s points, %s points inside, %s objects visile from %s)\n" + res,//$NON-NLS-1$ + rc.renderingDebugInfo = String.format("Rendering: %s ms (%s text)\n" + + "(%s points, %s points inside, %s of %s objects visible)\n" + res,//$NON-NLS-1$ time, rc.textRenderingTime, rc.pointCount, rc.pointInsideCount, rc.visible, rc.allObjects); } catch (Exception e) { e.printStackTrace(); @@ -337,8 +337,8 @@ public class OsmandRenderer { drawTextOverCanvas(rc, cv, useEnglishNames); long time = System.currentTimeMillis() - now; - rc.renderingDebugInfo = String.format("Rendering done in %s (%s text) ms\n" - + "(%s points, %s points inside, %s objects visile from %s)",//$NON-NLS-1$ + rc.renderingDebugInfo = String.format("Rendering: %s ms (%s text)\n" + + "(%s points, %s points inside, %s of %s objects visible)",//$NON-NLS-1$ time, time - beforeIconTextTime, rc.pointCount, rc.pointInsideCount, rc.visible, rc.allObjects); log.info(rc.renderingDebugInfo);