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 52 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 50 of file Panzer_PAPI_Counter.cpp.

Member Function Documentation

void panzer::PAPICounter::start ( )

Definition at line 56 of file Panzer_PAPI_Counter.cpp.

void panzer::PAPICounter::stop ( )

Definition at line 63 of file Panzer_PAPI_Counter.cpp.

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

Definition at line 71 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 93 of file Panzer_PAPI_Counter.hpp.

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

Definition at line 94 of file Panzer_PAPI_Counter.hpp.

int panzer::PAPICounter::m_rank
private

Definition at line 95 of file Panzer_PAPI_Counter.hpp.

MPI_Comm panzer::PAPICounter::m_comm
private

Definition at line 96 of file Panzer_PAPI_Counter.hpp.


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