PyTrilinos  Development
 All Classes Functions
Public Member Functions | Public Attributes
PyTrilinos.ML.TimeObject Class Reference
Inheritance diagram for PyTrilinos.ML.TimeObject:
Inheritance graph
[legend]
Collaboration diagram for PyTrilinos.ML.TimeObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def ResetTimer
def UpdateTime
def GetTime

Public Attributes

 this

Detailed Description

Class to track time spent in an object.

Marzio Sala, SNL 9214

C++ includes: MLAPI_TimeObject.h 

Constructor & Destructor Documentation

def PyTrilinos.ML.TimeObject.__init__ (   self,
  args 
)
__init__(MLAPI::TimeObject self) -> TimeObject

MLAPI::TimeObject::TimeObject()

Constructor, set counter to 0.0. 

Reimplemented in PyTrilinos.ML.InverseOperator, PyTrilinos.ML.PyMatrix, PyTrilinos.ML.Operator, and PyTrilinos.ML.MultiVector.


Member Function Documentation

def PyTrilinos.ML.TimeObject.GetTime (   self,
  args 
)
GetTime(TimeObject self) -> double

double
MLAPI::TimeObject::GetTime() const

Returns the internally stored counter. 
def PyTrilinos.ML.TimeObject.ResetTimer (   self,
  args 
)
ResetTimer(TimeObject self)

void
MLAPI::TimeObject::ResetTimer() const

Resets the internal timer. 
def PyTrilinos.ML.TimeObject.UpdateTime (   self,
  args 
)
UpdateTime(TimeObject self)
UpdateTime(TimeObject self, double t)

void
MLAPI::TimeObject::UpdateTime(double t) const

Updates the internal timer with input value t. 

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