TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional 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]>
From: "Sparks, Christopher B" <[log in to unmask]>
Date: Mon, 6 Nov 2000 07:36:56 -0800
Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C04807.64F08870"
MIME-Version: 1.0
Reply-To: "Sparks, Christopher B" <[log in to unmask]>
Parts/Attachments: text/plain (632 bytes) , test_time2.adb (1459 bytes)
Jeff is right with the delay until statement.  I ran his example on my
Windows NT
4.0 with 130 MB of RAM, Pentium III, don't know what megahertz.  I changed
the
delay for 1.0 second since I didn't want to wait 10 minutes! :-)  I also
change the
code too since Ada.Text_IO is nasty to use when doing timing.  I don't trust
it.

I got these values:
Time Difference:  0.000073752
Time Difference:  0.000072076
Time Difference:  0.000071238
Time Difference:  0.000070400
Time Difference:  0.000064534
Time Difference:  0.000073752
Time Difference:  0.000073752
Time Difference:  0.000065371
Time Difference:  0.000073752
Time Difference:  0.000073753

Chris Sparks

>  <<test_time2.adb>>


ATOM RSS1 RSS2