d377a6b6f4
This code is the implementation of Software-base Performance Counters as described in the paper 'Using Software-Base Performance Counters to Expose Low-Level Open MPI Performance Information' in EuroMPI/USA '17 (http://icl.cs.utk.edu/news_pub/submissions/software-performance-counters.pdf). More practical usage information can be found here: https://github.com/davideberius/ompi/wiki/How-to-Use-Software-Based-Performance-Counters-(SPCs)-in-Open-MPI. All software events functions are put in macros that become no-ops when SOFTWARE_EVENTS_ENABLE is not defined. The internal timer units have been changed to cycles to avoid division operations which was a large source of overhead as discussed in the paper. Added a --with-spc configure option to enable SPCs in the Open MPI build. This defines SOFTWARE_EVENTS_ENABLE. Added an MCA parameter, mpi_spc_enable, for turning on specific counters. Added an MCA parameter, mpi_spc_dump_enabled, for turning on and off dumping SPC counters in MPI_Finalize. Added an SPC test and example. Signed-off-by: David Eberius <deberius@vols.utk.edu>
25 строки
702 B
Makefile
25 строки
702 B
Makefile
#
|
|
# Copyright (c) 2018 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# This test requires multiple processes to run. Don't run it as part
|
|
# of 'make check'
|
|
if PROJECT_OMPI
|
|
noinst_PROGRAMS = spc_test
|
|
spc_test_SOURCES = spc_test.c
|
|
spc_test_LDFLAGS = $(OMPI_PKG_CONFIG_LDFLAGS)
|
|
spc_test_LDADD = \
|
|
$(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
|
|
$(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la
|
|
endif # PROJECT_OMPI
|
|
|
|
distclean:
|
|
rm -rf *.dSYM .deps .libs *.la *.lo spc_test prof *.log *.o *.trs Makefile
|