X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f2df13795e01302813a6aef10825ec7e922ce530..b3b356352e87ae00a20f737c48e19b0c8413455a:/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());