From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8e7d44dfbd29e767 X-Google-Attributes: gid111c93,public From: Robert Harley Subject: Re: Weird time() effect in linux/AXP Date: 1999/08/04 Message-ID: #1/1 X-Deja-AN: 508714138 Content-Transfer-Encoding: 8bit References: <7nuiau$cg$1@wombat.cs.monash.edu.au> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@inria.fr X-Trace: ites.inria.fr 933759811 25885 128.93.11.84 (4 Aug 1999 09:43:31 GMT) Organization: I.N.R.I.A Rocquencourt Mime-Version: 1.0 NNTP-Posting-Date: 4 Aug 1999 09:43:31 GMT Newsgroups: comp.os.linux.alpha bmeyer@bruce.cs.monash.edu.au writes: > While playing around with some portable high-precision timing code, > I have run into a rather weird effect in which the result of time(NULL) > actually _decreases_ momentarily. [...] > But every now and again, sometimes as often as twice a minute, sometimes > only every ten minutes or so, a line starts with "-1", indicating that time > just went backwards. I ran your program for about 20 hours on my 500 MHz Miata with no "-1" lines. !?!? Rob.