Skip to content

Commit 9201503

Browse files
committed
fix SPC example
Signed-off-by: Thomas Naughton <[email protected]>
1 parent 23269cc commit 9201503

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/spc_example.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ int main(int argc, char **argv)
5454
char name[256], description[256];
5555

5656
/* Counter names to be read by ranks 0 and 1 */
57-
char *counter_names[] = {"runtime_spc_OMPI_BYTES_SENT_USER",
58-
"runtime_spc_OMPI_BYTES_RECEIVED_USER" };
57+
/* (See also: ompi_spc_counters_t for list) */
58+
char *counter_names[] = {"runtime_spc_OMPI_SPC_BYTES_SENT_USER",
59+
"runtime_spc_OMPI_SPC_BYTES_RECEIVED_USER" };
5960

6061
MPI_Init(NULL, NULL);
6162
MPI_T_init_thread(MPI_THREAD_SINGLE, &provided);

0 commit comments

Comments
 (0)