X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa3426ffe35e9f09e17b5f09ee1264263b0a61b4..2e6e0403b58b48d323fbf61d6f210a6e2732b4ea:/src/kernel/routing/AsClusterFatTree.cpp diff --git a/src/kernel/routing/AsClusterFatTree.cpp b/src/kernel/routing/AsClusterFatTree.cpp index d9a5b3b08a..aaab2ed93a 100644 --- a/src/kernel/routing/AsClusterFatTree.cpp +++ b/src/kernel/routing/AsClusterFatTree.cpp @@ -94,7 +94,7 @@ void AsClusterFatTree::getRouteAndLatency(NetCard *src, if(source->id == destination->id && this->hasLoopback_) { into->link_list->push_back(source->loopback); if(latency) { - *latency += source->loopback->getLatency(); + *latency += source->loopback->latency(); } return; } @@ -114,7 +114,7 @@ void AsClusterFatTree::getRouteAndLatency(NetCard *src, into->link_list->push_back(currentNode->parents[d]->upLink); if(latency) { - *latency += currentNode->parents[d]->upLink->getLatency(); + *latency += currentNode->parents[d]->upLink->latency(); } if (this->hasLimiter_) { @@ -134,7 +134,7 @@ void AsClusterFatTree::getRouteAndLatency(NetCard *src, destination->label[currentNode->level - 1]) { into->link_list->push_back(currentNode->children[i]->downLink); if(latency) { - *latency += currentNode->children[i]->downLink->getLatency(); + *latency += currentNode->children[i]->downLink->latency(); } currentNode = currentNode->children[i]->downNode; if (this->hasLimiter_) { @@ -407,8 +407,8 @@ void AsClusterFatTree::parse_specific_arguments(sg_platf_cluster_cbarg_t cluster // The first parts of topo_parameters should be the levels number this->levels_ = xbt_str_parse_int(parameters[0].c_str(), "First parameter is not the amount of levels: %s"); - - // Then, a l-sized vector standing for the childs number by level + + // Then, a l-sized vector standing for the children number by level boost::split(tmp, parameters[1], boost::is_any_of(",")); if(tmp.size() != this->levels_) { surf_parse_error("Fat trees are defined by the levels number and 3 vectors"