X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/77bbf3027c4240a2e833209a3a3f186589da8577..a9113d6f217e32068b356fa249923e0c9be5a5b7:/src/surf/instr_surf.cpp diff --git a/src/surf/instr_surf.cpp b/src/surf/instr_surf.cpp index 2746a66bb2..8cf1ecfdd6 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, 2012-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); -}