采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改。-priority number using the static method, the preparation process of scheduling a process simulation program, the process in place for the state, running, blocking three.PCBPCBPCB
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001023s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.085948s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001115s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001433s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001094s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003259s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000872s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003620s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015247s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001116s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 125643 [ RunTime:0.015177s ]