Ignore:
Timestamp:
04/11/12 16:30:38 (13 years ago)
Author:
piontek
Message:
 
Location:
xssim/branches/tpiontek/src/simulator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xssim/branches/tpiontek/src/simulator/GridSchedulingSimulator.java

    r159 r241  
    292292                }; 
    293293 
    294                 File tarArchive = new File(outputDir, "results.tar"); 
     294                /*File tarArchive = new File(outputDir, "results.tar"); 
    295295 
    296296                File networkTopologyFile = (configurationOptions.networkTopologyFileName == null) ? null 
     
    302302                } catch (IOException e) { 
    303303                        log.error("IOException occured while creating archive file", e); 
    304                 } 
    305         } 
     304                }*/     } 
    306305 
    307306        public void runMultiuser(String rootDirPath, GridSchedulingSimulator gssim) { 
  • xssim/branches/tpiontek/src/simulator/stats/implementation/GSSimStatistics.java

    r233 r241  
    326326                                                if (resourceLoadStatsFile != null) { 
    327327                                                        Object txt = resourceUsage.serialize(serializer); 
    328                                                         resourceLoadStatsFile.println(txt); 
     328                                                        if( resType == ResourceType.DATA_CENTER) 
     329                                                                resourceLoadStatsFile.println(txt); 
    329330                                                } 
    330331                                        } 
     
    340341                                                if (energyStatsFile != null) { 
    341342                                                        Object txt = energyUsage.serialize(serializer); 
    342                                                         energyStatsFile.println(txt); 
     343                                                        if( resType == ResourceType.DATA_CENTER) 
     344                                                                energyStatsFile.println(txt); 
    343345                                                } 
    344346                                        } 
Note: See TracChangeset for help on using the changeset viewer.