inorder: squash on memory stall
[gem5.git] / src / dev / etherdump.hh
index 1027ce4d01b9b01b9179120723ad087ce647870c..cf4213b2766edfedc068f94798d8769116018fae 100644 (file)
 class EtherDump : public SimObject
 {
   private:
-    std::ofstream stream;
-    const int maxlen;
+    std::ostream *stream;
+    const unsigned maxlen;
     void dumpPacket(EthPacketPtr &packet);
     void init();
 
-    Tick curtime;
-
   public:
     typedef EtherDumpParams Params;
     EtherDump(const Params *p);