Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / teshsuite / msg / energy-consumption / energy-consumption.c
index 64e0744..82d9f95 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2018. The SimGrid Team.
+/* Copyright (c) 2007-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -68,8 +68,8 @@ static int dvfs(int argc, char* argv[])
 
 int main(int argc, char* argv[])
 {
-  sg_host_energy_plugin_init();
   MSG_init(&argc, argv);
+  MSG_config("plugin", "host_energy");
 
   xbt_assert(argc == 2, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]);