Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] it seems there are no availability traces for latency, no need for this funct...
authorschnorr <Lucas.Schnorr@imag.fr>
Tue, 31 Jul 2012 20:07:16 +0000 (22:07 +0200)
committerschnorr <Lucas.Schnorr@imag.fr>
Tue, 31 Jul 2012 21:44:31 +0000 (23:44 +0200)
src/instr/instr_surf.c

index 1de381c..a79ecab 100644 (file)
@@ -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)
 {