X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2807fde4fd1f59c230d69a934634c5dfb77905f2..301e8d03b6cc9a9daa12a874582a8ea2b1838269:/src/surf/instr_surf.cpp diff --git a/src/surf/instr_surf.cpp b/src/surf/instr_surf.cpp index 2746a66bb2..8a996b72a7 100644 --- a/src/surf/instr_surf.cpp +++ b/src/surf/instr_surf.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010, 2012-2017. The SimGrid Team. +/* Copyright (c) 2010-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -22,11 +22,3 @@ void TRACE_surf_link_set_bandwidth(double date, const char *resource, double ban simgrid::instr::Container::byName(resource)->getVariable("bandwidth")->setEvent(date, bandwidth); } } - -void TRACE_surf_action(surf_action_t surf_action, const char *category) -{ - if (not TRACE_is_enabled() || not TRACE_categorized() || not category) - return; - - surf_action->setCategory(category); -}