src/cpu/checker/cpu.hh: Don't count checker's instructions towards total instructions committed. src/python/m5/objects/Root.py: Set default clock to 1 THz. --HG-- extra : convert_revision : 0b5eaa197c860c361a3b00087e45ddc249ff1918
24 lines
901 B
Python
24 lines
901 B
Python
from m5.config import *
|
|
from Serialize import Serialize
|
|
from Statistics import Statistics
|
|
from Trace import Trace
|
|
from ExeTrace import ExecutionTrace
|
|
from Debug import Debug
|
|
|
|
class Root(SimObject):
|
|
type = 'Root'
|
|
clock = Param.RootClock('1THz', "tick frequency")
|
|
max_tick = Param.Tick('0', "maximum simulation ticks (0 = infinite)")
|
|
progress_interval = Param.Tick('0',
|
|
"print a progress message every n ticks (0 = never)")
|
|
output_file = Param.String('cout', "file to dump simulator output to")
|
|
checkpoint = Param.String('', "checkpoint file to load")
|
|
# stats = Param.Statistics(Statistics(), "statistics object")
|
|
# trace = Param.Trace(Trace(), "trace object")
|
|
# serialize = Param.Serialize(Serialize(), "checkpoint generation options")
|
|
stats = Statistics()
|
|
trace = Trace()
|
|
exetrace = ExecutionTrace()
|
|
serialize = Serialize()
|
|
debug = Debug()
|