From 87e992a9fc42bb62fa1a8d87c66da11fe772b192 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 6 Apr 2006 04:32:22 +0000 Subject: [PATCH] instrument allocate/deallocate --- dtool/src/dtoolbase/deletedChain.T | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dtool/src/dtoolbase/deletedChain.T b/dtool/src/dtoolbase/deletedChain.T index 8f403b4590..63f7164916 100644 --- a/dtool/src/dtoolbase/deletedChain.T +++ b/dtool/src/dtoolbase/deletedChain.T @@ -32,6 +32,7 @@ MutexImpl DeletedChain::_lock; template INLINE Type *DeletedChain:: allocate(size_t size) { + TAU_PROFILE("Type *DeletedChain::allocate(size_t)", " ", TAU_USER); assert(size <= sizeof(Type)); #ifndef HAVE_ATOMIC_COMPARE_AND_EXCHANGE_PTR @@ -76,6 +77,7 @@ allocate(size_t size) { template INLINE void DeletedChain:: deallocate(Type *ptr) { + TAU_PROFILE("void DeletedChain::deallocate(Type *)", " ", TAU_USER); #ifndef HAVE_ATOMIC_COMPARE_AND_EXCHANGE_PTR _lock.lock();