Amesos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
Amesos_Time Class Reference

Amesos_Time: Container for timing information. More...

#include <Amesos_Time.h>

Inheritance diagram for Amesos_Time:
Inheritance graph
[legend]

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

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