Panzer Version of the Day
Loading...
Searching...
No Matches
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, InternalCounterm_counters
 dangerous in a multithreaded world!
 

Detailed Description

Definition at line 52 of file Panzer_PAPI_Counter.hpp.

Constructor & Destructor Documentation

◆ PAPICounter()

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

◆ start()

void panzer::PAPICounter::start ( )

Definition at line 56 of file Panzer_PAPI_Counter.cpp.

◆ stop()

void panzer::PAPICounter::stop ( )

Definition at line 63 of file Panzer_PAPI_Counter.cpp.

◆ report()

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

Definition at line 71 of file Panzer_PAPI_Counter.cpp.

Member Data Documentation

◆ m_counters

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.

◆ m_name

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

Definition at line 94 of file Panzer_PAPI_Counter.hpp.

◆ m_rank

int panzer::PAPICounter::m_rank
private

Definition at line 95 of file Panzer_PAPI_Counter.hpp.

◆ m_comm

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: