

Public Member Functions | |
| def | __init__ |
| def | ResetTimer |
| def | UpdateTime |
| def | GetTime |
Public Attributes | |
| this | |
Class to track time spent in an object. Marzio Sala, SNL 9214 C++ includes: MLAPI_TimeObject.h
| 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.
| 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.
1.7.6.1