]> AND Public Git Repository - simgrid.git/blobdiff - examples/java/surfCpuModel/TestCpuModel.java
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / examples / java / surfCpuModel / TestCpuModel.java
index 91345fdb815a45a642f1a12521c784f75d55639c..5dc900f94549a90119a58e2a49064d353f041107 100644 (file)
@@ -21,12 +21,10 @@ public class TestCpuModel {
 
   public static void main(String[] args) throws NativeException {
     /* initialize the MSG simulation. Must be done before anything else (even logging). */
-    CpuModel cm = new CpuConstantModel();
+    CpuConstantModel cm = new CpuConstantModel();
     Surf.setCpuModel(cm);
-    //Msg.info(Surf.getCpuModel().getName());
-    //Msg.info(cm.getName());
+
     Msg.init(args);
-    //Msg.info("Cpu Loaded: "+Surf.getCpuModel().getName());
 
     if(args.length < 2) {
       Msg.info("Usage   : TestPlugin platform_file deployment_file");
@@ -37,10 +35,8 @@ public class TestCpuModel {
     /* construct the platform and deploy the application */
     Msg.createEnvironment(args[0]);
     Msg.deployApplication(args[1]);
-    //Msg.info("Cpu Loaded: "+Surf.getCpuModel().getName());
-    //Msg.info("Cpu Loaded: "+cm.getName());
+    Msg.info("Cpu Loaded: "+Surf.getCpuModel().getName());
 
-    // getName());
     /*  execute the simulation. */
     Msg.run();
   }