Skip to content

Commit 8e5894a

Browse files
authored
Merge pull request #9930 from hppritcha/topic/fix_spc_array
spc: fix up an update for isendrecv, etc.
2 parents d6cab86 + 1babb92 commit 8e5894a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/runtime/ompi_spc.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Copyright (c) 2019 Mellanox Technologies, Inc.
1010
* All rights reserved.
1111
* Copyright (c) 2020 IBM Corporation. All rights reserved.
12+
* Copyright (c) 2022 Triad National Security, LLC. All rights reserved.
1213
* $COPYRIGHT$
1314
*
1415
* Additional copyrights may follow
@@ -63,8 +64,6 @@ static const ompi_spc_event_t ompi_spc_events_desc[OMPI_SPC_NUM_COUNTERS] = {
6364
SET_COUNTER_ARRAY(OMPI_SPC_RECV, "The number of times MPI_Recv was called.", false, false),
6465
SET_COUNTER_ARRAY(OMPI_SPC_MRECV, "The number of times MPI_Mrecv was called.", false, false),
6566
SET_COUNTER_ARRAY(OMPI_SPC_ISEND, "The number of times MPI_Isend was called.", false, false),
66-
SET_COUNTER_ARRAY(OMPI_SPC_ISENDRECV, "The number of times MPI_Isendrecv was called.", false, false),
67-
SET_COUNTER_ARRAY(OMPI_SPC_ISENDRECV_REPLACE, "The number of times MPI_Isendrecv_replace was called.", false, false),
6867
SET_COUNTER_ARRAY(OMPI_SPC_IBSEND, "The number of times MPI_Ibsend was called.", false, false),
6968
SET_COUNTER_ARRAY(OMPI_SPC_IRSEND, "The number of times MPI_Irsend was called.", false, false),
7069
SET_COUNTER_ARRAY(OMPI_SPC_ISSEND, "The number of times MPI_Issend was called.", false, false),
@@ -168,6 +167,8 @@ static const ompi_spc_event_t ompi_spc_events_desc[OMPI_SPC_NUM_COUNTERS] = {
168167
"contained at once since the last reset of this counter. Note: This counter is reset each time it is read.", true, false),
169168
SET_COUNTER_ARRAY(OMPI_SPC_MAX_OOS_IN_QUEUE, "The maximum number of messages that the out of sequence message queue(s) within an MPI process "
170169
"contained at once since the last reset of this counter. Note: This counter is reset each time it is read.", true, false)
170+
SET_COUNTER_ARRAY(OMPI_SPC_ISENDRECV, "The number of times MPI_Isendrecv was called.", false, false),
171+
SET_COUNTER_ARRAY(OMPI_SPC_ISENDRECV_REPLACE, "The number of times MPI_Isendrecv_replace was called.", false, false),
171172
};
172173

173174
/* An array of event structures to store the event data (value, attachments, flags) */

0 commit comments

Comments
 (0)