IJittedMethodLoadedEventObserver Interface Reference

Observer interface for receiving JITted Method Loaded events. More...

#include <MpiAPI.h>

Inheritance diagram for IJittedMethodLoadedEventObserver:

IEventObserver

List of all members.

Public Member Functions

virtual TEventType Type ()
 Returns the event type supported by the observer.
virtual BitSet EventDataTypes ()
 Returns the data items to provide with the event when it occurs.
virtual void HandleEvent (SJittedMethodLoadedEventData &data)=0
 Event Handler.


Detailed Description

The JITted Method Loaded event is sent after a method is JIT-compiled. The compilation information (e.g., native code) is available at the time of the event.

The event is not neccessarily sent on the thread executing the method. The event may be sent after a method has started to execute (i.e., after the Method Enter event).

The data items supported by this event are specified by the default implementation of the EventDataTypes method


Member Function Documentation

virtual TEventType Type (  )  [inline, virtual]

Returns the MPI event type requested by the observer. Implemented for each observer interface class. MPI clients that implement event-specific observer classes must not override this method.

Returns:
the MPI event type

Implements IEventObserver.

virtual BitSet EventDataTypes (  )  [inline, virtual]

Specifies the data items to provide with the event when it occurs. Data items are specified as a combination of TDataRequestType constants OR'ed together. By default, an event-specific observer interface returns the maximum possible data items that can be returned with that event. MPI clients can override this method to specify a subset of those data items to be returned with the event.

Returns:
a combination of bits, each represents a data item to provide when the event occurs.

Implements IEventObserver.

virtual void HandleEvent ( SJittedMethodLoadedEventData data  )  [pure virtual]

JITted Method Loaded event handler

Parameters:
[in] data event data. The 'validData' field indicates which members of the structure are valid.


The documentation for this interface was generated from the following file:


Generated on Thu Mar 6 15:08:01 2008 for Martini by doxygen 1.5.5