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,d1f23f0bd3971bec X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 23 Apr 2005 12:47:34 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <1114090119.383842.20950@l41g2000cwc.googlegroups.com> <1KydnfadqcK30fXfRVn-qw@comcast.com> Subject: Re: Timing Block of GNAT code in milliseconds Date: Sat, 23 Apr 2005 10:49:44 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: NNTP-Posting-Host: 24.22.63.157 X-Trace: sv3-hRVoOrHZFTJbg/gnxsiNli2EP8FUpj1wNJKNmQ42XEbXyCka2raC7xI0vJ+LWsfDTP7Bsf9FVn5yz/v!U/vskRGucYsIqMEevtPeJ8K2jZs0Q/SaSdlorhXSHQA8fuNeVGJhOtjrlV8l X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31 Xref: g2news1.google.com comp.lang.ada:10654 Date: 2005-04-23T10:49:44-07:00 List-Id: "Simon Wright" wrote in message news:x7vsm1i2gs7.fsf@smaug.pushface.org... > "Steve" writes: > >> I tend to think of the Real_Time package as the one to use when you >> are timing events and the Calendar package as the one to use when >> you don't care about precise timing and want the time of day for >> reporting, etc. > > It used to be the case with GNAT that there was an amazing similarity > between these two clocks! Looking on 5.02a1, on a first glance it > seems that Real_Time is derived as follows (the first two letters are > the encoding in the distribution, eg if building on NT the file > s-taprop.adb is copied from 5wtaprop.adb). > [snip] It would also be interesting to know whether there is a difference in the time base for Ada.Calendar and Ada.Real_Time for the different systems. Steve (The Duck) > > -- > Simon Wright 100% Ada, no bugs.