diff options
Diffstat (limited to 'ace/Malloc_T.h')
-rw-r--r-- | ace/Malloc_T.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/Malloc_T.h b/ace/Malloc_T.h index 5dfe6be0ad3..7573a05fba7 100644 --- a/ace/Malloc_T.h +++ b/ace/Malloc_T.h @@ -126,9 +126,6 @@ public: // Change the protection of the pages of the mapped region to <prot> // starting at <addr> up to <len> bytes. - size_t avail_chunks (const size_t size) const; - // Returns a count of the number of available chunks. - ALLOCATOR &alloc (void); // Returns the underlying allocator. @@ -265,6 +262,10 @@ public: // Change the protection of the pages of the mapped region to <prot> // starting at <addr> up to <len> bytes. + size_t avail_chunks (size_t size) const; + // Returns a count of the number of available chunks that can hold + // <size> byte allocations. + #if defined (ACE_MALLOC_STATS) void print_stats (void); // Dump statistics of how malloc is behaving. |