Skip to content

Commit a9ed53a

Browse files
committed
pml/ob1: add SPC instrumentation of sent fin messages
Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
1 parent 9203156 commit a9ed53a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mca/pml/ob1/pml_ob1.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include "ompi/mca/bml/base/base.h"
4848
#include "opal/mca/pmix/pmix-internal.h"
4949
#include "ompi/runtime/ompi_cr.h"
50+
#include "ompi/runtime/ompi_spc.h"
5051

5152
#include "pml_ob1.h"
5253
#include "pml_ob1_component.h"
@@ -708,6 +709,7 @@ int mca_pml_ob1_send_fin( ompi_proc_t* proc,
708709
if( OPAL_LIKELY( 1 == rc ) ) {
709710
MCA_PML_OB1_PROGRESS_PENDING(bml_btl);
710711
}
712+
SPC_RECORD(OMPI_SPC_BYTES_SENT_MPI, (ompi_spc_value_t)sizeof(mca_pml_ob1_fin_hdr_t));
711713
return OMPI_SUCCESS;
712714
}
713715
mca_bml_base_free(bml_btl, fin);

0 commit comments

Comments
 (0)