Patent ID: 7437734

Claim:
A method of instrumenting a Common Object Model (COM) object invoked by a client for performing a selected business logic, comprising: intercepting a request from the client for creating said COM object, generating a wrapper object corresponding to said requested COM object, said wrapper object implementing a universal interface having a plurality of virtual functions each indexed by a number corresponding to an index number of a method associated with an interface of said requested COM object, providing said client with a reference pointer to said wrapper COM object, upon invocation of a method associated with an interface of the requested COM object by the client, invoking a virtual function of said universal interface of the wrapper object indexed by a number corresponding to an index number of said invoked method, wherein said invoked virtual function references instructions for saving a start time marker, executing instructions corresponding to said invoked method, and saving a stop time marker upon completion of execution of said instructions associated with the invoked method.