Test new dbg format

This commit is contained in:
Victor Shcherb 2019-08-05 15:31:09 +02:00
parent f7278f731f
commit c0ecade925
2 changed files with 1 additions and 1 deletions

View file

@ -71,7 +71,6 @@ public class BinaryRoutePlanner {
ctx.timeToLoad = 0; ctx.timeToLoad = 0;
ctx.visitedSegments = 0; ctx.visitedSegments = 0;
ctx.memoryOverhead = 1000; ctx.memoryOverhead = 1000;
ctx.timeToCalculate = System.nanoTime();
// Initializing priority queue to visit way segments // Initializing priority queue to visit way segments

View file

@ -173,6 +173,7 @@ public class RoutePlannerFrontEnd {
public List<RouteSegmentResult> searchRoute(final RoutingContext ctx, LatLon start, LatLon end, List<LatLon> intermediates, public List<RouteSegmentResult> searchRoute(final RoutingContext ctx, LatLon start, LatLon end, List<LatLon> intermediates,
PrecalculatedRouteDirection routeDirection) throws IOException, InterruptedException { PrecalculatedRouteDirection routeDirection) throws IOException, InterruptedException {
ctx.timeToCalculate = System.nanoTime();
if (ctx.calculationProgress == null) { if (ctx.calculationProgress == null) {
ctx.calculationProgress = new RouteCalculationProgress(); ctx.calculationProgress = new RouteCalculationProgress();
} }