X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftimevar.h;h=dad9dfdf2b06b3d754917195ffd4341f4dec7c0e;hb=09193bf3f0d7abf18461c8d45101077ce22d08bd;hp=1df23300fa95add250c42f632afaf1a2cd93cf86;hpb=d91f7526fb89f7d993f570efe6ca75ab6f856370;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/timevar.h b/gcc/timevar.h index 1df23300fa9..dad9dfdf2b0 100644 --- a/gcc/timevar.h +++ b/gcc/timevar.h @@ -87,14 +87,13 @@ extern bool timevar_enable; /* Total amount of memory allocated by garbage collector. */ extern size_t timevar_ggc_mem_total; -/* Execute the sequence: timevar_pop (TV), return (E); */ -#define POP_TIMEVAR_AND_RETURN(TV, E) do { timevar_pop (TV); return (E); }while(0) - extern void timevar_init (void); extern void timevar_push_1 (timevar_id_t); extern void timevar_pop_1 (timevar_id_t); extern void timevar_start (timevar_id_t); extern void timevar_stop (timevar_id_t); +extern bool timevar_cond_start (timevar_id_t); +extern void timevar_cond_stop (timevar_id_t, bool); extern void timevar_print (FILE *); /* Provided for backward compatibility. */