Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more documentation in surf::Routing
[simgrid.git] / src / surf / instr_surf.c
index 880e503..b0003d6 100644 (file)
@@ -4,8 +4,8 @@
 /* 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. */
 
-#include "instr/instr_private.h"
-#include "surf/surf_private.h"
+#include "src/instr/instr_private.h"
+#include "src/surf/surf_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
 
@@ -19,12 +19,12 @@ void TRACE_surf_release(void)
   TRACE_surf_resource_utilization_release();
 }
 
-void TRACE_surf_host_set_power(double date, const char *resource, double power)
+void TRACE_surf_host_set_speed(double date, const char *resource, double speed)
 {
   if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
     container_t container = PJ_container_get(resource);
     type_t type = PJ_type_get ("power", container->type);
-    new_pajeSetVariable(date, container, type, power);
+    new_pajeSetVariable(date, container, type, speed);
   }
 }