Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Zoltan2::TimerManager Class Reference

#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...
 

Detailed Description

Definition at line 64 of file Zoltan2_TimerManager.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.


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