X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/47d230829f5847d1aed4f7aeb70ecee7a38e590d..a2d16cd78c8d1a779948aa69d6e396028c788a5e:/examples/c/actor-migrate/actor-migrate.c diff --git a/examples/c/actor-migrate/actor-migrate.c b/examples/c/actor-migrate/actor-migrate.c index 7b03e0fd0f..ec4e098b19 100644 --- a/examples/c/actor-migrate/actor-migrate.c +++ b/examples/c/actor-migrate/actor-migrate.c @@ -19,7 +19,7 @@ static void worker(int argc, char* argv[]) sg_host_t first = sg_host_by_name(argv[1]); const_sg_host_t second = sg_host_by_name(argv[2]); - double flopAmount = sg_host_speed(first) * 5 + sg_host_speed(second) * 5; + double flopAmount = sg_host_get_speed(first) * 5 + sg_host_get_speed(second) * 5; XBT_INFO("Let's move to %s to execute %.2f Mflops (5sec on %s and 5sec on %s)", argv[1], flopAmount / 1e6, argv[1], argv[2]);