Changeset 1346 for DCWoRMS/branches
- Timestamp:
- 04/01/14 15:29:07 (11 years ago)
- Location:
- DCWoRMS/branches/coolemall/src/simulator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/simulator/DataCenterWorkloadSimulator.java
r1299 r1346 245 245 } 246 246 247 WorkloadLoader workload = loadWorkload(options); 247 WorkloadLoader workload = null; 248 249 try{ 250 workload = loadWorkload(options); 251 } catch (Exception e) { 252 if (log.isErrorEnabled()) 253 log.error("ERROR while reading workload and application profiles"); 254 throw e; 255 } 248 256 249 257 // BEGIN: Initializing the GridSim: … … 272 280 ResourceReader resourceReader = new ResourceReader( 273 281 options.resdescFileName); 274 SimulatedEnvironment simEnv = resourceReader.read(); 282 SimulatedEnvironment simEnv; 283 284 try { 285 simEnv= resourceReader.read(); 286 } catch (Exception e){ 287 if (log.isErrorEnabled()) 288 log.error("ERROR while reading resource description"); 289 throw e; 290 } 275 291 276 292 eventManager = new EventManager("eventManager", simEnv); -
DCWoRMS/branches/coolemall/src/simulator/reader/ResourceReader.java
r1207 r1346 105 105 System.out.println("finished creating resource"); 106 106 107 System.out.println("started creating schedul ers");107 System.out.println("started creating scheduling entities"); 108 108 Scheduler mainScheduler = createSchedulers(env.getResources().getScheduler(), computingResources); 109 System.out.println("finished creating schedul ers");109 System.out.println("finished creating scheduling entities"); 110 110 111 111 SimulatedEnvironment simEnv = new SimulatedEnvironment(mainScheduler, computingResources);
Note: See TracChangeset
for help on using the changeset viewer.