OSDN Git Service

Patch from Dan Nicolaescu
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Dec 2003 07:42:43 +0000 (07:42 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Dec 2003 07:42:43 +0000 (07:42 +0000)
commit86736f9e33c4b7981d8a621728091a44afc91d36
tree92e1b9a44d211c848fd96269a939fdf393e245ab
parent3167276382f4709bd9cc3007e410770ff6ba7161
Patch from Dan Nicolaescu
* rtl.h (dump_rtx_statistics): Declare it.
* rtl.c (rtx_alloc_counts, rtx_alloc_sizes, rtvec_alloc_counts,
rtx_alloc_sizes): New static vars.
(rtx_alloc, rtvec_alloc): Update them.
(dump_rtx_statistics): New function.
* toplev.c (finalize): Call it.
* ggc-page.c (struct globals): Fix comments. Add new member
total_allocated_per_order.
(ggc_alloc): Keep track of the total allocated memory.
(ggc_print_statistics): Clarify message. Print total allocated
memory stats.
* configure.in (gather-detailed-mem-stats): New flag.
* configure: Regenerate.
* config.in: Regenerate.
* doc/install.texi (Configuration): Document
--enable-gather-detailed-mem-stats.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74930 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.in
gcc/doc/install.texi
gcc/ggc-page.c
gcc/rtl.c
gcc/rtl.h
gcc/toplev.c