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!news3.google.com!news4.google.com!news.glorb.com!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: Thu, 22 Feb 2007 20:48:41 +0000 Organization: Pushface Message-ID: References: <1172074608.834181.198540@j27g2000cwj.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1172177322 13382 62.49.19.209 (22 Feb 2007 20:48:42 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 22 Feb 2007 20:48:42 +0000 (UTC) Cancel-Lock: sha1:+HQ5eWsaXAcl26Cij0OO3jG2KV8= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (darwin) Xref: g2news2.google.com comp.lang.ada:9430 Date: 2007-02-22T20:48:41+00:00 List-Id: Duncan Sands writes: > On Thursday 22 February 2007 11:34:37 Simon Wright wrote: >> Duncan Sands writes: >> >> >> ("rdtsc" & ASCII.LF & ASCII.HT & >> > >> > I think the user needs to have appropriate permissions >> > for this to work. In any case, the linux kernel time >> > support is getting a massive rework as we speak, so >> > hopefully everything will be perfect soon :) >> >> Works for ordinary users on Windows (certainly up to 2K) and on all >> the Linuxes I've tried it on (up to Ubunto DD). > > I think you just got lucky with linux. I guess this would be a kernel thing and not a distro thing -- I've run it on 2.2, 2.4, and 2.6, which others were you thinking of? Apparently the TSD flag in CR4 can turn of rdtsc, why anyone would particularly want to I can't think.