public void lifeCycle() {

		int loop = 1;
		while(true){
			double time = MonitorSysSim.getTaskArrivalTime();
			hold(new TimeSpan(time));
			for(int i = 0; i < 4 ; i++){
				totalQuc[i] += MonitorSysSim.getQuc(totalVolume[i], i);
				switch(i){
				case DISK:
					lossQuc[i] += MonitorSysSim.getQuc(lossVolume[i] * loop, i);	
					loop ++;
					break;
				case NETWORK:
					lossQuc[i] += MonitorSysSim.getQuc(lossVolume[i] / time , i);
				default:
					lossQuc[i] += MonitorSysSim.getQuc(lossVolume[i], i);	
				}
			}
		}
		
	}