Package jmt.jmarkov

Examples of jmt.jmarkov.Job


        // lambda is zero
        sim.setLambdaZero(true);
        return;
      }
      jobIdCounter++;
      Job job = new Job(jobIdCounter, currentTime);
      job.setEnteringQueueTime(interarrivalTime + currentTime);
      sim.enqueueJob(job);
    }
  }
View Full Code Here


  public void process(double currentTime) {
    try {
      if (!this.isProcessing()) {
        if (!q.isEmpty()) {
          Job job = q.removeFromQueue();
          double rt = getExecutionTime();
          notifyGraphics("enterCpu", job.getJobId(), currentTime, rt);
          job.setEnteringCpuTime(currentTime, this);
          job.setSystemExitTime(currentTime + rt);
          sim.enqueueJob(job);
          setProcessing(true);
          processingJob = job;
        }
      }
View Full Code Here

TOP

Related Classes of jmt.jmarkov.Job

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.