+ stream << timestamp << " " << id_ << " " << type_->get_id() << " " << father_->id_ << " \"";
+ if (name_.find("rank-") != 0)
+ stream << name_ << "\"";
+ else
+ /* Subtract -1 because this is the process id and we transform it to the rank id */
+ stream << "rank-" << stoi(name_.substr(5)) - 1 << "\"";
+