Zoltan2 Version of the Day
Public Member Functions
Zoltan2::TimerManager Class Reference

#include <Zoltan2_TimerManager.hpp>

List of all members.

Public Member Functions

 TimerManager (const RCP< const Comm< int > > &comm, std::ofstream *of, TimerType tt)
 Constructor for output to a file.
 TimerManager (const RCP< const Comm< int > > &comm, std::ostream *os, TimerType tt)
 Constructor for output to an std::ostream.
 ~TimerManager ()
 Destructor.
void start (TimerType tt, const string &name)
 Start the named timer.
void stop (TimerType tt, const string &name)
 Stop the named timer.
void printAndResetToZero ()
 Print out global summary of timers and reset timers to zero.
void print () const
 Print out global summary, do not reset timers.

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 string &  name 
)

Start the named timer.

Definition at line 120 of file Zoltan2_TimerManager.cpp.

void Zoltan2::TimerManager::stop ( TimerType  tt,
const 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: