summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-13 18:45:35 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-13 18:45:35 +0000
commit12a747c705440a6e8e9adf7b97d9d30a86616f32 (patch)
tree0e241efb62d86e928668521585eddb7a75d27feb /ace/Malloc_T.cpp
parenta1da97350d9ed1749bba375d31d72ab97006090c (diff)
downloadATCD-12a747c705440a6e8e9adf7b97d9d30a86616f32.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Malloc_T.cpp')
-rw-r--r--ace/Malloc_T.cpp11
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_);