skip to main content
article
Free Access

Verifying Program Performance

Authors Info & Claims
Published:01 October 1976Publication History
Skip Abstract Section

Abstract

It is shown that specifications of program performance can be formally verified. Formal verification techniques, in particular, the method of inductive assertions, can be adapted to show that a program's maximum or mean execution time is correctly described by specifications supplied with the program. To formally establish the mean execution time, branching probabilities are expressed using inductive assertions which involve probability distributions. Verification conditions are formed and proved which establish that if the input distribution is correctly described by the input specifications, then the inductive assertions correctly describe the probability distributions of the data during execution. Once the inductive assertions are shown to be correct, branching probabilities are obtained and mean computation time is computed.

References

  1. 1 FLOYD, R Asslgnmg meanings to programs Proc Symp in Apphed Mathematms, Vol 19, J T Schwartz, Ed , Amer Math Soc , Providence, R.I , 1967, pp 19-32Google ScholarGoogle Scholar
  2. 2 KNUTH, D E. The Art of Computer Programming, Vol 3, Sonmg and Searching Addison-Wesley, Reading, Mass, 1973. Google ScholarGoogle Scholar
  3. 3 WEGBREIT, B. Mechamcal program analysis Comm ACM 18, 9 (Sept 1975), 528-539. Google ScholarGoogle Scholar

Index Terms

  1. Verifying Program Performance

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              • Published in

                cover image Journal of the ACM
                Journal of the ACM  Volume 23, Issue 4
                Oct. 1976
                170 pages
                ISSN:0004-5411
                EISSN:1557-735X
                DOI:10.1145/321978
                Issue’s Table of Contents

                Copyright © 1976 ACM

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 1 October 1976
                Published in jacm Volume 23, Issue 4

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • article

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader