Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Starting the network module.
[simgrid.git] / src / surf / trace_mgr.c
index e16eccc..23dfafc 100644 (file)
@@ -38,8 +38,6 @@ tmgr_trace_t tmgr_trace_new(const char *filename)
   FILE *f = NULL;
   int linecount = 0;
   char line[256];
-  xbt_heap_float_t current_time = 0.0, previous_time = 0.0;
-  xbt_maxmin_float_t value = -1.0;
   xbt_heap_float_t periodicity = -1.0; /* No periodicity by default */
   s_tmgr_event_t event;
   tmgr_event_t last_event = NULL;
@@ -192,3 +190,8 @@ tmgr_trace_event_t tmgr_history_get_next_event_leq(tmgr_history_t history,
 
   return trace_event;
 }
+
+void tmgr_finalize(void)
+{
+  xbt_dict_free(&trace_list);
+}