Zoltan2
|
#include <Zoltan2_TimerManager.hpp>
Public Member Functions | |
TimerManager (const RCP< const Comm< int > > &comm, std::ofstream *of, TimerType tt) | |
Constructor for output to a file. More... | |
TimerManager (const RCP< const Comm< int > > &comm, std::ostream *os, TimerType tt) | |
Constructor for output to an std::ostream. More... | |
~TimerManager () | |
Destructor. More... | |
void | start (TimerType tt, const std::string &name) |
Start the named timer. More... | |
void | stop (TimerType tt, const std::string &name) |
Stop the named timer. More... | |
void | printAndResetToZero () |
Print out global summary of timers and reset timers to zero. More... | |
void | print () const |
Print out global summary, do not reset timers. More... | |
Definition at line 64 of file Zoltan2_TimerManager.hpp.
Zoltan2::TimerManager::TimerManager | ( | const RCP< const Comm< int > > & | comm, |
std::ofstream * | of, | ||
TimerType | tt | ||
) |
Constructor for output to a file.
Definition at line 54 of file Zoltan2_TimerManager.cpp.
Zoltan2::TimerManager::TimerManager | ( | const RCP< const Comm< int > > & | comm, |
std::ostream * | os, | ||
TimerType | tt | ||
) |
Constructor for output to an std::ostream.
Definition at line 71 of file Zoltan2_TimerManager.cpp.
Zoltan2::TimerManager::~TimerManager | ( | ) |
Destructor.
Definition at line 88 of file Zoltan2_TimerManager.cpp.
void Zoltan2::TimerManager::start | ( | TimerType | tt, |
const std::string & | name | ||
) |
Start the named timer.
Definition at line 120 of file Zoltan2_TimerManager.cpp.
void Zoltan2::TimerManager::stop | ( | TimerType | tt, |
const std::string & | name | ||
) |
Stop the named timer.
Definition at line 96 of file Zoltan2_TimerManager.cpp.
void Zoltan2::TimerManager::printAndResetToZero | ( | ) |
Print out global summary of timers and reset timers to zero.
Definition at line 150 of file Zoltan2_TimerManager.cpp.
void Zoltan2::TimerManager::print | ( | ) | const |
Print out global summary, do not reset timers.
Definition at line 142 of file Zoltan2_TimerManager.cpp.