diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-08-17 01:27:49 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-08-17 01:27:49 +0000 |
commit | d9b6874b0c8f24e6adb785121381c24f87c726c4 (patch) | |
tree | d06379f9caf82cb62fa1d7889ebb1309f38e52b8 /gcc/timevar.h | |
parent | 4266d0b2722db521925be85f61ca1fa643afe409 (diff) | |
download | gcc-d9b6874b0c8f24e6adb785121381c24f87c726c4.zip gcc-d9b6874b0c8f24e6adb785121381c24f87c726c4.tar.gz gcc-d9b6874b0c8f24e6adb785121381c24f87c726c4.tar.bz2 |
final.c (shorten_branches): Clear the end of the label_align array only if we made it larger.
* final.c (shorten_branches): Clear the end of the label_align
array only if we made it larger. Break up messy expressions
for clarity.
* diagnostic.c (internal_error): Check for error recursion
before doing ICE suppression.
* timevar.c: Timing variables now count in milliseconds.
(init_timevar): Set up ticks_to_msec and clocks_to_msec here.
(get_time): Not here.
(timevar_print): Don't print any timer whose user, cpu, and
wall times are all zero as displayed.
* timevar.h: Update comment aboout units. Make timevar
counters unsigned.
From-SVN: r44948
Diffstat (limited to 'gcc/timevar.h')
-rw-r--r-- | gcc/timevar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/timevar.h b/gcc/timevar.h index 187b60e..5da847d 100644 --- a/gcc/timevar.h +++ b/gcc/timevar.h @@ -45,7 +45,7 @@ */ /* This structure stores the various varieties of time that can be - measured. Times are stored in microseconds. The time may be an + measured. Times are stored in milliseconds. The time may be an absolute time or a time difference; in the former case, the time base is undefined, except that the difference between two times produces a valid time difference. */ @@ -53,14 +53,14 @@ struct timevar_time_def { /* User time in this process. */ - long user; + unsigned long user; /* System time (if applicable for this host platform) in this process. */ - long sys; + unsigned long sys; /* Wall clock time. */ - long wall; + unsigned long wall; }; /* An enumeration of timing variable indentifiers. Constructed from |