diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-18 23:10:22 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-18 23:10:22 +0000 |
commit | 9278031cb73a86abbf16dd767a5c68828d7922d1 (patch) | |
tree | 87396ec6d992b99795d1807401b33464cc5bd4d4 /gcc/timevar.h | |
parent | 0fff59bea781bf7477936a402e359df92cb352a6 (diff) | |
download | gcc-9278031cb73a86abbf16dd767a5c68828d7922d1.tar.gz |
* timevar.h (struct timevar_time_def): Change element type to float.
(ticks_to_msec, clocks_to_msec): Likewise.
(TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
(get_time): Likewise.
(timevar_print): Adjust zero check and printing to match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45013 138bc75d-0d04-0410-961f-82ee72b054a4
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 5da847dff38..f6449bc28e0 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 milliseconds. The time may be an + measured. Times are stored in seconds. 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. */ - unsigned long user; + float user; /* System time (if applicable for this host platform) in this process. */ - unsigned long sys; + float sys; /* Wall clock time. */ - unsigned long wall; + float wall; }; /* An enumeration of timing variable indentifiers. Constructed from |