-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/3279/#review8028
-----------------------------------------------------------

Ship it!


Ship It!

- Jason Lowe-Power


On Jan. 14, 2016, 6:31 p.m., Andreas Sandberg wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.gem5.org/r/3279/
> -----------------------------------------------------------
> 
> (Updated Jan. 14, 2016, 6:31 p.m.)
> 
> 
> Review request for Default.
> 
> 
> Repository: gem5
> 
> 
> Description
> -------
> 
> Changeset 11299:a3879dcefc27
> ---------------------------
> sim: Add support for forking
> 
> This changeset adds forking capabilities to the gem5 python scripts. A fork
> method is added to simulate.py. This method is responsible for forking the
> simulator itself, and will direct all output files to a new output directory
> based on the fork sequence number. The default name of the output directory is
> the same as the parent with the suffix ".fN" added where N is the fork 
> sequence
> number. The fork method provides the option to specify if the system should be
> drained prior to forking, or not. By default the system is drained to ensure
> that there are no in-flight transactions.
> 
> When forking the simulator, the fork method returns the PID of the child
> process, or returns 0 if running in the child. This is in line with the 
> standard
> Python forking interface.
> 
> Signed-off-by: Andreas Sandberg <[email protected]>
> [[email protected]: Rebased patches onto a newer gem5 version]
> Signed-off-by: Sascha Bischoff <[email protected]>
> [[email protected]: Updated to comply with modern draining semantics ]
> Signed-off-by: Andreas Sandberg <[email protected]>
> 
> 
> Diffs
> -----
> 
>   src/python/m5/simulate.py 14029d75688d 
>   src/python/swig/core.i 14029d75688d 
> 
> Diff: http://reviews.gem5.org/r/3279/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andreas Sandberg
> 
>

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to