From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ff7d8060c8210f40 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!colt.net!feeder.news-service.com!news.csl-gmbh.net!newsfeed01.sul.t-online.de!t-online.de!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!news.highwinds-media.com!xara.net!gxn.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: real_time.clock is not monotonic Date: Mon, 26 Feb 2007 20:59:56 +0000 Organization: Pushface Message-ID: References: <1172074608.834181.198540@j27g2000cwj.googlegroups.com> <87ps7xnvze.fsf@mid.deneb.enyo.de> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1172523596 25663 62.49.19.209 (26 Feb 2007 20:59:56 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 26 Feb 2007 20:59:56 +0000 (UTC) Cancel-Lock: sha1:b5DY0Lin9kB6bHHGHxyZf2WXwMc= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (darwin) Xref: g2news2.google.com comp.lang.ada:9558 Date: 2007-02-26T20:59:56+00:00 List-Id: Florian Weimer writes: > * Simon Wright: > >> ("rdtsc" & ASCII.LF & ASCII.HT & > > This is not monotonic, either, because on some (most?) > architectures, the cycle counters of the different CPUs are not > synchronized. As I said, it was for hi-res timing, and if you get swapped in the timed code the result is an outlier even if there's onlu one CPU.