namespace kernel {
namespace routing {
-AsClusterFatTree::AsClusterFatTree(const char*name)
- : AsCluster(name)
+AsClusterFatTree::AsClusterFatTree(As* father, const char* name) : AsCluster(father, name)
{
XBT_DEBUG("Creating a new fat tree.");
}
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_) {