diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
commit | b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180 (patch) | |
tree | f6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/timevar.h | |
parent | 52e69d78eee5612ac195e0701a5cebe40d1ab0e1 (diff) | |
download | FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.zip FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.tar.gz |
Gcc 3.3.1-pre as of 2003-07-11.
Diffstat (limited to 'contrib/gcc/timevar.h')
-rw-r--r-- | contrib/gcc/timevar.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/gcc/timevar.h b/contrib/gcc/timevar.h index f0d2fd2..dcf1701 100644 --- a/contrib/gcc/timevar.h +++ b/contrib/gcc/timevar.h @@ -41,9 +41,9 @@ - As a standalone timer, using timevar_start and timevar_stop. All time elapsed between the two calls is attributed to the - variable. + variable. */ - + /* This structure stores the various varieties of time that can be measured. Times are stored in seconds. The time may be an absolute time or a time difference; in the former case, the time @@ -67,7 +67,7 @@ struct timevar_time_def the contents of timevar.def. */ #define DEFTIMEVAR(identifier__, name__) \ - identifier__, + identifier__, typedef enum { #include "timevar.def" @@ -76,6 +76,9 @@ typedef enum timevar_id_t; #undef DEFTIMEVAR +/* Execute the sequence: timevar_pop (TV), return (E); */ +#define POP_TIMEVAR_AND_RETURN(TV, E) return (timevar_pop (TV), (E)) + extern void init_timevar PARAMS ((void)); extern void timevar_push PARAMS ((timevar_id_t)); extern void timevar_pop PARAMS ((timevar_id_t)); |