Index: DCWoRMS/branches/coolemall/example/applicationProfiles/workload/App1.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles/workload/App1.xml	(revision 1477)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles/workload/App1.xml	(revision 1480)
@@ -4,13 +4,13 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<duration>PT1H</duration>
+					<duration>PT2H</duration>
 					<behaviour name="PM_CPU_Usage">
-						<value>0.8</value>
+						<value>0.90</value>
 					</behaviour>
 				</resourceConsumption>
 				<resourceConsumption>
-					<duration>PT2H</duration>
+					<duration>PT3H</duration>
 					<behaviour name="PM_CPU_Usage">
-						<value>0.7</value>
+						<value>0.95</value>
 					</behaviour>
 				</resourceConsumption>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles/workload/App2.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles/workload/App2.xml	(revision 1477)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles/workload/App2.xml	(revision 1480)
@@ -4,13 +4,13 @@
 			<resourceConsumptionProfile>
 				<resourceConsumption>
-					<duration>PT2H</duration>
+					<duration>PT1H</duration>
 					<behaviour name="PM_CPU_Usage">
-						<value>0.90</value>
+						<value>0.8</value>
 					</behaviour>
 				</resourceConsumption>
 				<resourceConsumption>
-					<duration>PT3H</duration>
+					<duration>PT2H</duration>
 					<behaviour name="PM_CPU_Usage">
