X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa222c38f9b796be07ab4351ffc810a61a8fd705..8d777265e12b0b9c5f13fecfc719474cdd214e9e:/src/surf/instr_surf.c diff --git a/src/surf/instr_surf.c b/src/surf/instr_surf.c index 880e50398c..b0003d6cc5 100644 --- a/src/surf/instr_surf.c +++ b/src/surf/instr_surf.c @@ -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); } }