Re: [PATCH 06/49] timevar.h: add auto_client_timevar class

2019-12-08 Thread David Malcolm
On Sat, 2019-12-07 at 07:29 -0700, Jeff Law wrote: > On Fri, 2019-11-15 at 20:22 -0500, David Malcolm wrote: > > This patch adds a class "auto_client_timevar", similar to > > auto_timevar, > > but for plugins to use on their own timing items that aren't in > > timevar.def > > > > gcc/ChangeLog: >

Re: [PATCH 06/49] timevar.h: add auto_client_timevar class

2019-12-07 Thread Jeff Law
On Fri, 2019-11-15 at 20:22 -0500, David Malcolm wrote: > This patch adds a class "auto_client_timevar", similar to > auto_timevar, > but for plugins to use on their own timing items that aren't in > timevar.def > > gcc/ChangeLog: > * timevar.h (class auto_client_timevar): New class. So if w

Re: [PATCH 06/49] timevar.h: add auto_client_timevar class

2019-12-04 Thread David Malcolm
On Wed, 2019-12-04 at 10:27 -0700, Tom Tromey wrote: > > > > > > "Martin" == Martin Sebor writes: > > > + private: > > > + // Private to disallow copies. > > > + auto_client_timevar (const auto_client_timevar &); > > Martin> I don't know why it's important to disallow making copies of > Martin>

Re: [PATCH 06/49] timevar.h: add auto_client_timevar class

2019-12-04 Thread Tom Tromey
> "Martin" == Martin Sebor writes: >> + private: >> + // Private to disallow copies. >> + auto_client_timevar (const auto_client_timevar &); Martin> I don't know why it's important to disallow making copies of Martin> these classes (they look safe to copy) but usually it goes Martin> along

Re: [PATCH 06/49] timevar.h: add auto_client_timevar class

2019-12-04 Thread Martin Sebor
On 11/15/19 6:22 PM, David Malcolm wrote: This patch adds a class "auto_client_timevar", similar to auto_timevar, but for plugins to use on their own timing items that aren't in timevar.def gcc/ChangeLog: * timevar.h (class auto_client_timevar): New class. --- gcc/timevar.h | 33 ++

[PATCH 06/49] timevar.h: add auto_client_timevar class

2019-11-15 Thread David Malcolm
This patch adds a class "auto_client_timevar", similar to auto_timevar, but for plugins to use on their own timing items that aren't in timevar.def gcc/ChangeLog: * timevar.h (class auto_client_timevar): New class. --- gcc/timevar.h | 33 + 1 file changed,