summaryrefslogtreecommitdiff
path: root/src/dev/etherdump.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-02-17 19:24:46 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-02-17 19:24:46 -0800
commit6cfff91d43885f60cbe30a7b237c69fcc85e31a2 (patch)
treede5beb122aa7a8761f458d5f51c6e977f997740c /src/dev/etherdump.hh
parent5d029ff11e88ba0ab89c88e500c5d0d2edaf744e (diff)
downloadgem5-6cfff91d43885f60cbe30a7b237c69fcc85e31a2.tar.xz
Make etherdump timestamps zero-based.
We previously used the actual wall time for the base timestamps, making etherdumps non-deterministic. This fixes that problem and gets rid of the "malformed packet" at the front that we needed to provide the right base timestamp to wireshark/tcpdump.
Diffstat (limited to 'src/dev/etherdump.hh')
-rw-r--r--src/dev/etherdump.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dev/etherdump.hh b/src/dev/etherdump.hh
index 733e61c97..18a5d2c44 100644
--- a/src/dev/etherdump.hh
+++ b/src/dev/etherdump.hh
@@ -51,8 +51,6 @@ class EtherDump : public SimObject
void dumpPacket(EthPacketPtr &packet);
void init();
- Tick curtime;
-
public:
typedef EtherDumpParams Params;
EtherDump(const Params *p);