Subroutine execution time tracer

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

39518314, G06F 940

Patent

active

057322724

ABSTRACT:
A subroutine execution time tracer that is able to trace execution times of software subroutines regardless of whether the subroutines are invoked or exited using standard or non-standard subroutine calling conventions is described. A head patch is placed at the beginning of a software subroutine, and a tail patch is placed at the end of the software routine. The invention uses the head patch to examine the return address on the system stack before replacing the return address with the address of a tail patch. If the return address on the system stack already corresponds to a tail patch, then a counter associated with the tail patch is incremented. The counter serves to notify the tail patch that when invoked it must log an additional exit event. This allows subroutines which "jump" to other subroutines (i.e., non-standard subroutine calls) to be properly traced. The invention also configures the tail patch as an internal code stack. The code stack ensures that every exit event will be properly logged and the subroutines will have been successfully traced regardless of whether the subroutines have modified the system stack with non-standard calling conventions. The invention can be implemented as a method, an apparatus, a system or a computer readable medium.

REFERENCES:
patent: 3909797 (1975-09-01), Goss et al.
patent: 4488227 (1984-12-01), Miu et al.
patent: 5016164 (1991-05-01), Srivastava
patent: 5274817 (1993-12-01), Stahl
patent: 5276882 (1994-01-01), Emma et al.
patent: 5301325 (1994-04-01), Benson
patent: 5454086 (1995-09-01), Alpert et al.
patent: 5528753 (1996-06-01), Fortin
patent: 5604877 (1997-02-01), Hoyt et al.
"Microcomputer Systems: The 8086/8088 Family", Liu et al., Prentice Hall, 1986, pp. 145-147.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Subroutine execution time tracer does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Subroutine execution time tracer, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Subroutine execution time tracer will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2297821

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.