×

Code instrumentation system with non intrusive means and cache memory optimization for dynamic monitoring of code segments

  • US 5,940,618 A
  • Filed: 09/22/1997
  • Issued: 08/17/1999
  • Est. Priority Date: 09/22/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for dynamically monitoring performance of a code segment executing in an information handling system, said method comprising the steps of:

  • (a) collecting data regarding the code segment to be monitored;

    (b) selecting a final memory placement for one or more instrumentation code segments and one or more instrumentation data segments, wherein the final memory placement includes one or more memory areas in which to place the instrumentation code segments and the instrumentation data segments, and wherein said selecting step includes the steps of;

    (c) choosing a possible memory placement for the instrumentation code segments and the instrumentation data segments;

    (d) determining an effect of one or more external factors based on the possible memory placement;

    (e) if the effect is below a predetermined acceptable level, then setting the final memory placement to the possible memory segment;

    (f) if the effect is not below the predetermined acceptable level, then determining if there are one or more additional possible memory placements;

    (g) if there are additional possible memory placements, then repeating steps (c) through (g) until the effect is below the predetermined acceptable level;

    (h) if there are not additional possible memory placements, then performing the following steps;

    (i) placing the instrumentation code segments and the instrumentation data segments into one of the possible memory placements determined in step (c);

    (j) executing the code segment to be monitored;

    (k) calculating an execution time;

    (l) repeating steps (i) through (k) for each possible memory placement;

    (m) setting the final memory placement equal to the possible memory segment which results in a lowest execution time; and

    (n) executing the code segment to be monitored, along with one or more of the instrumentation code segments.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×