intervalstats.py
来自「linux下基于c++的处理器仿真平台。具有处理器流水线」· Python 代码 · 共 12 行
PY
12 行
from m5 import *class IntervalStats(ParamContext): type = 'IntervalStats' file = Param.String("output file for interval statistics") exit_when_done = Param.Bool("exit after last cycle interval") enable_stat_triggers = Param.Bool("stats dump instruction triggers") cycle = Param.Counter("dump statistics every 'n' cycles") range = Param.Range(Range(0,0), "cycle range to dump") stats = VectorParam.String("statistics to dump") if False: inst = Param.Counter("dump statistics every 'n' instructions");
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?