×

System and method for measuring code segment performance

  • US 7,143,396 B2
  • Filed: 11/06/2002
  • Issued: 11/28/2006
  • Est. Priority Date: 11/06/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method of monitoring performance of a program executing in a computer, comprising:

  • installing a uniquely identifiable probe at each of N probe points (N≧

    2) by;

    copying an original instruction at the probe point to a corresponding probe function;

    modifying the original instruction path to branch to said probe function prior to the original instruction; and

    configuring said probe function to return to the original instruction path; and

    during execution of a first probe function corresponding to a first probe point;

    updating a first timestamp associated with the first probe point with a current timestamp; and

    for each of N-1 other probe points;

    retrieving another timestamp associated with another probe point that preceded the first probe point during execution of the program; and

    updating a probe path matrix on a computer readable medium to reflect the time difference between said current timestamp and said retrieved timestamp.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×