TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Tom Moran <[log in to unmask]>
Mon, 6 Nov 2000 10:48:59 -0800
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.