-void LinkType::endEvent(Container* endContainer, std::string value, std::string key)
-{
- new LinkEvent(issuer_, this, PAJE_EndLink, endContainer, value, key, -1);
-}
-
-void Type::logDefinition(e_event_type event_type)
-{
- if (trace_format != simgrid::instr::TraceFormat::Paje)
- return;
- XBT_DEBUG("%s: event_type=%u, timestamp=%.*f", __func__, event_type, TRACE_precision(), 0.);
- stream_ << event_type << " " << get_id() << " " << father_->get_id() << " " << get_name();
- if (isColored())
- stream_ << " \"" << color_ << "\"";
- XBT_DEBUG("Dump %s", stream_.str().c_str());
- tracing_file << stream_.str() << std::endl;
-}
-
-void Type::logDefinition(simgrid::instr::Type* source, simgrid::instr::Type* dest)
-{
- if (trace_format != simgrid::instr::TraceFormat::Paje)
- return;
- XBT_DEBUG("%s: event_type=%u, timestamp=%.*f", __func__, PAJE_DefineLinkType, TRACE_precision(), 0.);
- stream_ << PAJE_DefineLinkType << " " << get_id() << " " << father_->get_id() << " " << source->get_id();
- stream_ << " " << dest->get_id() << " " << get_name();
- XBT_DEBUG("Dump %s", stream_.str().c_str());
- tracing_file << stream_.str() << std::endl;
-}
-
-Type* Type::byName(std::string name)