Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More objectification of instr::Type (wip)
[simgrid.git] / src / smpi / colls / smpi_automatic_selector.cpp
index c86f315..2407223 100644 (file)
@@ -18,7 +18,7 @@
   if (TRACE_is_enabled()) {                                                                                            \
     simgrid::instr::Type* type = PJ_type_get_root()->getChildOrNull(#cat);                                             \
     if (not type) {                                                                                                    \
-      type = simgrid::instr::Type::eventNew(#cat, PJ_type_get_root());                                                 \
+      type = PJ_type_get_root()->addEventType(#cat);                                                                   \
     }                                                                                                                  \
     char cont_name[25];                                                                                                \
     snprintf(cont_name, 25, "rank-%d", smpi_process()->index());                                                       \