repl.py
来自「M5,一个功能强大的多处理器系统模拟器.很多针对处理器架构,性能的研究都使用它作」· Python 代码 · 共 12 行
PY
12 行
from m5.SimObject import SimObjectfrom m5.params import *class Repl(SimObject): type = 'Repl' abstract = Trueclass GenRepl(Repl): type = 'GenRepl' fresh_res = Param.Int("Fresh pool residency time") num_pools = Param.Int("Number of priority pools") pool_res = Param.Int("Pool residency time")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?