Ignore:
Timestamp:
10/09/12 14:38:34 (13 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/trunk/src/simulator
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/simulator/ConfigurationOptions.java

    r490 r493  
    7676        public static final String JOBS_STATISTICS = CREATESTATISTICS + ".jobs"; 
    7777        public static final String SIMULATION_STATISTICS = CREATESTATISTICS + ".simulation"; 
    78         public static final String FORMAT_STATISTICS_OUTPUT = CREATESTATISTICS + ".formatoutput"; 
    7978         
    8079        /** 
     
    172171        public boolean createjobsstatistics = true; 
    173172        public boolean createsimulationstatistics = true; 
    174         public boolean formatstatisticsoutput = false; 
    175173         
    176174        public String[] resForEnergyChart; 
     
    350348                        co.createsimulationstatistics = true; 
    351349                } 
    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 
    359351                try { 
    360352                        co.numberOfSimulations = Integer.valueOf(bundle.getString(NUMBER_OF_SIMULATIONS)).intValue(); 
  • DCWoRMS/trunk/src/simulator/DCWormsUsers.java

    r490 r493  
    88import gridsim.GridSimTags; 
    99import gridsim.IO_data; 
    10 import gridsim.gssim.DCWormsTags; 
     10import gridsim.dcworms.DCWormsTags; 
    1111import gridsim.net.InfoPacket; 
    1212 
  • DCWoRMS/trunk/src/simulator/DataCenterWorkloadSimulator.java

    r481 r493  
    11package simulator; 
    22 
    3 //import eduni.cloudsim.GSSIM; 
    43import java.io.File; 
    54import java.io.FileReader; 
     
    117116                                @Override 
    118117                                public String getDescription() { 
    119                                         return "WoRMS experiment file"; 
     118                                        return "DCWoRMS experiment file"; 
    120119                                } 
    121120                        }; 
  • DCWoRMS/trunk/src/simulator/stats/implementation/DCWormsStatistics.java

    r490 r493  
    161161                this.outputFolderName = outputFolderName; 
    162162 
    163                 if (this.configuration.formatstatisticsoutput) 
    164                         this.serializer = new FormatedStringSerializer(); 
    165                 else 
    166                         this.serializer = new StringSerializer(); 
     163 
     164                this.serializer = new StringSerializer(); 
    167165 
    168166                this.serializer.setDefaultNumberFormat(DataCenterWorkloadSimulator.DFAULT_NUMBER_FORMAT); 
Note: See TracChangeset for help on using the changeset viewer.