X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/examples/s4u/energy-exec-ptask/s4u-energy-exec-ptask.cpp diff --git a/examples/s4u/energy-exec-ptask/s4u-energy-exec-ptask.cpp b/examples/s4u/energy-exec-ptask/s4u-energy-exec-ptask.cpp index dfba87ae04..ebc5f78ee0 100644 --- a/examples/s4u/energy-exec-ptask/s4u-energy-exec-ptask.cpp +++ b/examples/s4u/energy-exec-ptask/s4u-energy-exec-ptask.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -134,8 +134,7 @@ int main(int argc, char* argv[]) { sg_host_energy_plugin_init(); simgrid::s4u::Engine e(&argc, argv); - e.set_config("host/model:ptask_L07"); - //xbt_log_control_set("surf_energy.thresh:debug"); + simgrid::s4u::Engine::set_config("host/model:ptask_L07"); xbt_assert(argc == 2, "Usage: %s platform_file\n\tExample: %s ../platforms/energy_platform.xml\n", argv[0], argv[0]);