Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix that java example
[simgrid.git] / examples / deprecated / java / energy / consumption / EnergyConsumer.java
index 59604a5..e726ce1 100644 (file)
@@ -18,7 +18,7 @@ public class EnergyConsumer extends Process {
   }
 
   public void main(String[] args) throws MsgException {
-     Msg.info("Energetic profile: " + getHost().getProperty("watt_per_state"));
+     Msg.info("Energetic profile: " + getHost().getProperty("wattage_per_state"));
      Msg.info("Initial peak speed= " + getHost().getSpeed() + " flop/s; Energy dissipated = "
               + getHost().getConsumedEnergy() + " J");