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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable 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!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!news.in2p3.fr!in2p3.fr!kanaga.switch.ch!switch.ch!tiscali!newsfeed2.ip.tiscali.net!news.astraweb.com!newsrouter-eu.astraweb.com!proxad.net!cleanfeed2-a.proxad.net!nnrp3-1.free.fr!not-for-mail Return-Path: From: Duncan Sands To: comp.lang.ada@ada-france.org Subject: Re: real_time.clock is not monotonic Date: Thu, 22 Feb 2007 11:53:58 +0100 User-Agent: KMail/1.9.6 References: <1172074608.834181.198540@j27g2000cwj.googlegroups.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new-20030616-p10 at math.u-psud.fr X-Virus-Scanned: amavisd-new at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.9rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 Organization: Guest of ProXad - France NNTP-Posting-Date: 22 Feb 2007 12:15:02 MET NNTP-Posting-Host: 88.191.14.223 X-Trace: 1172142902 news-3.free.fr 10571 88.191.14.223:48179 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:9405 Date: 2007-02-22T12:15:02+01:00 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. > Much better of course to use OS facilities. > > But my primary interest was for a high resolution clock (1e-5 seconds > or better), the monotonicity was incidental. Yes of course. This is one of the things that is being sorted out in linux now. Ciao, Duncan.