17.2.360. MPI_T_category_get_num_events

MPI_T_category_get_num_events — Query returns the number of event types contained in the queried category.

17.2.360.1. SYNTAX

17.2.360.1.1. C Syntax

int MPI_T_category_get_num_events(int cat_index, int* num_events)

17.2.360.2. INPUT PARAMETERS

  • cat_index: Index of the category to be queried

17.2.360.3. OUTPUT PARAMETERS

  • num_events: Number of event types in the category

17.2.360.4. DESCRIPTION

MPI_T_category_get_num_events can be used to query the number of events contained in the category.

17.2.360.5. ERRORS

MPI_T_category_get_num_events will fail if:

  • MPI_T_ERR_NOT_INITIALIZED: The MPI Tools interface not initialized