Description: 进程调度算法FCFS+SJF模拟。编写FCFS+SJF算法,输入一组若干个进程的调度信息,输出根据先来先服务和短进程优先算法的调度结果。(提示:短进程优先算法仅在进程的到达时间一样时,才启用)。完成源程序 os.cpp中fcfs_sjf函数的编写。提醒:每个输出数据之前输出1个‘\t’。-Process scheduling algorithm FCFS+ SJF simulation. Write FCFS+ SJF algorithm, enter a number of process scheduling information, the output based on first come first served and a short process priority scheduling algorithm results. (Hint: first algorithm is only a short process in the process as the arrival time only when enabled). Complete source os.cpp fcfs_sjf function in the preparation. Reminder: Before each output data output a ' \ t' . Platform: |
Size: 1024 |
Author:fuyuqi |
Hits: