页面置换算法代码,语言采用c++。实现了FIFO算法,LRU算法,其中,LRU采用经典的LRU算法,由于该算法占用资源较大,多数OS采用改进的LRU算法.-pages replacement algorithm code language used c. To achieve the FIFO algorithm, the LRU algorithm, which, the LRU is a classical LRU algorithm, the algorithm occupy larger resources, the majority of the improved OS LRU algorithm.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001308s ]
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.087364s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001598s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001895s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001671s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.005505s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001350s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.005766s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.033035s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001636s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 66034 [ RunTime:0.017884s ]