Skip to content

Commit 6fa9b7f

Browse files
cchambreaujsquyres
authored andcommitted
pr feedback - corrected comment references to events
Signed-off-by: Chris Chambreau <chambreau1@llnl.gov>
1 parent 29926a6 commit 6fa9b7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ompi/mpi/tool/event_handle_alloc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ int MPI_T_event_handle_alloc (int event_index, void *obj_handle, MPI_Info info,
3636

3737
ompi_mpit_lock ();
3838

39-
/* Find the performance variable. mca_base_event_get() handles the
39+
/* Find the event. mca_base_event_get_by_index() handles the
4040
bounds checking. */
4141
ret = mca_base_event_get_by_index (event_index, (mca_base_event_t **) &event);
4242
if (OMPI_SUCCESS != ret) {
4343
goto fn_fail;
4444
}
4545

46-
/* Check the variable binding is something sane */
46+
/* Check the event binding is something sane */
4747
if (event->event_bind > MPI_T_BIND_MPI_INFO || event->event_bind < MPI_T_BIND_NO_OBJECT) {
48-
/* This variable specified an invalid binding (not an MPI object). */
48+
/* This event specified an invalid binding (not an MPI object). */
4949
ret = MPI_T_ERR_INVALID_INDEX;
5050
goto fn_fail;
5151
}

0 commit comments

Comments
 (0)