Patent ID: 6026236
Filing Date: 2000-02-15
Classification: G06F

Abstract:
A computer implemented method comprising:monitoring, automatically, an execution of a plurality of routines executing on a computer system, each of the routines having a separate plurality of computer executable instructions, the step of monitoring further comprising the steps of:receiving a selection, from a user, of at least one of the routines to be monitored and a corresponding user supplied high level language routine from a plurality of user supplied routines for user defined performance monitoring of the selected routine;automatically performing modifications to the selected routine to replace one of said plurality of computer executable instructions, at an entry point to the selected routine, with a branch instruction causing execution to branch to a monitor process;calling automatically, from the monitor process, the selected user supplied routine as an entry monitor, selected specifically for the selected routine, to perform the user defined performance monitoring upon entry to the selected routine;automatically returning to the monitor process from the entry monitor upon completion of the entry monitor;performing, by the monitor process, a plurality of monitoring instructions common to each of the plurality of routines;executing, within the monitor process, the replaced one of said plurality of computer executable instructions of the selected routine; andreturning execution control to said plurality of computer executable instructions of the selected routine after executing within the monitor process the replaced computer executable instruction.