comp.lang.ada
 help / color / mirror / Atom feed
From: Stuart Palin <stuart.palin@baesystems.com>
Subject: Re: Worst Case Execution Time Tool?
Date: Wed, 05 Dec 2001 17:28:07 +0000
Date: 2001-12-05T17:28:07+00:00	[thread overview]
Message-ID: <3C0E5927.5657963A@baesystems.com> (raw)
In-Reply-To: 0CdP7.48989$xS6.81382@www.newsranger.com

Ted Dennison wrote:

> In article <3C0D536C.2E059EE8@computer.org>, StationSteve says...
> >Are there any tools that quantitatively determine the worst case
> >execution time (WCET) of an Ada83 program or subprogram?

> Wouldn't such a tool also be able to solve the Halting Problem? (
> http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=halting+problem )

<simple answer>
No!
</simple answer>

If a WCET tool was developed on general terms with the intention of
dealing with all forms of program, then it is most likely that if a
non-terminating program was submitted for analysis the analysis itself
would not halt.

In more practical terms, this type of tool will typically constrain the
types of program that it will analyze.  Typically this might prohibit
recursion and demand upper limits for loops to be statically
determinable (either from the code or from annotations).  Such rarified
problems as the Halting Problem are hardly a consideration.

--
Stuart Palin
Principal Software Engineer
BAE SYSTEMS Avionics Ltd, Rochester
G-NET 791 3364    mailto:stuart.palin@baesystems.com



  reply	other threads:[~2001-12-05 17:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-04 22:51 Worst Case Execution Time Tool? StationSteve
2001-12-05  0:10 ` Ted Dennison
2001-12-05 17:28   ` Stuart Palin [this message]
2001-12-05 18:33     ` Ted Dennison
2001-12-06 14:05       ` StationSteve
2001-12-06 16:40         ` Ted Dennison
2001-12-06 21:27           ` StationSteve
2001-12-06 22:44             ` Ted Dennison
2001-12-07  1:00               ` annonymous
2001-12-05 10:00 ` Rod Chapman
2001-12-05 14:54   ` StationSteve
2001-12-05 15:31     ` Jeffrey L. Susanj
2001-12-05 17:32     ` Stuart Palin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox