diff options
author | Chris Emmons <chris.emmons@arm.com> | 2011-12-01 00:15:26 -0800 |
---|---|---|
committer | Chris Emmons <chris.emmons@arm.com> | 2011-12-01 00:15:26 -0800 |
commit | 9aea847f5891214f456cc9d6e173d7fbb1a30c0a (patch) | |
tree | 71e5a57a62686debf7b8883d6f87f3a65a609098 /src/base/vnc/VncServer.py | |
parent | 5bde1d359f0a0ce1d5ed46c3a9bb0ba33882f7b6 (diff) | |
download | gem5-9aea847f5891214f456cc9d6e173d7fbb1a30c0a.tar.xz |
VNC: Add support for capturing frame buffer to file each time it is changed.
When a change in the frame buffer from the VNC server is detected, the new
frame is stored out to the m5out/frames_*/ directory. Specifiy the flag
"--frame-capture" when running configs/example/fs.py to enable this behavior.
--HG--
extra : rebase_source : d4e08e83f4fa6ff79f3dc9c433fc1f0487e057fc
Diffstat (limited to 'src/base/vnc/VncServer.py')
-rw-r--r-- | src/base/vnc/VncServer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/vnc/VncServer.py b/src/base/vnc/VncServer.py index 21eb3ed28..6b746f2e2 100644 --- a/src/base/vnc/VncServer.py +++ b/src/base/vnc/VncServer.py @@ -43,3 +43,4 @@ class VncServer(SimObject): type = 'VncServer' port = Param.TcpPort(5900, "listen port") number = Param.Int(0, "vnc client number") + frame_capture = Param.Bool(False, "capture changed frames to files") |