STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::runtime::mpe_profiler Class Reference

Notifies MPE of a new instrumented section. More...

Public Member Functions

 mpe_profiler (const char *s, const int traits)
 Notifies the MPE layer of a new section with the given title and primitive_traits. More...
 
 mpe_profiler (mpe_profiler const &)=delete
 
mpe_profileroperator= (mpe_profiler const &)=delete
 
 ~mpe_profiler (void)
 Completes and unregister the MPE event, writing it to the log file and destroys this mpe_profiler object.
 

Detailed Description

Notifies MPE of a new instrumented section.

MPE is an MPI-based visualization tool. A few examples can be seen in http://wiki.mpich.org/mpich/index.php/MPE_by_example

The colors that are used in the integration are

  1. white for newly created environments (gangs),
  2. maroon for blocking yields and gray for non-blocking yields,
  3. red for blocking synchronization and pink for non-blocking synchronization,
  4. orange for blocking communication and cyan for non-blocking communication and
  5. yellow for the rest of the primitives.

Constructor & Destructor Documentation

◆ mpe_profiler()

stapl::runtime::mpe_profiler::mpe_profiler ( const char *  s,
const int  traits 
)

Notifies the MPE layer of a new section with the given title and primitive_traits.

It will create a new MPE event and register it as active until the destruction of the mpe_profiler object.

Parameters
sThe title for the MPE event.
traitsThe traits to identify the type of the MPE event.

The documentation for this class was generated from the following file: