Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
panzer::PAPICounter Class Reference

#include <Panzer_PAPI_Counter.hpp>

Classes

struct  InternalCounter
 

Public Member Functions

 PAPICounter (const std::string, const int my_rank, MPI_Comm comm)
 
void start ()
 
void stop ()
 
void report (std::ostream &os)
 

Private Attributes

std::string m_name
 
int m_rank
 
MPI_Comm m_comm
 

Static Private Attributes

static std::map< std::string,
InternalCounter
m_counters
 dangerous in a multithreaded world! More...
 

Detailed Description

Definition at line 20 of file Panzer_PAPI_Counter.hpp.

Constructor & Destructor Documentation

panzer::PAPICounter::PAPICounter ( const std::string  name,
const int  my_rank,
MPI_Comm  comm 
)

Definition at line 18 of file Panzer_PAPI_Counter.cpp.

Member Function Documentation

void panzer::PAPICounter::start ( )

Definition at line 24 of file Panzer_PAPI_Counter.cpp.

void panzer::PAPICounter::stop ( )

Definition at line 31 of file Panzer_PAPI_Counter.cpp.

void panzer::PAPICounter::report ( std::ostream &  os)

Definition at line 39 of file Panzer_PAPI_Counter.cpp.

Member Data Documentation

std::map< std::string, PAPICounter::InternalCounter > panzer::PAPICounter::m_counters
staticprivate

dangerous in a multithreaded world!

Definition at line 61 of file Panzer_PAPI_Counter.hpp.

std::string panzer::PAPICounter::m_name
private

Definition at line 62 of file Panzer_PAPI_Counter.hpp.

int panzer::PAPICounter::m_rank
private

Definition at line 63 of file Panzer_PAPI_Counter.hpp.

MPI_Comm panzer::PAPICounter::m_comm
private

Definition at line 64 of file Panzer_PAPI_Counter.hpp.


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