This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Measure overload resolution overhead


Pariborz Jahanian <fjahanian@apple.com> writes:

| I see that TV_OVELOAD has been added to timevar.def. But I don't see
| POP_TIMEVAR_AND_RETURN defined or used. 

Then that is a mistake from my part because it is already on the
3_3-branch: 

   2003-01-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>

           * timevar.def (TV_NAME_LOOKUP, TV_OVERLOAD,
           TV_TEMPLATE_INSTANTIATION):  New timevar_id eumerations.
           * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
           * timevar.c (timevar_pop): Be verbose when aborting.  Include
           "toplev.h". 

And I use that macro for timing name lookup in a patch I posted for
inclusion on mainline.

| Are you planning future patch
| submissions for providing timing support of overload resolution?

Hmm, now that I see you're working on this, I guess I should get into
contact with Matt and Ted.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]