Re: [PATCH 1/2] gcc parts of timer refactoring

2015-08-03 Thread Jeff Law
On 07/31/2015 03:45 PM, David Malcolm wrote: In r223092 (aka dd4d567f4b6b498242097c41d63666bdae320ac1) I moved the state of timevar.c from being global data into a "class timer" with a global instance "g_timer". This followup patch generalizes the timing within toplev so that an external "timer"

[PATCH 1/2] gcc parts of timer refactoring

2015-07-31 Thread David Malcolm
In r223092 (aka dd4d567f4b6b498242097c41d63666bdae320ac1) I moved the state of timevar.c from being global data into a "class timer" with a global instance "g_timer". This followup patch generalizes the timing within toplev so that an external "timer" instance can (optionally) be passed in; this i