TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Mon, 6 Nov 2000 10:48:59 -0800
Reply-To: Tom Moran <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Decision Aids
From: Tom Moran <[log in to unmask]>
Parts/Attachments: text/plain (12 lines)
  delay until Next;
in time_test2.adb with
  while Ada.Real_Time.Clock < Next loop null;end loop;
cut the time on my machine from 75 to 65 mics.  (The desired Interval
being 57 mics.)
  I tried the same thing using Ada.Calendar instead of Ada.Real_Time.
In ten runs (a total of 100 timings) 89 of the runs gave times averaging
65 mics, while the first timing in each execution of the program, and
the second timing in one execution, gave times ranging between 269 and
428 mics.