Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill surf_cpu_model_init_bypass_im, use surf_host_create_resource, change the manner...
[simgrid.git] / src / surf / cpu.c
index 8fe2ef6..07761ee 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 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. */
@@ -196,7 +195,7 @@ static void cpu_update_actions_state(double now, double delta)
 #ifdef HAVE_TRACING
     cpu_Cas01_t x = lmm_constraint_id(lmm_get_cnst_from_var (cpu_maxmin_system, action->variable, 0));
 
-    TRACE_surf_update_action_state_cpu_resource (x->generic_resource.name,
+    TRACE_surf_host_set_utilization (x->generic_resource.name,
               action->generic_action.data, lmm_variable_getvalue(action->variable), now-delta, delta);
 #endif
     double_update(&(action->generic_action.remains),