skip to main content
10.1145/100348.100466acmconferencesArticle/Chapter ViewAbstractPublication PagescscConference Proceedingsconference-collections
Article
Free Access

A dual-algorithm performance monitoring system (abstract)

Authors Info & Claims
Published:01 January 1990Publication History

ABSTRACT

Using the compiler and interpreter published by Ben-Ari, an algorithm performance monitoring system is built. By removing the randomness from the procedure which selects and controls the execution of multiple processes an unbiased execution of two algorithms can be achieved. Creating a window mechanism for viewing simultaneous execution is accomplished by the creating extensions to the language and rewriting portions of the interpreter.

The extensions indicate where performance monitoring is to begin and where it is to end as well as how the screen is to be controlled during execution. A new standard procedure is used to split the screen vertically into two windows and to set flags that control input and output to each window. Another standard procedure indicates where performance monitoring is to end and causes the screen to return to normal.

All instructions encountered by the interpreter which handle the input and output have been altered. The flags cause each process's input and output requests to appear in the correct window.

In an educational environment, this system can be used to illustrate the fundamental operations of an algorithm. By viewing two algorithms executing simultaneously, the student can directly compare the performance of both algorithms.

The complete system was constructed using VAX Pascal and utilizes the VMS Screen Management routines to manage input and output.

References

  1. 1.Ben-Ari, M., Principles of Concurrent Programming, Prentice-Hall,Englewood Cliffs, N. J. (1982). Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.Brown, M., Algorithm Animation, the MIT Press, Cambridge, Mass. (1987).Google ScholarGoogle Scholar

Index Terms

  1. A dual-algorithm performance monitoring system (abstract)

        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
        • Published in

          cover image ACM Conferences
          CSC '90: Proceedings of the 1990 ACM annual conference on Cooperation
          January 1990
          475 pages
          ISBN:0897913485
          DOI:10.1145/100348
          • Chairman:
          • Arun Sood

          Copyright © 1990 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 January 1990

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article
        • Article Metrics

          • Downloads (Last 12 months)5
          • Downloads (Last 6 weeks)0

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader