gcc/gcc ChangeLog ggc-zone.c

drow@gcc.gnu.org drow@gcc.gnu.org
Mon Aug 9 23:11:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	drow@gcc.gnu.org	2004-08-09 23:11:09

Modified files:
	gcc            : ChangeLog ggc-zone.c 

Log message:
	* ggc-zone.c (struct alloc_zone): Add statistics counters.
	(always_collect): New flag.
	(ggc_alloc_zone_1): Update statistics support.  Don't include
	overhead in allocated counter.
	(sweep_pages): Update allocated counter for large pages.  Don'y
	include overhead.
	(ggc_collect_1): Always collect.
	(ggc_collect): Honor always_collect flag.  Sum all zones to decide
	whether to collect.
	(SCALE, LABEL): New macros.
	(ggc_print_statistics): Add statistics support.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4841&r2=2.4842
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc-zone.c.diff?cvsroot=gcc&r1=2.17&r2=2.18



More information about the Gcc-cvs mailing list