Re: [PATCH][RFC] Statistics "infrastructure"

2008-03-16 Thread Richard Guenther
On Sun, 16 Mar 2008, Zdenek Dvorak wrote: > Hi, > > > > > A statistics event consists of a function (optional), a statement > > > > (optional) and the counter ID. I converted the counters from > > > > tree-ssa-propagate.c as an example, instead of > > > > > > > > prop_stats.num_

Re: [PATCH][RFC] Statistics "infrastructure"

2008-03-15 Thread Zdenek Dvorak
Hi, > > > A statistics event consists of a function (optional), a statement > > > (optional) and the counter ID. I converted the counters from > > > tree-ssa-propagate.c as an example, instead of > > > > > > prop_stats.num_copy_prop++; > > > > > > you now write > > > > > >

Re: [PATCH][RFC] Statistics "infrastructure"

2008-03-15 Thread Richard Guenther
On Sun, 16 Mar 2008, Zdenek Dvorak wrote: > Hi, > > > This is an attempt to provide (pass) statistics collection. The > > goal is to provide infrastructure to handle the current (pass specific) > > statistics dumping that is done per function and per pass along the > > regular tree/rtl dumps as

Re: [PATCH][RFC] Statistics "infrastructure"

2008-03-15 Thread Zdenek Dvorak
Hi, > This is an attempt to provide (pass) statistics collection. The > goal is to provide infrastructure to handle the current (pass specific) > statistics dumping that is done per function and per pass along the > regular tree/rtl dumps as well as to allow CU wide "fancy" analysis. > > The mos

[PATCH][RFC] Statistics "infrastructure"

2008-03-15 Thread Richard Guenther
This is an attempt to provide (pass) statistics collection. The goal is to provide infrastructure to handle the current (pass specific) statistics dumping that is done per function and per pass along the regular tree/rtl dumps as well as to allow CU wide "fancy" analysis. The most important aspe