]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/msg/energy-consumption/energy-consumption.c
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 aca6082cca4b581424d2d34fff463afc5624e128..e6b525c0a0c11606953f253991f93ea88d743e0b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2019. The SimGrid Team.
+/* Copyright (c) 2007-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -13,7 +13,7 @@ static int dvfs(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   msg_host_t host = MSG_host_by_name("MyHost1");
 
-  XBT_INFO("Energetic profile: %s", MSG_host_get_property_value(host, "watt_per_state"));
+  XBT_INFO("Energetic profile: %s", MSG_host_get_property_value(host, "wattage_per_state"));
   XBT_INFO("Initial peak speed=%.0E flop/s; Energy dissipated =%.0E J", MSG_host_get_speed(host),
            sg_host_get_consumed_energy(host));