Пример #1
0
        public void displaySJF_P()
        {
            int num = myScheduling.getNumberProcess();

            for (int i = 0; i < num; i++)
            {
                processWaitingTime[i].Text    = myScheduling.waitingTime_SJF_P[i].ToString();
                processTurnaroundTime[i].Text = myScheduling.turnAroundTime_SJF_P[i].ToString();
            }
            lbl_avg_waitingTime.Text = "" + myScheduling.getAVG_waitingTimeSJF_P().ToString("0.00");
            lbl_contextSwitch.Text   = "" + myScheduling.getContextSwitch_SJF_P();
        }