RFC: Patch to split parse time from parse action times in C and objc
Tim Josling
tej@melbpc.org.au
Fri Mar 28 23:02:00 GMT 2003
I have used gprof successfully with GCC / cc1.
Tim Josling
Segher Boessenkool wrote:
> Zack Weinberg wrote:
>
>> Would you please try changing timevar_push/pop to macros that only
>> conditionally call the underlying functions? I suspect that will give
>> you most of the speedup of your disable option while retaining the
>> flexibility of the present scheme.
>
>
> I wonder if the (hypothetical) gprof --source-file (outputs a
> profile of time spent per source file) would cover most/all
> of the timevar functionality? I've always wanted this profile
> display mode -- of course it works best with nicely structured
> source code :)
>
>
> Segher
>
>
>
>
More information about the Gcc-patches
mailing list