Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Software Performance Analysis Tools

IP.com Disclosure Number: IPCOM000116859D
Original Publication Date: 1995-Nov-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 4 page(s) / 72K

Publishing Venue

IBM

Related People

Babutzka, D: AUTHOR [+3]

Abstract

This article relates to Software Performance Analysis tools, which allow the analysis of new developed programs without measurement faults. As an example environment, this article concentrates on an OS/2* programming environment.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Software Performance Analysis Tools

This article relates to Software Performance Analysis tools, which
allow the analysis of new developed programs without measurement
faults.  As an example environment, this article concentrates on an
OS/2* programming environment.

      When a new program is developed, performance is a very critical
item.  It is necessary to get knowledge about the run-time of
functions and methods, so it is necessary to make measurements under
realtime conditions.

      The results of these measurements should be as exact as
possible, so that tuning can be done at the most critical points.

      Several performance tools are available for OS/2, like EXTRA.
All pure software tools have the problem of missing exactness.  The
reason for this is that software tools use resources of the measured
system.

      Another problem is that these software tools are available for
only one programming language.  In mixed programming language
environments it is not possible to use these tools.

      The solution for these problems is the usage of a combination
of a hardware analysis tool in combination with the Software
Performance Analysis tools.

      It is necessary that the hardware analysis tool DEKKO (which is
a component developed by IBM*) is installed in the measurement
system.

Mode of Operation
  1.  Parser - The parser is implemented as an AWK program, which is
       able to parse MODULA/2-, C- or CCode.  Hooks are included
into
       the Code at the beginning of each function or method and
before
       each return point.
  2.  Calling routine to DEKKO - The hooks make a call to a DLL which
       passes the name of functions and methods to the DEKKO
hardware.
       DEKKO itself saves this data and adds the time when the hook
has
       occurred.
  3.  Analysis routine - The analysis program uses the information
       stored by the DEKKO hardware and provides a listing of the
       analyzed scenario.  In these listing several information is
       included.
      o  Include- and exclude-time of each function and the time when
          the function is called
      o  Thread summary of the run-time of each active thread
      o  Summary how often each function has been called and about
          their Include- and Exclude-time.

EXAMPLE - The following example...