Index: DCWoRMS/branches/coolemall/example/experiment6/resources6.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/resources6.xml	(revision 764)
+++ DCWoRMS/branches/coolemall/example/experiment6/resources6.xml	(revision 883)
@@ -3,9 +3,28 @@
 	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd">
 	
+		
+	<timeEstimationPlugin>
+		<name>test.PhaseTimeEstimationPlugin</name>
+	</timeEstimationPlugin>
 	<!-- Simple data center description -->
 	<resources>
 		<computingResource class="DataCenter" name="compRes">
+			<profile>
+				<powerProfile>
+					<energyEstimationPlugin>
+						<name>example.energy.DataCenterEnergyEstimationPlugin</name>
+					</energyEstimationPlugin>				
+				</powerProfile>
+			</profile>
 			<!-- Defined data center contains only 6 processors -->
-			<computingResource class="Processor" count="6"/>
+			<computingResource class="Processor" count="6">
+				<profile>
+					<powerProfile>
+						<energyEstimationPlugin>
+							<name>example.energy.recs.ProcessorEnergyEstimationPlugin</name>
+						</energyEstimationPlugin>				
+					</powerProfile>
+				</profile>
+			</computingResource>
 		</computingResource>
 		<scheduler class="Cluster" name="cluster">
Index: DCWoRMS/branches/coolemall/example/experiment6/experiment6.properties
===================================================================
--- DCWoRMS/trunk/example/experiment6/experiment6.properties	(revision 773)
+++ DCWoRMS/branches/coolemall/example/experiment6/experiment6.properties	(revision 883)
@@ -23,4 +23,5 @@
 creatediagrams.taskswaitingtime=false
 
+creatediagrams.respowerusage=DataCenter
 # Resource utilization chart - only for processors
 #creatediagrams.resutilization=Processor
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_08.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_08.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_08.xml	(revision 883)
@@ -13,5 +13,5 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_09.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_09.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_09.xml	(revision 883)
@@ -13,5 +13,5 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/workload.swf
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/workload.swf	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/workload.swf	(revision 883)
@@ -20,13 +20,13 @@
 ;IDMapping: end
 
-		1			0			-1		7200	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
-		2			0			-1		7200	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
-		3			0			-1		7200	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
-		4			0			-1		7200	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
- 		5			0			-1		7200	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
- 		6			0			-1		10800	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
+		1			0			-1		7200	2		-1		-1		2		-1		-1		-1		-1		-1		1		1		1		-1		-1
+		2			0			-1		7200	2		-1		-1		2		-1		-1		-1		-1		-1		1		1		1		-1		-1
+		3			0			-1		7200	4		-1		-1		4		-1		-1		-1		-1		-1		1		1		1		-1		-1
+		4			0			-1		7200	2		-1		-1		2		-1		-1		-1		-1		-1		1		1		1		-1		-1
+ 		5			0			-1		7200	2		-1		-1		2		-1		-1		-1		-1		-1		1		1		1		-1		-1
+ 		6			0			-1		10800	2		-1		-1		2		-1		-1		-1		-1		-1		1		1		1		-1		-1
 ; -----------
-		7			0			-1		14400	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
+		7			0			-1		14400	2		-1		-1		2		-1		-1		-1		-1		-1		1		1		1		-1		-1
 		8			0			-1		28800	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
 		9			3600		-1		7200	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
-		10			21600		-1		21600	1		-1		-1		1		-1		-1		-1		-1		-1		1		1		1		-1		-1
+		10			21600		-1		21600	4		-1		-1		4		-1		-1		-1		-1		-1		1		1		1		-1		-1
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_00.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_00.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_00.xml	(revision 883)
@@ -1,17 +1,8 @@
 <qcgJob appId="0">
 	<task taskId="0">
-		<requirements>
-			<resourceRequirements>
-				<computingResource>
-					<hostParameter name="cpucount">
-						<value>2.0</value>
-					</hostParameter>
-				</computingResource>
-			</resourceRequirements>
-		</requirements>
 		<execution>
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +16,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_01.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_01.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_01.xml	(revision 883)
@@ -13,5 +13,5 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_02.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_02.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_02.xml	(revision 883)
@@ -10,8 +10,8 @@
 			</resourceRequirements>
 		</requirements>
-		<execution>
+			<execution>
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_03.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_03.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_03.xml	(revision 883)
@@ -10,8 +10,8 @@
 			</resourceRequirements>
 		</requirements>
-		<execution>
+			<execution>
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_04.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_04.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_04.xml	(revision 883)
@@ -10,8 +10,8 @@
 			</resourceRequirements>
 		</requirements>
-		<execution>
+			<execution>
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_05.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_05.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_05.xml	(revision 883)
@@ -13,5 +13,5 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_06.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_06.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_06.xml	(revision 883)
@@ -13,5 +13,5 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
Index: DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_07.xml
===================================================================
--- DCWoRMS/trunk/example/experiment6/workload/QcgJob_07.xml	(revision 766)
+++ DCWoRMS/branches/coolemall/example/experiment6/workload/QcgJob_07.xml	(revision 883)
@@ -13,5 +13,5 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<percentage>40</percentage>
+					<duration>PT1H</duration>
 					<behaviour name="memory">
 						<value>20</value>
@@ -25,5 +25,5 @@
 				</resourceConsumption>
 				<resourceConsumption>
-					<percentage>60</percentage>
+					<duration>PT2H</duration>
 					<behaviour name="memory">
 						<value>20</value>
