17.2.373. MPI_T_event_get_index

MPI_T_event_get_index — Query the index of an event type identified by a known event type name

17.2.373.1. SYNTAX

17.2.373.1.1. C Syntax

int MPI_T_event_get_index(const char* name, int* event_index)

17.2.373.2. INPUT PARAMETERS

  • name: name of the event type

17.2.373.3. OUTPUT PARAMETERS

  • event_index: index of the event type

17.2.373.4. DESCRIPTION

MPI_T_event_get_index can be used to query for the index of an event type identified by a known event type name.

17.2.373.5. ERRORS

MPI_T_event_get_index will fail if:

  • MPI_T_ERR_NOT_INITIALIZED: The MPI Tools interface is not initialized

  • MPI_T_ERR_INVALID_NAME: The event name is invalid initialized