X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f60fc94d76d2d26a2b62650c4e923824169349a4..1de2cea69ed077bfc9b387814f95dc35db3083dc:/examples/smpi/energy/se.c diff --git a/examples/smpi/energy/se.c b/examples/smpi/energy/se.c index 2c4571a89a..be95ba91ad 100644 --- a/examples/smpi/energy/se.c +++ b/examples/smpi/energy/se.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* Copyright (c) 2013-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "%s%s\n", buf, (sz ? "" : " [...]")); for (i = 0; i < pstates; i++) { - smpi_set_host_power_peak_at(i); + smpi_set_host_pstate(i); fprintf(stderr, "[%.6f] [rank %d] Current pstate: %d; Current power: %.0f\n", MPI_Wtime(), rank, i, smpi_get_host_current_power_peak());