summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
550c0e4)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6740
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
}
void GTNETS_Link::print_link_status(){
}
void GTNETS_Link::print_link_status(){
- DEBUG1("link id: %d", ID_);
+ DEBUG1("****** link id: %d", ID_);
- DEBUG2("[src] id: %d, is it router?: %d, host list: ",src_node_->id(), src_node_->is_router());
- src_node_->print_hosts();
+ DEBUG2("[src] id: %d, is it router?: %d",src_node_->id(), src_node_->is_router());
- DEBUG2("[dst] id: %d, is it router?: %d, host list: ",dst_node_->id(), dst_node_->is_router());
- dst_node_->print_hosts();
+ DEBUG2("[dst] id: %d, is it router?: %d",dst_node_->id(), dst_node_->is_router());
xbt_assert1(!(iter == links_.end()), "Link %d not found", linkid);
link = iter->second;
xbt_assert1(!(iter == links_.end()), "Link %d not found", linkid);
link = iter->second;
- DEBUG4("Add onehop route, src: %d, dst: %d, linkid: %d, %d",src, dst, linkid, link->id());
+ DEBUG4("Add onehop route, src (#%d), dst (#%d), linkid %d:(#%d)",src, dst, linkid, link->id());
GTNETS_Node *src_node, *dst_node;
src_node = link->src_node();
GTNETS_Node *src_node, *dst_node;
src_node = link->src_node();
xbt_assert0(0, "Shouldn't be here");
}
xbt_assert0(0, "Shouldn't be here");
}
- if (XBT_LOG_ISENABLED(surf_network_gtnets_topology, xbt_log_priority_debug)) {
- link->print_link_status();
- src_node->print_hosts();
- dst_node->print_hosts();
- }
-