Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] cosmetics and removing unused static variable
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 16:44:45 +0000 (16:44 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 16:44:45 +0000 (16:44 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9177 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/instr/instr_surf.c

index f3fe658..87e0911 100644 (file)
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
 
-static xbt_dict_t resource_variables;   /* (host|link)#variable -> value */
-
 void TRACE_surf_alloc(void)
 {
 void TRACE_surf_alloc(void)
 {
-  resource_variables = xbt_dict_new();
-
   TRACE_surf_resource_utilization_alloc();
 }
 
   TRACE_surf_resource_utilization_alloc();
 }
 
@@ -36,8 +32,7 @@ static void TRACE_surf_set_resource_variable(double date,
   pajeSetVariable(date, variable, resource, value_str);
 }
 
   pajeSetVariable(date, variable, resource, value_str);
 }
 
-void TRACE_surf_host_set_power(double date, const char *resource,
-                               double power)
+void TRACE_surf_host_set_power(double date, const char *resource, double power)
 {
   if (!TRACE_is_active())
     return;
 {
   if (!TRACE_is_active())
     return;