From 1b370431d0ac51eb54bfbf17247f935d48995a34 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 5 Jun 2012 01:23:08 -0400 Subject: 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. --- src/dev/dma_device.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dev') 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. */ -- cgit v1.2.3