Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The mallocators of dict and fifo are created in pre-init, ie before we know whether...
[simgrid.git] / src / surf / network_gtnets.c
index b0f62c3..11e6089 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2005 Henri Casanova. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -235,10 +236,6 @@ static void update_actions_state(double now, double delta)
       double remain = gtnets_get_flow_rx(action);
 
 #ifdef HAVE_TRACING
-      // tracing surf action
-      TRACE_surf_update_action_state (action, action->generic_action.data,
-                 (action->generic_action.remains-remain)/delta, "BandwidthUsed", now-delta, delta);
-
       // tracing resource utilization
       int src = TRACE_surf_gtnets_get_src (action);
       int dst = TRACE_surf_gtnets_get_dst (action);
@@ -248,7 +245,7 @@ static void update_actions_state(double now, double delta)
         unsigned int i;
         xbt_dynar_foreach(route, i, link) {
 
-          TRACE_surf_update_action_state_net_resource (link->generic_resource.name,
+               TRACE_surf_link_set_utilization (link->generic_resource.name,
             action->generic_action.data, (action->generic_action.remains-remain)/delta, now-delta, delta);
         }
       }