Amesos_Time Class Reference

Amesos_Time: Container for timing information. More...

#include <Amesos_Time.h>

Inheritance diagram for Amesos_Time:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Amesos_Time ()
 Default constructor to create size timers.
virtual ~Amesos_Time ()
 Default destructor.
void CreateTimer (const Epetra_Comm &Comm, int size=1)
 Initializes the Time object.
void ResetTimer (const int timerID=0)
 Resets the internally stored time object.
int AddTime (const std::string what, int dataID, const int timerID=0)
 Adds to field what the time elapsed since last call to ResetTimer().
double GetTime (const std::string what) const
 Gets the cumulative time using the string.
double GetTime (const int dataID) const
 Gets the cumulative time using the dataID.
void GetTiming (Teuchos::ParameterList &list) const
 Load up the current timing information into the parameter list.


Detailed Description

Amesos_Time: Container for timing information.

Author:
Marzio Sala, SNL 9214
Date:
Last updated on 26-March-07 by Heidi Thornquist

Constructor & Destructor Documentation

Amesos_Time::Amesos_Time (  )  [inline]

Default constructor to create size timers.

virtual Amesos_Time::~Amesos_Time (  )  [inline, virtual]

Default destructor.


Member Function Documentation

int Amesos_Time::AddTime ( const std::string  what,
int  dataID,
const int  timerID = 0 
) [inline]

Adds to field what the time elapsed since last call to ResetTimer().

void Amesos_Time::CreateTimer ( const Epetra_Comm &  Comm,
int  size = 1 
) [inline]

Initializes the Time object.

double Amesos_Time::GetTime ( const int  dataID  )  const [inline]

Gets the cumulative time using the dataID.

double Amesos_Time::GetTime ( const std::string  what  )  const [inline]

Gets the cumulative time using the string.

void Amesos_Time::GetTiming ( Teuchos::ParameterList &  list  )  const [inline]

Load up the current timing information into the parameter list.

Reimplemented in Amesos_Dscpack, Amesos_Klu, Amesos_Lapack, Amesos_Mumps, Amesos_Paraklete, Amesos_Pardiso, Amesos_Scalapack, Amesos_Superlu, Amesos_Superludist, Amesos_Taucs, and Amesos_Umfpack.

void Amesos_Time::ResetTimer ( const int  timerID = 0  )  [inline]

Resets the internally stored time object.


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