diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-02-11 09:48:23 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-02-11 09:48:23 -0500 |
commit | 10ee909fbd895b588bf01021af98e81a3ae40fc0 (patch) | |
tree | 081da4f22aaf0e48669acacf0d23a598cd536e2a /dev/etherdump.hh | |
parent | 60b263466e35139ee2c773cac6c96622be990fda (diff) | |
parent | 06a4686af9b0d8e9e25e0591873d2f269bfb6d1b (diff) | |
download | gem5-10ee909fbd895b588bf01021af98e81a3ae40fc0.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/merge
--HG--
extra : convert_revision : 5d73046310a64b80a6ba3832df3b30b55532d707
Diffstat (limited to 'dev/etherdump.hh')
-rw-r--r-- | dev/etherdump.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/etherdump.hh b/dev/etherdump.hh index b127d05e2..ba15796c8 100644 --- a/dev/etherdump.hh +++ b/dev/etherdump.hh @@ -43,7 +43,7 @@ class EtherDump : public SimObject { private: - std::ostream *stream; + std::ofstream stream; const int maxlen; void dumpPacket(PacketPtr &packet); void init(); @@ -53,7 +53,7 @@ class EtherDump : public SimObject Tick us_freq; public: - EtherDump(const std::string &name, std::ostream *_stream, int max); + EtherDump(const std::string &name, const std::string &file, int max); inline void dump(PacketPtr &pkt) { dumpPacket(pkt); } }; |