gem5/src/base/vnc
Andreas Sandberg 5383e1ada4 base: Add support for changing output directories
This changeset adds support for changing the simulator output
directory. This can be useful when the simulation goes through several
stages (e.g., a warming phase, a simulation phase, and a verification
phase) since it allows the output from each stage to be located in a
different directory. Relocation is done by calling core.setOutputDir()
from Python or simout.setOutputDirectory() from C++.

This change affects several parts of the design of the gem5's output
subsystem. First, files returned by an OutputDirectory instance (e.g.,
simout) are of the type OutputStream instead of a std::ostream. This
allows us to do some more book keeping and control re-opening of files
when the output directory is changed. Second, new subdirectories are
OutputDirectory instances, which should be used to create files in
that sub-directory.

Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
[sascha.bischoff@arm.com: Rebased patches onto a newer gem5 version]
Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
2015-11-27 14:41:59 +00:00
..
SConscript base: Redesign internal frame buffer handling 2015-05-23 13:37:03 +01:00
Vnc.py sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
vncinput.cc base: Add support for changing output directories 2015-11-27 14:41:59 +00:00
vncinput.hh base: Add support for changing output directories 2015-11-27 14:41:59 +00:00
vncserver.cc base: Redesign internal frame buffer handling 2015-05-23 13:37:03 +01:00
vncserver.hh misc: Remove redundant compiler-specific defines 2015-10-12 04:07:59 -04:00