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!postnews.google.com!l41g2000cwc.googlegroups.com!not-for-mail From: "markp" Newsgroups: comp.lang.ada Subject: Re: Timing Block of GNAT code in milliseconds Date: 21 Apr 2005 11:53:22 -0700 Organization: http://groups.google.com Message-ID: <1114109602.373794.96920@l41g2000cwc.googlegroups.com> References: <1114090119.383842.20950@l41g2000cwc.googlegroups.com> NNTP-Posting-Host: 208.20.220.72 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1114109606 3373 127.0.0.1 (21 Apr 2005 18:53:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 21 Apr 2005 18:53:26 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: l41g2000cwc.googlegroups.com; posting-host=208.20.220.72; posting-account=_Inhcg0AAAAPC2BsuUqoGG-atarvM4_J Xref: g2news1.google.com comp.lang.ada:10631 Date: 2005-04-21T11:53:22-07:00 List-Id: Thanks for your response: I tried this and got some errors. Hereis what my code looks like My_Time : Ada.Calendar.Time; Result : Ada.Calendar.Time; My_Time := Ada.Calendar.Clock; Result := (Ada.Calendar.Clock - My_Time)/1000; The error I get is : Expected private type Ada.Calendar.Time Expected type Standard Duration on the piece of code (Ada.Calendar.Clock - My_Time). Lastly, How would I print out Result? Thanks again