X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/900a791e0da5bcbcc43288eb8eef20b6d7c3fc8d..b73420cb42656648ba26ee31bb6abfb66d990e88:/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.);