Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to UNICODE-BASE:||(view) (annotate)|
Rework decode-universal-time to correctly handle time zones that are a multiple of 1/3600 as required by ANSI CL, rather than just multiples of 1/60.
Add the unix-times unix system call for the sparc svr4 port, and make use of this to implement get-internal-run-time and get-system-info. This allows the run time to be obtained on Solaris 2.4, and is reportedly faster than getrusage on later versions of Solaris.
Merged patch from PW that is supposed to fix decode universal time after 2000.
Fix headed boilerplate.
Fixed decode-universal-time to correctly get the timezone info. Rewrote encode-universal-time to be sane and to correctly deal with timezones. Well, at least they are closer to dealing correctly with timezones.
Fix compiler warnings.
Changed GET-INTERNAL-RUN-TIME to use UNIX-FAST-GETRUSAGE to avoid number-consing and generic arithmetic. Also, rearranged the computation so that the time is correctly computed for up to 457 days, instead of only 71 minutes.
In TIME, fixed display of consing and page faults in the case where no GC time is displayed.
Changed TIME to use *GC-RUN-TIME* to print the amount of time spent in GC.
Added some type decls so that get-internal-real-time doesn't cons.
Merged new-alien changes onto trunk.
Merged Axmark's changes to make TIME find the time&consing overheads of the syscalls. Use SYSTEM:GET-SYSTEM-INFO for os-independent operation.
Added code to compile the argument to TIME when possible, and print a warning when it isn't.
New file header with RCS header FILE-COMMENT.
Changed GET-INTERNAL-REAL-TIME to subtract out the time of the first call to minimize the probability of bignum results. Changed both GET-INTERNAL-REAL-TIME and GET-INTERNAL-RUN-TIME to assume that the syscall does ERRNO checking and to have a locally unsafe policy.
Moved MIPS branch onto trunk; no merge necessary.
/usr/mbb/x3j13-changes/current/time.lisp, 11-Jul-89 20:20:04, Edit by Mbb. Made a simple tweak to DECODE-UNIVERSAL-TIME that, in compliance with the new standard, ignores daylight-savings-time when the user supplies the :time-zone argument.
Changed time into the %TIME function, and made TIME just expand into a call of %TIME with the form wrapped into a lambda. This helps interpreted uses of TIME, mainly by reducing the spurious elapsed time for preprocessing the huge form, but should also produce somewhat more accurate results, since the code in %TIME always runs compiled. Theoretically this could have a slight negative effect on the accuracy of compiled uses by introducing a call, but this should be well down in the noise, since call overhead should be well less than the clock resolution.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|