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/cpu/inorder/inorder_dyn_inst.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cpu/inorder') diff --git a/src/cpu/inorder/inorder_dyn_inst.hh b/src/cpu/inorder/inorder_dyn_inst.hh index 4b48a157b..afd137a2e 100644 --- a/src/cpu/inorder/inorder_dyn_inst.hh +++ b/src/cpu/inorder/inorder_dyn_inst.hh @@ -41,7 +41,6 @@ #include "arch/mt.hh" #include "arch/types.hh" #include "arch/utility.hh" -#include "base/fast_alloc.hh" #include "base/trace.hh" #include "base/types.hh" #include "config/the_isa.hh" @@ -73,7 +72,7 @@ class ResourceRequest; class Packet; -class InOrderDynInst : public FastAlloc, public RefCounted +class InOrderDynInst : public RefCounted { public: // Binary machine instruction type. -- cgit v1.2.3