summaryrefslogtreecommitdiff
path: root/src/dev
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/dev
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/dev')
-rw-r--r--src/dev/dma_device.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/dma_device.hh b/src/dev/dma_device.hh
index 8fc4e664c..8b40cc7e4 100644
--- a/src/dev/dma_device.hh
+++ b/src/dev/dma_device.hh
@@ -50,7 +50,7 @@
class DmaPort : public MasterPort
{
protected:
- struct DmaReqState : public Packet::SenderState, public FastAlloc
+ struct DmaReqState : public Packet::SenderState
{
/** Event to call on the device when this transaction (all packets)
* complete. */