X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a6b3226776b2f08ba4300e46d9dd7cd75a3f5755..30aca4d4af004d1ec899d12f0a9fe3997e9be15e:/src/surf/instr_surf.cpp diff --git a/src/surf/instr_surf.cpp b/src/surf/instr_surf.cpp index b0003d6cc5..a21da8abe2 100644 --- a/src/surf/instr_surf.cpp +++ b/src/surf/instr_surf.cpp @@ -5,16 +5,16 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "src/instr/instr_private.h" -#include "src/surf/surf_private.h" +#include "src/surf/surf_interface.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf"); -void TRACE_surf_alloc(void) +void TRACE_surf_alloc() { TRACE_surf_resource_utilization_alloc(); } -void TRACE_surf_release(void) +void TRACE_surf_release() { TRACE_surf_resource_utilization_release(); } @@ -46,5 +46,5 @@ void TRACE_surf_action(surf_action_t surf_action, const char *category) if (!category) return; - surf_action_set_category(surf_action, category); + surf_action->setCategory(category); }