summaryrefslogtreecommitdiff
path: root/src/cpu/testers/memtest
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-06-05 01:23:08 -0400
committerAli Saidi <Ali.Saidi@ARM.com>2012-06-05 01:23:08 -0400
commit1b370431d0ac51eb54bfbf17247f935d48995a34 (patch)
treee9b90a8f9bdf914f29a20b3c287dae5b5a16db4c /src/cpu/testers/memtest
parentd6997777bee827c89578cf730b186991485c647c (diff)
downloadgem5-1b370431d0ac51eb54bfbf17247f935d48995a34.tar.xz
sim: Remove FastAlloc
While FastAlloc provides a small performance increase (~1.5%) over regular malloc it isn't thread safe. After removing FastAlloc and using tcmalloc I've seen a performance increase of 12% over libc malloc when running twolf for ARM.
Diffstat (limited to 'src/cpu/testers/memtest')
-rw-r--r--src/cpu/testers/memtest/memtest.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/testers/memtest/memtest.hh b/src/cpu/testers/memtest/memtest.hh
index 450a3e4f1..52e32d72d 100644
--- a/src/cpu/testers/memtest/memtest.hh
+++ b/src/cpu/testers/memtest/memtest.hh
@@ -34,7 +34,6 @@
#include <set>
-#include "base/fast_alloc.hh"
#include "base/statistics.hh"
#include "mem/mem_object.hh"
#include "mem/port.hh"
@@ -112,7 +111,7 @@ class MemTest : public MemObject
CpuPort funcPort;
PortProxy funcProxy;
- class MemTestSenderState : public Packet::SenderState, public FastAlloc
+ class MemTestSenderState : public Packet::SenderState
{
public:
/** Constructor. */