Profiling of performance behaviour of executed loops
AssigneeInternational Business Machines Corporation
InventorsGad Haber, Marcel Zalmanovici
Life of this patent
Estimating the term…
Abstract
A method and system for profiling performance behaviour of executed loops. For each invocation of a loop, a count of a measured event is incremented. A display is provided for a loop (209) showing the number of measured events for each of the loop's invocations. The code of a loop is instrumented (204) to obtain the count of loop invocations (207) and the occurrences of the measured event (208).
Claims16
A method for profiling performance behaviour of executed loops, comprising:
- for each invocation of a loop, incrementing a count of a measured event;
- and
- providing a display for a loop showing the number of measured events for each of the loop's invocations.
A computer program product stored on a computer readable storage medium for profiling performance behaviour of executed loops, comprising computer readable program code means for performing the steps of:
- for each invocation of a loop, incrementing a count of a measured event;
- and
- providing a display for a loop showing the number of measured events for each of the loop's invocations.
A system for profiling performance behaviour of executed loops, comprising:
- a first counter for the invocations of a loop;
- a second counter for the occurrences of a measured event for each invocation of the loop;
- and
- a display for a loop showing the number of measured events for each of the loop's invocations.
Performance analysis tool for profiling performance behaviour of executed loops, comprising:
- an index for recording the invocation number of a loop;
- and
- an array of counters for each invocation of the loop for recording measured events in the invocation.
Dependencies are inferred from the claim text.