X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bc7a96b28610454ce4a2030936471f548bd0c02f..d33da686cea53f5b00a8f45239e6acc244740528:/src/instr/instr_paje_containers.cpp diff --git a/src/instr/instr_paje_containers.cpp b/src/instr/instr_paje_containers.cpp index 828ec38001..68fadc0017 100644 --- a/src/instr/instr_paje_containers.cpp +++ b/src/instr/instr_paje_containers.cpp @@ -152,12 +152,7 @@ void Container::logCreation() if (instr_fmt_type == instr_fmt_paje) { stream << std::fixed << std::setprecision(TRACE_precision()) << PAJE_CreateContainer << " "; - /* prevent 0.0000 in the trace - this was the behavior before the transition to c++ */ - if (timestamp < 1e-12) - stream << 0; - else - stream << timestamp; - stream << " " << id_ << " " << type_->get_id() << " " << father_->id_ << " \"" << name_ << "\""; + stream << timestamp << " " << id_ << " " << type_->get_id() << " " << father_->id_ << " \"" << name_ << "\""; XBT_DEBUG("Dump %s", stream.str().c_str()); fprintf(tracing_file, "%s\n", stream.str().c_str()); } else if (instr_fmt_type == instr_fmt_TI) { @@ -196,11 +191,7 @@ void Container::logDestruction() if (instr_fmt_type == instr_fmt_paje) { stream << std::fixed << std::setprecision(TRACE_precision()) << PAJE_DestroyContainer << " "; - /* prevent 0.0000 in the trace - this was the behavior before the transition to c++ */ - if (timestamp < 1e-12) - stream << 0 << " " << type_->get_id() << " " << id_; - else - stream << timestamp << " " << type_->get_id() << " " << id_; + stream << timestamp << " " << type_->get_id() << " " << id_; XBT_DEBUG("Dump %s", stream.str().c_str()); fprintf(tracing_file, "%s\n", stream.str().c_str()); } else if (instr_fmt_type == instr_fmt_TI) {