#include <Teuchos_PerformanceMonitorUtils.hpp>
Static Public Member Functions | |
| void | synchNames (const MPIComm &comm, const Array< string > &localNames, Array< string > &allNames) |
| Synchronizes lists of metric names (e.g., timer names) across processors. This is necessary because some functions may not have been invoked on some processors, so that their named timers/counters aren't created on that processor. This function does a set union of all names created on all processors. It is called by synchValues(). | |
| void | synchValues (const MPIComm &comm, const Array< string > &localNames, const Array< Array< double > > &localValues, Array< string > &allNames, Array< Array< double > > &allValues) |
| Creates zero values for metrics absent on this processor but present on other processors. This function uses a call to synchNames() to inform this processor of the existence of other metrics on other processors. | |
| void | reduce (const MPIComm &comm, const EMetricReduction &reductionType, const Array< double > &localVals, Array< double > &reducedVals) |
| Compute reduced performance metrics across processors, for example, min, max, or total times or flop counts. | |
Definition at line 56 of file Teuchos_PerformanceMonitorUtils.hpp.
|
||||||||||||||||
|
Synchronizes lists of metric names (e.g., timer names) across processors. This is necessary because some functions may not have been invoked on some processors, so that their named timers/counters aren't created on that processor. This function does a set union of all names created on all processors. It is called by synchValues().
Definition at line 36 of file Teuchos_PerformanceMonitorUtils.cpp. |
|
||||||||||||||||||||||||
|
Creates zero values for metrics absent on this processor but present on other processors. This function uses a call to synchNames() to inform this processor of the existence of other metrics on other processors.
Definition at line 77 of file Teuchos_PerformanceMonitorUtils.cpp. |
|
||||||||||||||||||||
|
Compute reduced performance metrics across processors, for example, min, max, or total times or flop counts.
Definition at line 125 of file Teuchos_PerformanceMonitorUtils.cpp. |
1.3.9.1