-/* 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
{
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));