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: Barking Dog Subject: Re: Weird time() effect in linux/AXP Date: 1999/08/04 Message-ID: <7o9hh5$dko$1@nnrp1.deja.com>#1/1 X-Deja-AN: 508763507 References: <7nuiau$cg$1@wombat.cs.monash.edu.au> X-Http-Proxy: 1.0 WORLDSEND, 1.0 x27.deja.com:80 (Squid/1.1.22) for client 209.113.210.133 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Aug 04 14:08:46 1999 GMT X-MyDeja-Info: XMYDJUIDxppp Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) In article <7nuiau$cg$1@wombat.cs.monash.edu.au>, bmeyer@bruce.cs.monash.edu.au wrote: > 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. That means that a call to time() may > give a result of x, and a _subsequent_ call might give a result of x- 1. > Needless to say, that wreaks havoc on my code, and probably is not too > good for any other time-related code, either. You wouldn't happen to br running [x]ntpd, would you? Just checking -Barking Dog Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.