summaryrefslogtreecommitdiff
path: root/navit/navigation.c
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2015-10-16 20:01:01 +0200
committermvglasow <michael -at- vonglasow.com>2015-10-16 20:01:01 +0200
commit3cb94f3adabfdb76fb093ce2efd748b985f20a3e (patch)
tree302175b032931be6c89cba6fb97fb2940d32daaf /navit/navigation.c
parentec1d3f531f1217c1701c8209e179eeebedda4164 (diff)
downloadnavit-3cb94f3adabfdb76fb093ce2efd748b985f20a3e.tar.gz
Refactor:core:Remove profiling code for maneuver generation
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/navigation.c')
-rw-r--r--navit/navigation.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/navit/navigation.c b/navit/navigation.c
index 0287099b4..1a435d33f 100644
--- a/navit/navigation.c
+++ b/navit/navigation.c
@@ -3653,8 +3653,6 @@ navigation_update_done(struct navigation *this_, int cancel) {
this_->idle_cb=NULL;
if (!cancel) {
- profile(1, "generating maneuvers\n");
-
if (!(this_->status & status_has_sitem))
navigation_destroy_itms_cmds(this_, NULL);
else {
@@ -3670,8 +3668,6 @@ navigation_update_done(struct navigation *this_, int cancel) {
map_rect_destroy(this_->route_mr);
this_->route_mr = NULL;
this_->status = status_none;
-
- profile(1, "done\n");
}
/**
@@ -3702,7 +3698,6 @@ navigation_update_idle(struct navigation *this_) {
while ((count > 0)) {
count--;
if (!(ritem = map_rect_get_item(this_->route_mr))) {
- profile(1, "processed %d map items\n", (100 - count));
navigation_update_done(this_, 0);
return;
}
@@ -3734,8 +3729,6 @@ navigation_update_idle(struct navigation *this_) {
}
navigation_itm_new(this_, ritem);
}
-
- profile(1, "processed %d map items\n", (100 - count));
}
/**
@@ -3761,13 +3754,6 @@ navigation_update(struct navigation *this_, struct route *route, struct attr *at
dbg(lvl_debug,"enter\n");
- if (attr->u.num == route_status_building_graph) {
- profile(1, NULL);
- dbg(lvl_debug, "route status changed to 0x%x\n", attr->u.num);
- } else if ((attr->u.num != route_status_destination_set) && (attr->u.num != route_status_no_destination)) {
- profile(1, "route status changed to 0x%x\n", attr->u.num);
- }
-
if (attr->u.num == route_status_no_destination || attr->u.num == route_status_not_found || attr->u.num == route_status_path_done_new)
navigation_flush(this_);
if (attr->u.num != route_status_path_done_new && attr->u.num != route_status_path_done_incremental) {