diff options
Diffstat (limited to 'python/m5/objects/Process.py')
-rw-r--r-- | python/m5/objects/Process.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/python/m5/objects/Process.py b/python/m5/objects/Process.py new file mode 100644 index 000000000..17a66c6d9 --- /dev/null +++ b/python/m5/objects/Process.py @@ -0,0 +1,16 @@ +from m5 import * +class Process(SimObject): + type = 'Process' + abstract = True + output = Param.String('cout', 'filename for stdout/stderr') + +class LiveProcess(Process): + type = 'LiveProcess' + cmd = VectorParam.String("command line (executable plus arguments)") + env = VectorParam.String('', "environment settings") + input = Param.String('cin', "filename for stdin") + +class EioProcess(Process): + type = 'EioProcess' + chkpt = Param.String('', "EIO checkpoint file name (optional)") + file = Param.String("EIO trace file name") |