Changeset 493 for DCWoRMS/trunk/src/simulator
- Timestamp:
- 10/09/12 14:38:34 (13 years ago)
- Location:
- DCWoRMS/trunk/src/simulator
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/simulator/ConfigurationOptions.java
r490 r493 76 76 public static final String JOBS_STATISTICS = CREATESTATISTICS + ".jobs"; 77 77 public static final String SIMULATION_STATISTICS = CREATESTATISTICS + ".simulation"; 78 public static final String FORMAT_STATISTICS_OUTPUT = CREATESTATISTICS + ".formatoutput";79 78 80 79 /** … … 172 171 public boolean createjobsstatistics = true; 173 172 public boolean createsimulationstatistics = true; 174 public boolean formatstatisticsoutput = false;175 173 176 174 public String[] resForEnergyChart; … … 350 348 co.createsimulationstatistics = true; 351 349 } 352 try { 353 co.formatstatisticsoutput = Boolean.valueOf( 354 bundle.getString(FORMAT_STATISTICS_OUTPUT)).booleanValue(); 355 } catch(MissingResourceException e){ 356 co.formatstatisticsoutput = false; 357 } 358 350 359 351 try { 360 352 co.numberOfSimulations = Integer.valueOf(bundle.getString(NUMBER_OF_SIMULATIONS)).intValue(); -
DCWoRMS/trunk/src/simulator/DCWormsUsers.java
r490 r493 8 8 import gridsim.GridSimTags; 9 9 import gridsim.IO_data; 10 import gridsim. gssim.DCWormsTags;10 import gridsim.dcworms.DCWormsTags; 11 11 import gridsim.net.InfoPacket; 12 12 -
DCWoRMS/trunk/src/simulator/DataCenterWorkloadSimulator.java
r481 r493 1 1 package simulator; 2 2 3 //import eduni.cloudsim.GSSIM;4 3 import java.io.File; 5 4 import java.io.FileReader; … … 117 116 @Override 118 117 public String getDescription() { 119 return " WoRMS experiment file";118 return "DCWoRMS experiment file"; 120 119 } 121 120 }; -
DCWoRMS/trunk/src/simulator/stats/implementation/DCWormsStatistics.java
r490 r493 161 161 this.outputFolderName = outputFolderName; 162 162 163 if (this.configuration.formatstatisticsoutput) 164 this.serializer = new FormatedStringSerializer(); 165 else 166 this.serializer = new StringSerializer(); 163 164 this.serializer = new StringSerializer(); 167 165 168 166 this.serializer.setDefaultNumberFormat(DataCenterWorkloadSimulator.DFAULT_NUMBER_FORMAT);
Note: See TracChangeset
for help on using the changeset viewer.