X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/390c4ee50cea7f1cb52ffc4bd7435a7ad4e9cc75..25f81e17d9f23d3eaf9b6907eed3cab3b8cf3e6b:/src/instr/instr_paje_types.cpp diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index 5cbd75f77a..c77cef2e29 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -126,7 +126,7 @@ void LinkType::endEvent(container_t endContainer, std::string value, std::string void Type::logDefinition(e_event_type event_type) { - if (instr_fmt_type != instr_fmt_paje) + if (trace_format != simgrid::instr::TraceFormat::Paje) return; std::stringstream stream; XBT_DEBUG("%s: event_type=%u, timestamp=%.*f", __func__, event_type, TRACE_precision(), 0.); @@ -141,7 +141,7 @@ void Type::logDefinition(e_event_type event_type) void Type::logDefinition(simgrid::instr::Type* source, simgrid::instr::Type* dest) { - if (instr_fmt_type != instr_fmt_paje) + if (trace_format != simgrid::instr::TraceFormat::Paje) return; std::stringstream stream; XBT_DEBUG("%s: event_type=%u, timestamp=%.*f", __func__, PAJE_DefineLinkType, TRACE_precision(), 0.);