From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: get-internal-real-time using times() Date: Fri, 12 Sep 2003 14:25:29 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87ekylu7va.fsf@raven.i.defaultvalue.org> References: <87d6ein7fl.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063396064 16122 80.91.224.253 (12 Sep 2003 19:47:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2003 19:47:44 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Sep 12 21:47:42 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xttO-0004QV-00 for ; Fri, 12 Sep 2003 21:47:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xtsb-0005bL-By for guile-devel@m.gmane.org; Fri, 12 Sep 2003 15:46:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19xtsA-0005aW-8X for guile-devel@gnu.org; Fri, 12 Sep 2003 15:46:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19xts5-0005Zr-43 for guile-devel@gnu.org; Fri, 12 Sep 2003 15:46:21 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19xts4-0005Zg-JU for guile-devel@gnu.org; Fri, 12 Sep 2003 15:46:20 -0400 Original-Received: from [66.93.216.237] (helo=defaultvalue.org) by mx20.gnu.org with esmtp (Exim 4.22) id 19xtXv-00037Q-N0 for guile-devel@gnu.org; Fri, 12 Sep 2003 15:25:31 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 5421A3F65 for ; Fri, 12 Sep 2003 14:25:29 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 4F4EB810DD; Fri, 12 Sep 2003 14:25:29 -0500 (CDT) Original-To: guile-devel@gnu.org In-Reply-To: <87d6ein7fl.fsf@zip.com.au> (Kevin Ryde's message of "Wed, 03 Sep 2003 08:37:18 +1000") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2783 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2783 Kevin Ryde writes: > * stime.c (scm_get_internal_real_time, scm_your_base, > scm_init_stime): Use times() when available, for a genuine > real-time (unaffected by stime system time changes). > > The name "real-time" suggests to me something independent of the > system date/time. And since the return is clock ticks, times() would > seem natural. Unless there's a particular reason it isn't already so. Presuming I understand what you're doing here (from a brief look), we might want to be careful. If the old semantics of get-internal-real-time relied on ftime, then people may have written code that depends on the fact that get-internal-real-time has been returning wall-clock time, and in fact, when contrasted to get-internal-run-time's description (and given familiarity with the "times" distinctions), that might be a reasonable presumption. Or did I misunderstand? -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel