* 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();
}
if (!category)
return;
- surf_action_set_category(surf_action, category);
+ surf_action->setCategory(category);
}