diff options
Diffstat (limited to 'ace/Malloc_T.cpp')
-rw-r--r-- | ace/Malloc_T.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ace/Malloc_T.cpp b/ace/Malloc_T.cpp index b73a522bc4d..362743f6842 100644 --- a/ace/Malloc_T.cpp +++ b/ace/Malloc_T.cpp @@ -26,6 +26,15 @@ ACE_Allocator_Adapter<MALLOC>::~ACE_Allocator_Adapter (void) ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::~ACE_Allocator_Adapter"); } +#if defined (ACE_MALLOC_STATS) +template <class MALLOC> void +ACE_Allocator_Adapter<MALLOC>::print_stats (void) const +{ + ACE_TRACE ("ACE_Malloc<MALLOC>::print_stats"); + this->allocator_.print_stats (); +} +#endif /* ACE_MALLOC_STATS */ + template <class MALLOC> void ACE_Allocator_Adapter<MALLOC>::dump (void) const { @@ -51,7 +60,7 @@ ACE_Malloc<ACE_MEM_POOL_2, LOCK>::dump (void) const #if defined (ACE_MALLOC_STATS) template <ACE_MEM_POOL_1, class LOCK> void -ACE_Malloc<ACE_MEM_POOL_2, LOCK>::print_stats (void) +ACE_Malloc<ACE_MEM_POOL_2, LOCK>::print_stats (void) const { ACE_TRACE ("ACE_Malloc<ACE_MEM_POOL_2, LOCK>::print_stats"); ACE_GUARD (LOCK, ace_mon, this->lock_); |