×

Tools and techniques for instrumenting interfaces of units of a software program

  • US 7,039,919 B1
  • Filed: 11/20/1998
  • Issued: 05/02/2006
  • Est. Priority Date: 10/02/1998
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-readable medium storing computer-executable instructions for causing a computer system programmed thereby to perform a method comprising:

  • detecting a reference to an interface, wherein a software program comprises plural units, and wherein one of the plural units exposes the interface;

    determining if the interface has been wrapped by checking a data structure that tracks interface wrapping for the plural units of the software program by determining if there is an existing entry for the interface in the data structure;

    if the interface has been wrapped, returning a reference to the existing entry for the interface from the data structure, wherein the existing entry is a reference to an existing interface wrapper related to the interface which associates the interface with a unit identity for the unit that exposes the interface, wherein the existing interface wrapper stores a reference to instrumentation, the reference to the interface, and the unit identity of the unit that exposes the interface;

    if the interface has not been wrapped,discovering the unit identity of the unit that exposes the interface;

    adding a new entry to the data structure, wherein the new entry is a reference to a new interface wrapper related to the interface which associates the interface with the discovered unit identity; and

    returning a reference to the new entry.

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