aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2003-12-22 07:42:43 +0000
committerJim Wilson <wilson@gcc.gnu.org>2003-12-21 23:42:43 -0800
commit439a7e544da9c5f6e9c1b14ec054e3bdda7eddc2 (patch)
tree92e1b9a44d211c848fd96269a939fdf393e245ab /gcc/config.in
parentd9dd2c4ed71f3f1f5cb20424c7bb753eda60ac96 (diff)
downloadgcc-439a7e544da9c5f6e9c1b14ec054e3bdda7eddc2.zip
gcc-439a7e544da9c5f6e9c1b14ec054e3bdda7eddc2.tar.gz
gcc-439a7e544da9c5f6e9c1b14ec054e3bdda7eddc2.tar.bz2
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. From-SVN: r74930
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 9a5633b..f4145a2 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -250,6 +250,9 @@
/* Define if valgrind's memcheck.h header is installed. */
#undef HAVE_MEMCHECK_H
+/* Define to enable detailed memory allocation stats gathering. */
+#undef GATHER_STATISTICS
+
/* Always define this when using the GNU C Library */
#undef _GNU_SOURCE