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;
}
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_) {
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_) {
// 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"