MPIEventUserLimitData
Declaration
typedef struct MPIEventUserLimitData { MPIGeneric64 conditionSourceData[MPIUserLimitConditionCOUNT]; } MPIEventUserLimitData;
Required Header: stdmpi.h
Change History: Added in 04.00.
Description
MPIEventUserLimitData holds information about a user limit event generated on the controller.
conditionSourceData | The values of the conditions’ source data registers when the event occurred. |
---|
Sample Code
MPI_RESULT MPI_DECL2 myUserLimitEventCallback(MPIControl control, const MPIEventData* status, void* userData) { /* print event information to the screen. */ printf("%s event occurred at controller sample %d.\n" " Condition[0] Source Data = 0x%016llx\n" " Condition[1] Source Data = 0x%016llx\n", mpiEventTypeName(status->eventType), status->data.sampleCounter, status->data.userLimit.conditionSourceData[0].ui64, status->data. userLimit. conditionSourceData[1].ui64); }
See Also