/* * PriorityInfo.java (Is Used to give information about the Priority * Jobs in the dispatcher) * * Written by : Nitin Motgi (nmotgi@cs.ucf.edu) * * This file provides the data structure and mechanism to access contents * of job object created within dispatcher. * * Portions copyright (c) 2001 to School of Electrical Engineering and * Computer science, UCF. * * Use and distribution of this source code are strictly governed by * terms and condition of the author. * * $Id : PriorityInfo.java, v1.0 02/04/2001. $ * * Revision History. * 1. Created Basic Method, $Id: v1.0.0 02/04/2001. * */ /* These values are used to pass information from dispatcher to the Scheduler during printing of statistics.*/ public class PriorityInfo{ /* assignment of variables to the job they are doing is self explanatory.*/ public int nJobCount; public long lJobWaitTime; public long lCPUTime; public double rCPUUtil; /* Utilisation.*/ public double rIOUtil; public double rWaitUtil; public long lTotalTime; /************************************************************************ * Default constructor. */ public PriorityInfo(){ nJobCount = 0; lTotalTime = 0; lJobWaitTime = 0; lCPUTime = 0; rCPUUtil = 0.0; rIOUtil = 0.0; rWaitUtil = 0.0; }/* End of default constructor.*/ }/* End of PriorityInfo.*/