-						<value>0.95</value>
+						<value>0.7</value>
 					</behaviour>
 				</resourceConsumption>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Tasks.txt
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Tasks.txt	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Tasks.txt	(revision 1480)
@@ -0,0 +1,11 @@
+JobID;TaskID;UserDN;SchedName;CpuCnt;ExecStartDate;ExecFinishDate;ExecEndDate;GB_SubDate;LB_SubDate;CompletionTime;ExecStartTime;ExecutionTime;ReadyTime;StartTime;FlowTime;WaitingTime;GQ_WaitingTime;Lateness;Tardiness;ReservStartDate;ReservFinishDate;HostNames;ProcessorName;Energy;AppName;
+0;0;-1;cluster;-1;1225666800;1225677600;1225677600;1225666800;1225666800;10800;0;10800;0;0;10800;0;0;0;0;0;0;[];[compRes/Processor_1];0;null;
+1;0;-1;cluster;2;1225666800;1225672200;1225672200;1225666800;1225666800;5400;0;5400;0;0;5400;0;0;0;0;0;0;[];[compRes/Processor_2, compRes/Processor_3];0;null;
+2;0;-1;cluster;4;1225683000;1225685700;1225685700;1225666800;1225666800;18900;16200;2700;0;16200;18900;16200;0;0;0;0;0;[];[compRes/Processor_2, compRes/Processor_3, compRes/Processor_4, compRes/Processor_5];0;null;
+3;0;-1;cluster;2;1225666800;1225672200;1225672200;1225666800;1225666800;5400;0;5400;0;0;5400;0;0;0;0;0;0;[];[compRes/Processor_4, compRes/Processor_5];0;null;
+4;0;-1;cluster;2;1225672200;1225677600;1225677600;1225666800;1225666800;10800;5400;5400;0;5400;10800;5400;0;0;0;0;0;[];[compRes/Processor_2, compRes/Processor_3];0;null;
+5;0;-1;cluster;2;1225672200;1225677600;1225677600;1225666800;1225666800;10800;5400;5400;0;5400;10800;5400;0;0;0;0;0;[];[compRes/Processor_4, compRes/Processor_5];0;null;
+6;0;-1;cluster;2;1225677600;1225683000;1225683000;1225666800;1225666800;16200;10800;5400;0;10800;16200;10800;0;0;0;0;0;[];[compRes/Processor_2, compRes/Processor_3];0;null;
+7;0;-1;cluster;1;1225666800;1225677600;1225677600;1225666800;1225666800;10800;0;10800;0;0;10800;0;0;0;0;0;0;[];[compRes/Processor_6];0;null;
+8;0;-1;cluster;1;1225677600;1225688400;1225688400;1225670400;1225670400;21600;10800;10800;3600;7200;18000;7200;0;0;0;0;0;[];[compRes/Processor_1];0;null;
+9;0;-1;cluster;4;1225688400;1225691100;1225691100;1225688400;1225688400;24300;21600;2700;21600;0;2700;0;0;0;0;0;0;[];[compRes/Processor_1, compRes/Processor_2, compRes/Processor_3, compRes/Processor_4];0;null;
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2_result/experiment.properties
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2_result/experiment.properties	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2_result/experiment.properties	(revision 1480)
@@ -0,0 +1,27 @@
+# Use single *.swf file as workload description.
+
+# Path to xml file which describes resource characteristics.
+resdesc=example/applicationProfiles2/applicationProfiles2.xml
+
+# and swf file, which name is declared by readscenario.workloadfilename parameter.
+# Swf file must be placed in readscenario.inputfolder directory.  
+readscenario.inputfolder=example/applicationProfiles2/workload
+readscenario.workloadfilename=workload.swf
+
+# Choose directory where all result files should be placed.
+stats.outputfolder=example/applicationProfiles2_result
+
+# Define the type and content of charts to generate
+
+# Gantt chart
+creatediagrams.gantt=true
+
+# Shows the execution times of tasks
+creatediagrams.tasks=false
+
+# Shows the waiting times of tasks
+creatediagrams.taskswaitingtime=false
+
+creatediagrams.respowerusage=DataCenter
+# Resource utilization chart - only for processors
+#creatediagrams.resutilization=Processor
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_ResourceOccupancy.txt
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_ResourceOccupancy.txt	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_ResourceOccupancy.txt	(revision 1480)
@@ -0,0 +1,48 @@
+utlization;compRes;1225666800000;1;
+utlization;compRes;1225672200000;1;
+utlization;compRes;1225677600000;0.5;
+utlization;compRes;1225683000000;0.833;
+utlization;compRes;1225685700000;0.167;
+utlization;compRes;1225688400000;0.667;
+utlization;compRes;1225691100000;0;
+mean: 0.7407407407407407
+utlization;compRes/Processor_1;1225666800000;1;
+utlization;compRes/Processor_1;1225677600000;1;
+utlization;compRes/Processor_1;1225688400000;1;
+utlization;compRes/Processor_1;1225691100000;0;
+mean: 1.0
+utlization;compRes/Processor_2;1225666800000;1;
+utlization;compRes/Processor_2;1225672200000;1;
+utlization;compRes/Processor_2;1225677600000;1;
+utlization;compRes/Processor_2;1225683000000;1;
+utlization;compRes/Processor_2;1225685700000;0;
+utlization;compRes/Processor_2;1225688400000;1;
+utlization;compRes/Processor_2;1225691100000;0;
+mean: 0.8888888888888888
+utlization;compRes/Processor_3;1225666800000;1;
+utlization;compRes/Processor_3;1225672200000;1;
+utlization;compRes/Processor_3;1225677600000;1;
+utlization;compRes/Processor_3;1225683000000;1;
+utlization;compRes/Processor_3;1225685700000;0;
+utlization;compRes/Processor_3;1225688400000;1;
+utlization;compRes/Processor_3;1225691100000;0;
+mean: 0.8888888888888888
+utlization;compRes/Processor_4;1225666800000;1;
+utlization;compRes/Processor_4;1225672200000;1;
+utlization;compRes/Processor_4;1225677600000;0;
+utlization;compRes/Processor_4;1225683000000;1;
+utlization;compRes/Processor_4;1225685700000;0;
+utlization;compRes/Processor_4;1225688400000;1;
+utlization;compRes/Processor_4;1225691100000;0;
+mean: 0.6666666666666667
+utlization;compRes/Processor_5;1225666800000;1;
+utlization;compRes/Processor_5;1225672200000;1;
+utlization;compRes/Processor_5;1225677600000;0;
+utlization;compRes/Processor_5;1225683000000;1;
+utlization;compRes/Processor_5;1225685700000;0;
+utlization;compRes/Processor_5;1225691100000;0;
+mean: 0.5555555555555556
+utlization;compRes/Processor_6;1225666800000;1;
+utlization;compRes/Processor_6;1225677600000;0;
+utlization;compRes/Processor_6;1225691100000;0;
+mean: 0.4444444444444444
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Jobs.txt
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Jobs.txt	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Jobs.txt	(revision 1480)
@@ -0,0 +1,11 @@
+jobID;meanTaskCompletionTime;meanTaskExecutionTime;meanTaskStartTime;meanTaskFlowTime;meanTaskWaitingTime;meanTaskGQ_WaitingTime;lateness;tardiness;makespan;
+0;10,800;10,800;0;10,800;0;0;0;0;10,800;
+1;5,400;5,400;0;5,400;0;0;0;0;5,400;
+2;18,900;2,700;16,200;18,900;16,200;0;0;0;18,900;
+3;5,400;5,400;0;5,400;0;0;0;0;5,400;
+4;10,800;5,400;5,400;10,800;5,400;0;0;0;10,800;
+5;10,800;5,400;5,400;10,800;5,400;0;0;0;10,800;
+6;16,200;5,400;10,800;16,200;10,800;0;0;0;16,200;
+7;10,800;10,800;0;10,800;0;0;0;0;10,800;
+8;21,600;10,800;7,200;18,000;7,200;0;0;0;21,600;
+9;24,300;2,700;0;2,700;0;0;0;0;24,300;
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_EnergyUsage.txt
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_EnergyUsage.txt	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_EnergyUsage.txt	(revision 1480)
@@ -0,0 +1,3 @@
+powerConsumption;compRes;1225666800000;0;
+powerConsumption;compRes;1225691100000;0;
+mean: 0.0 sum: 0.0
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_ResourceUtilization.txt
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_ResourceUtilization.txt	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_ResourceUtilization.txt	(revision 1480)
@@ -0,0 +1,37 @@
+utlization;compRes;1225666800000;1;
+utlization;compRes;1225677600000;0.5;
+utlization;compRes;1225683000000;0.833;
+utlization;compRes;1225685700000;0.167;
+utlization;compRes;1225688400000;0.667;
+utlization;compRes;1225691100000;0;
+mean: 0.7407407407407407
+utlization;compRes/Processor_1;1225666800000;1;
+utlization;compRes/Processor_1;1225691100000;0;
+mean: 1.0
+utlization;compRes/Processor_2;1225666800000;1;
+utlization;compRes/Processor_2;1225685700000;0;
+utlization;compRes/Processor_2;1225688400000;1;
+utlization;compRes/Processor_2;1225691100000;0;
+mean: 0.8888888888888888
+utlization;compRes/Processor_3;1225666800000;1;
+utlization;compRes/Processor_3;1225685700000;0;
+utlization;compRes/Processor_3;1225688400000;1;
+utlization;compRes/Processor_3;1225691100000;0;
+mean: 0.8888888888888888
+utlization;compRes/Processor_4;1225666800000;1;
+utlization;compRes/Processor_4;1225677600000;0;
+utlization;compRes/Processor_4;1225683000000;1;
+utlization;compRes/Processor_4;1225685700000;0;
+utlization;compRes/Processor_4;1225688400000;1;
+utlization;compRes/Processor_4;1225691100000;0;
+mean: 0.6666666666666667
+utlization;compRes/Processor_5;1225666800000;1;
+utlization;compRes/Processor_5;1225677600000;0;
+utlization;compRes/Processor_5;1225683000000;1;
+utlization;compRes/Processor_5;1225685700000;0;
+utlization;compRes/Processor_5;1225691100000;0;
+mean: 0.5555555555555556
+utlization;compRes/Processor_6;1225666800000;1;
+utlization;compRes/Processor_6;1225677600000;0;
+utlization;compRes/Processor_6;1225691100000;0;
+mean: 0.4444444444444444
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Simulation.txt
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Simulation.txt	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2_result/Stats_Simulation_1_Simulation.txt	(revision 1480)
@@ -0,0 +1,14 @@
+Resource name;mean;stdev;variance;minimum;maximum;sum;count;
+Delayed tasks;0;0;0;0;0;0;1;
+Failed requests (tasks);0;0;0;0;0;0;1;
+Makespan;24,300;0;0;24,300;24,300;24,300;1;
+Resources queue length;1.704;0;0;1.704;1.704;1.704;1;
+Resources total load;0.741;0;0;0.741;0.741;0.741;1;
+Energy usage;0;0;0;0;0;0;1;
+Task completion time;13,500;6,156.947;37,908,000;5,400;24,300;135,000;10;
+Task execution time;6,480;3,006.593;9,039,600;2,700;10,800;64,800;10;
+Task start time;4,500;5,354.811;28,674,000;0;16,200;45,000;10;
+Task flow time;10,980;5,198.23;27,021,600;2,700;18,900;109,800;10;
+Task waiting time;4,500;5,354.811;28,674,000;0;16,200;45,000;10;
+Task lateness;0;0;0;0;0;0;10;
+Task tardiness;0;0;0;0;0;0;10;
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/applicationProfiles2.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/applicationProfiles2.xml	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/applicationProfiles2.xml	(revision 1480)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCwormsResSchema.xsd">
+	
+		
+	<timeEstimationPlugin>
+		<name>example.timeestimation.coolemall.PhaseBasedTimeEstimationPlugin</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">
+				<profile>
+					<powerProfile>
+						<energyEstimationPlugin>
+							<name>example.energy.coolemall.ProcessorEnergyEstimationPlugin</name>
+						</energyEstimationPlugin>				
+					</powerProfile>
+				</profile>
+			</computingResource>
+		</computingResource>
+		<scheduler class="Cluster" name="cluster">
+			<!-- Definition of scheduling plugin at cluster level -->
+			<schedulingPlugin>
+				<name>example.localplugin.FCFSBF_LocalPlugin</name>
+			</schedulingPlugin>	
+			<!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
+			<managedComputingResources include="false">
+				<resourceName>compRes</resourceName>
+			</managedComputingResources>
+		</scheduler>	
+	</resources>
+
+</environment>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_08.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_08.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_08.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="8">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>1.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_09.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_09.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_09.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="9">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>4.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/workload.swf
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/workload.swf	(revision 883)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/workload.swf	(revision 883)
@@ -0,0 +1,32 @@
+;Automatically generated workload description by the Grid Scheduling Simulator
+;		j|		s|		w|		r|		c|		c|		m|		p|		t|		m|		s|		u|		g|		e|		q|		p|		p|		t|
+;		o|		u|		a|		u|		p|		p|		e|		r|		i|		e|		t|		i|		i|		x|		u|		a|		r|		h|
+;		b|		b|		i|		n|		u|		u|		m|		o|		m|		m|		a|		d|		d|		e|		e|		r|		e|		i|
+;		 |		m|		t|		t|		 |		 |		 |		c|		e|		 |		t|		 |		 |		c|		u|		t|		c|		n|
+;		 |		i|		 |		i|		a|		t|		u|		 |		 |		r|		u|		 |		 |		u|		e|		i|		 |		k|
+;		 |		t|		 |		m|		l|		i|		s|		r|		r|		e|		s|		 |		 |		t|		 |		t|		j|		 |
+;		 |		 |		 |		e|		l|		m|		e|		e|		e|		q|		 |		 |		 |		a|		n|		i|		o|		t|
+;		 |		 |		 |		 |		o|		e|		d|		q|		q|		 |		 |		 |		 |		b|		r|		o|		b|		i|
+;		 |		 |		 |		 |		c|		 |		 |		 |		 |		 |		 |		 |		 |		l|		 |		n|		 |		m|
+;		 |		 |		 |		 |		 |		 |		 |		 |		 |		 |		 |		 |		 |		e|		 |		 |		 |		e|
+;StartTime: Mon Nov 03 00:00:00 CET 2008
+;PUSpeed: 1
+
+
+;IDMapping: swfID:jobID:taskID
+; 1:0:0, 2:1:0, 3:2:0, 4:3:0, 
+; 5:4:0, 6:5:0, 7:6:0, 8:7:0,
+; 9:8:0, 10:9:0, 
+;IDMapping: end
+
+		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	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	4		-1		-1		4		-1		-1		-1		-1		-1		1		1		1		-1		-1
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_00.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_00.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_00.xml	(revision 1137)
@@ -0,0 +1,32 @@
+<job id="0">
+	<task id="0">
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_01.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_01.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_01.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="1">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>2.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_02.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_02.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_02.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="2">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>4.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+			<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_03.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_03.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_03.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="3">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>2.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+			<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_04.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_04.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_04.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="4">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>2.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+			<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_05.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_05.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_05.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="5">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>2.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_06.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_06.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_06.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="6">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>2.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_07.xml
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_07.xml	(revision 1137)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/workload/QcgJob_07.xml	(revision 1137)
@@ -0,0 +1,41 @@
+<job id="7">
+	<task id="0">
+		<requirements>
+			<resourceRequirements>
+				<computingResource>
+					<hostParameter name="cpucount">
+						<value>1.0</value>
+					</hostParameter>
+				</computingResource>
+			</resourceRequirements>
+		</requirements>
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<duration>PT1H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>10</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>10</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<duration>PT2H</duration>
+					<behaviour name="memory">
+						<value>20</value>
+					</behaviour>
+					<behaviour name="net">
+						<value>0</value>
+					</behaviour>
+					<behaviour name="cpu">
+						<value>90</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/applicationProfiles2.properties
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/applicationProfiles2.properties	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/applicationProfiles2.properties	(revision 1480)
@@ -0,0 +1,27 @@
+# Use single *.swf file as workload description.
+
+# Path to xml file which describes resource characteristics.
+resdesc=example/applicationProfiles2/applicationProfiles2.xml
+
+# and swf file, which name is declared by readscenario.workloadfilename parameter.
+# Swf file must be placed in readscenario.inputfolder directory.  
+readscenario.inputfolder=example/applicationProfiles2/workload
+readscenario.workloadfilename=workload.swf
+
+# Choose directory where all result files should be placed.
+stats.outputfolder=example/applicationProfiles2_result
+
+# Define the type and content of charts to generate
+
+# Gantt chart
+creatediagrams.gantt=true
+
+# Shows the execution times of tasks
+creatediagrams.tasks=false
+
+# Shows the waiting times of tasks
+creatediagrams.taskswaitingtime=false
+
+creatediagrams.respowerusage=DataCenter
+# Resource utilization chart - only for processors
+#creatediagrams.resutilization=Processor
Index: DCWoRMS/branches/coolemall/example/applicationProfiles2/RunExperiment.java
===================================================================
--- DCWoRMS/branches/coolemall/example/applicationProfiles2/RunExperiment.java	(revision 1480)
+++ DCWoRMS/branches/coolemall/example/applicationProfiles2/RunExperiment.java	(revision 1480)
@@ -0,0 +1,20 @@
+package applicationProfiles2;
+
+import simulator.DataCenterWorkloadSimulator;
+
+
+public class RunExperiment {
+	
+	public static void main(String args[]){
+		RunExperiment runner = new RunExperiment();
+		runner.run();
+	}
+	
+	public void run(){
+		String args[] = {
+				"example/applicationProfiles2/applicationProfiles2.properties"
+				};
+		DataCenterWorkloadSimulator.main(args);
+	}
+
+}
