From 7f96d22df74999904529adc41639b64f88f5a144 Mon Sep 17 00:00:00 2001 From: Richard M Kreuter Date: Thu, 2 Oct 2008 03:16:44 +0000 Subject: [PATCH] 1.0.20.34: Fix a minor bug in TIME. * Don't try to print cycle counts when the port doesn't support it. --- src/code/time.lisp | 6 ++++-- version.lisp-expr | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/code/time.lisp b/src/code/time.lisp index a6dbc94..834f143 100644 --- a/src/code/time.lisp +++ b/src/code/time.lisp @@ -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) diff --git a/version.lisp-expr b/version.lisp-expr index 73c728f..cbe6324 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -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" -- 1.7.10.4