📄 fifo.h
字号:
#ifndef FIFO_ZHUBICEN
#define FIFO_ZHUBICEN
#include "simulator.h"
class fifo:public simulator
{
protected:
queue<event> waiting;
priority_queue<event> priority_waiting;
void simulate_arbitrary(string file);
void simulate_bigfirst(string file);
//virtual void load
public:
fifo(int seconds_per_page);
virtual void simulate(string file);
};
//overload operator < to use the priority_queue
bool operator < (event evtleft,event evtright);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -