diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-02-17 15:07:48 -0500 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-02-17 15:07:48 -0500 |
commit | dd11b2c4ffc9121faa7e6976bd211dbb595e9af0 (patch) | |
tree | f3ab0bd8e0c2f1ef5be8f7c49a8fd9e9ef0a896c /dev | |
parent | d6a330ebb949b6cd63195d44e5a4304e2fd3378e (diff) | |
download | gem5-dd11b2c4ffc9121faa7e6976bd211dbb595e9af0.tar.xz |
Get rid of deque (poor memory allocation), switch them over to lists.
Beware that using size() on a list is a O(n) operation.
dev/ns_gige.hh:
Remove typedefs that (I assume) were copied over from etherdev.hh. They were unused in the ns_gige code.
--HG--
extra : convert_revision : 577954ec26b899bd6329ce6a4aaa1d9b0ba4f34c
Diffstat (limited to 'dev')
-rw-r--r-- | dev/ns_gige.hh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dev/ns_gige.hh b/dev/ns_gige.hh index b65626b7b..181837c8d 100644 --- a/dev/ns_gige.hh +++ b/dev/ns_gige.hh @@ -170,9 +170,6 @@ class NSGigE : public PciDev static const Addr size = sizeof(dp_regs); protected: - typedef std::deque<PacketPtr> pktbuf_t; - typedef pktbuf_t::iterator pktiter_t; - /** device register file */ dp_regs regs; dp_rom rom; |