summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-15 17:18:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-15 17:18:12 +0000
commit827e134a90c4e2814fe47bdf310ed7e78fd7f61c (patch)
tree30e9d8c3f1dc43fa6c586a0bcde2a353f946e92f /proto.h
parent56d7751aa4c2e1e56296cbd71ecc38fb6fe74276 (diff)
downloadperl-827e134a90c4e2814fe47bdf310ed7e78fd7f61c.tar.gz
provide malloc stats via get_mstats() (from Ilya Zakharevich)
p4raw-id: //depot/perl@5103
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 958f36e738..df2ddb4430 100644
--- a/proto.h
+++ b/proto.h
@@ -820,6 +820,7 @@ PERL_CALLCONV int Perl_yyparse(pTHX);
PERL_CALLCONV int Perl_yywarn(pTHX_ char* s);
#if defined(MYMALLOC)
PERL_CALLCONV void Perl_dump_mstats(pTHX_ char* s);
+PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
#endif
PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes);
PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size);