|
| 1 | +.. _mpi_t_event_get_info: |
| 2 | + |
| 3 | + |
| 4 | +MPI_T_event_get_info |
| 5 | +==================== |
| 6 | + |
| 7 | +.. include_body |
| 8 | +
|
| 9 | +:ref:`MPI_T_event_get_info` |mdash| Returns additional information about a specific event type |
| 10 | + |
| 11 | + |
| 12 | +SYNTAX |
| 13 | +------ |
| 14 | + |
| 15 | + |
| 16 | +C Syntax |
| 17 | +^^^^^^^^ |
| 18 | + |
| 19 | +.. code-block:: c |
| 20 | +
|
| 21 | + #include <mpi.h> |
| 22 | +
|
| 23 | + int MPI_T_event_get_info(int event_index, char *name, int *name_len, |
| 24 | + int *verbosity, MPI_Datatype array_of_datatypes[], |
| 25 | + MPI_Aint array_of_displacements[], int *num_elements, |
| 26 | + MPI_T_enum *enumtype, MPI_Info *info, char *desc, |
| 27 | + int *desc_len, int *bind) |
| 28 | +
|
| 29 | +INPUT PARAMETERS |
| 30 | +---------------- |
| 31 | +* ``event_index``: Index of the event to be queried. |
| 32 | + |
| 33 | +INPUT/OUTPUT PARAMETERS |
| 34 | +----------------------- |
| 35 | +* ``name_len``: Length of the string and/or buffer for name. |
| 36 | +* ``desc_len``: Length of the string and/or buffer for desc. |
| 37 | +* ``num_elements``: length of array of datatypes and displacements. |
| 38 | + |
| 39 | +OUTPUT PARAMETERS |
| 40 | +----------------- |
| 41 | +* ``name``: Buffer to return the string containing the name of the event type. |
| 42 | +* ``verbosity``: Verbosity level of this event type |
| 43 | +* ``array_of_datatypes``: Array of mpi basic datatypes used to encode the event data |
| 44 | +* ``array_of_displacements``: Array of byte displacements of the elements in the event buffer |
| 45 | +* ``enumtype``: Optional descriptor for enumeration information |
| 46 | +* ``info``: Optional info argument. |
| 47 | +* ``desc``: Buffer to return the string containing the description of the event type. |
| 48 | +* ``bind``: Type of mpi object to which an event of this type must be bound |
| 49 | + |
| 50 | +DESCRIPTION |
| 51 | +----------- |
| 52 | + |
| 53 | +:ref:`MPI_T_event_get_info` can be used to query information from for a specific event type. |
| 54 | + |
| 55 | + |
| 56 | +ERRORS |
| 57 | +------ |
| 58 | + |
| 59 | +:ref:`MPI_T_event_get_info` will fail if: |
| 60 | + |
| 61 | +* ``MPI_T_ERR_NOT_INITIALIZED``: The MPI Tools interface not initialized |
| 62 | + |
| 63 | +* ``MPI_T_ERR_INVALID_INDEX``: The source index is invalid |
| 64 | + |
| 65 | +* ``MPI_T_ERR_INVALID``: Invalid use of the interface or bad parameter values(s). |
| 66 | + |
| 67 | +* ``MPI_ERR_OTHER``: Other error |
0 commit comments