1.0.20.34: Fix a minor bug in TIME.
authorRichard M Kreuter <kreuter@users.sourceforge.net>
Thu, 2 Oct 2008 03:16:44 +0000 (03:16 +0000)
committerRichard M Kreuter <kreuter@users.sourceforge.net>
Thu, 2 Oct 2008 03:16:44 +0000 (03:16 +0000)
* Don't try to print cycle counts when the port doesn't support it.

src/code/time.lisp
version.lisp-expr

index a6dbc94..834f143 100644 (file)
@@ -500,8 +500,10 @@ EXPERIMENTAL: Interface subject to change."
                     (note :aborted aborted #'not)
                     (note :bytes-consed (max (- new-bytes-consed old-bytes-consed) 0))
                     (note :page-faults page-faults #'zerop)
-                    (note :processor-cycles cycles #'zerop)
-                    (note :lambdas-converted sb!c::*lambda-conversions* #'zerop)
+                    ;; cycle counting isn't supported everywhere.
+                    (when cycles
+                      (note :processor-cycles cycles #'zerop)
+                    (note :lambdas-converted sb!c::*lambda-conversions* #'zerop))
                     (note :eval-calls *eval-calls* #'zerop)
                     (note :gc-run-time-ms gc-internal-run-time)
                     (note :system-run-time-us system-run-time)
index 73c728f..cbe6324 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.20.33"
+"1.0.20.34"