#include <MpiAPI.h>
Public Member Functions | |
virtual EFilterType | Type () |
Returns the filter type. | |
virtual bool | ShouldNotify (SCallGraphFilterData &methodInfo)=0 |
Invoked to determine event selectivity for a method. |
To implement selectivity, the client defines a filter class which implements this interface, and then registers an instance of this class with MPI using the IMpi::SetEventGroupFilter method.
The MPI implementation will call the ShouldNotify method of the filter class for each new method it encounters, in order to determine whether to generate Call Graph events for this method.
virtual EFilterType Type | ( | ) | [inline, virtual] |
Returns the filter type. The MPI implementation is using the function to determine the type of the filter.
Implements IEventFilter.
virtual bool ShouldNotify | ( | SCallGraphFilterData & | methodInfo | ) | [pure virtual] |
This method is implemented by the filter class and called by the MPI implementation for each method that is about to execute to determine whether to report Call Graph events for the method
[in] | methodInfo | method information |
true | an implementation returns true to indicate that events should be reported for this method | |
false | an implementation returns false to indicate that events should not be reported for this method |
(C) Copyright Intel Corporation 2007-2008. All Rights Reserved.
Generated on Thu Mar 6 15:08:08 2008 for Martini by