PyTrilinos::Epetra::Time Class Reference

Inheritance diagram for PyTrilinos::Epetra::Time:

Inheritance graph
[legend]
Collaboration diagram for PyTrilinos::Epetra::Time:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def WallTime
def ResetStartTime
def ElapsedTime
def __init__
def WallTime
def ResetStartTime
def ElapsedTime

Public Attributes

 this


Detailed Description

Epetra_Time: The Epetra Timing Class.

The Epetra_Time class is a wrapper that encapsulates the general
information needed getting timing information. Currently it return the
elapsed time for each calling processor.. A Epetra_Comm object is
required for building all Epetra_Time objects.

Epetra_Time support both serial execution and (via MPI) parallel
distributed memory execution. It is meant to insulate the user from
the specifics of timing across a variety of platforms.

C++ includes: Epetra_Time.h 

Member Function Documentation

def PyTrilinos::Epetra::Time::__init__ (   self,
  args 
)

__init__(self, Comm Comm) -> Time
__init__(self, Time Time) -> Time

Epetra_Time::Epetra_Time(const Epetra_Time &Time)

Epetra_Time Copy Constructor.

Makes an exact copy of an existing Epetra_Time instance. 

Reimplemented from PyTrilinos::Epetra::Object.

def PyTrilinos::Epetra::Time::__init__ (   self,
  args 
)

__init__(self, Comm Comm) -> Time
__init__(self, Time Time) -> Time

Epetra_Time::Epetra_Time(const Epetra_Time &Time)

Epetra_Time Copy Constructor.

Makes an exact copy of an existing Epetra_Time instance. 

Reimplemented from PyTrilinos::Epetra::Object.

def PyTrilinos::Epetra::Time::ElapsedTime (   self,
  args 
)

ElapsedTime(self) -> double

double
Epetra_Time::ElapsedTime(void) const

Epetra_Time elapsed time function.

Returns the elapsed time in seconds since the timer object was
constructed, or since the ResetStartTime function was called. A code
section can be timed by putting it between the Epetra_Time constructor
and a call to ElapsedTime, or between a call to ResetStartTime and
ElapsedTime. 

def PyTrilinos::Epetra::Time::ElapsedTime (   self,
  args 
)

ElapsedTime(self) -> double

double
Epetra_Time::ElapsedTime(void) const

Epetra_Time elapsed time function.

Returns the elapsed time in seconds since the timer object was
constructed, or since the ResetStartTime function was called. A code
section can be timed by putting it between the Epetra_Time constructor
and a call to ElapsedTime, or between a call to ResetStartTime and
ElapsedTime. 

def PyTrilinos::Epetra::Time::ResetStartTime (   self,
  args 
)

ResetStartTime(self)

void
Epetra_Time::ResetStartTime(void)

Epetra_Time function to reset the start time for a timer object.

Resets the start time for the timer object to the current time A code
section can be timed by putting it between a call to ResetStartTime
and ElapsedTime. 

def PyTrilinos::Epetra::Time::ResetStartTime (   self,
  args 
)

ResetStartTime(self)

void
Epetra_Time::ResetStartTime(void)

Epetra_Time function to reset the start time for a timer object.

Resets the start time for the timer object to the current time A code
section can be timed by putting it between a call to ResetStartTime
and ElapsedTime. 

def PyTrilinos::Epetra::Time::WallTime (   self,
  args 
)

WallTime(self) -> double

double
Epetra_Time::WallTime(void) const

Epetra_Time wall-clock time function.

Returns the wall-clock time in seconds. A code section can be timed by
putting it between two calls to WallTime and taking the difference of
the times. 

def PyTrilinos::Epetra::Time::WallTime (   self,
  args 
)

WallTime(self) -> double

double
Epetra_Time::WallTime(void) const

Epetra_Time wall-clock time function.

Returns the wall-clock time in seconds. A code section can be timed by
putting it between two calls to WallTime and taking the difference of
the times. 


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

Generated on Thu Dec 17 11:00:20 2009 for PyTrilinos by  doxygen 1.5.9