From: schnorr Date: Tue, 31 Jul 2012 20:07:16 +0000 (+0200) Subject: [trace] it seems there are no availability traces for latency, no need for this funct... X-Git-Tag: v3_8~241 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b9063259210f578ffefeb7feb9590d1f9bea7361?ds=sidebyside [trace] it seems there are no availability traces for latency, no need for this function then --- diff --git a/src/instr/instr_surf.c b/src/instr/instr_surf.c index 1de381c130..a79ecabb60 100644 --- a/src/instr/instr_surf.c +++ b/src/instr/instr_surf.c @@ -42,17 +42,6 @@ void TRACE_surf_link_set_bandwidth(double date, const char *resource, double ban new_pajeSetVariable(date, container, type, bandwidth); } -//FIXME: this function is not used (latency availability traces support exists in surf network models?) -void TRACE_surf_link_set_latency(double date, const char *resource, double latency) -{ - if (!TRACE_is_enabled()) - return; - - container_t container = PJ_container_get(resource); - type_t type = PJ_type_get ("latency", container->type); - new_pajeSetVariable(date, container, type, latency); -} - /* to trace gtnets */ void TRACE_surf_gtnets_communicate(void *action, void *src, void *dst) {