Changeset 1140 for DCWoRMS/branches/coolemall/src/simulator/stats/implementation/out/CoolEmAllStringSerializer.java
- Timestamp:
- 07/15/13 17:18:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/simulator/stats/implementation/out/CoolEmAllStringSerializer.java
r1096 r1140 104 104 buffer.append(nodeMetricName); 105 105 buffer.append(fieldSeparator); 106 buffer.append(resourceEnergyStats.getResourceName()); 106 if(resourceEnergyStats.getResourceName().startsWith("/")) 107 buffer.append(resourceEnergyStats.getResourceName().substring(1)); 108 else buffer.append(resourceEnergyStats.getResourceName()); 107 109 buffer.append(fieldSeparator); 108 110 Double value = resourceEnergy.get(timestamp); … … 158 160 buffer.append(nodeMetricName); 159 161 buffer.append(fieldSeparator); 160 buffer.append(resourceAirFlowStats.getResourceName()); 162 if(resourceAirFlowStats.getResourceName().startsWith("/")) 163 buffer.append(resourceAirFlowStats.getResourceName().substring(1)); 164 else buffer.append(resourceAirFlowStats.getResourceName()); 161 165 buffer.append(fieldSeparator); 162 166 Double value = resourceAirFlow.get(timestamp);
Note: See TracChangeset
for help on using the changeset viewer.