61 : StartTime_(Time.StartTime_),
75 MPI_Initialized(&mpiInitialized);
77 if( mpiInitialized ) {
87 return( (
double)( start ) / CLOCKS_PER_SEC );
94 return(omp_get_wtime());
96#if ICL || defined(_WIN32)
102 return (
double)( start ) / CLOCKS_PER_SEC;
108 static long start=0, startu;
111 gettimeofday(&tp, NULL);
116 gettimeofday(&tp, NULL);
117 return( ((
double) (tp.tv_sec - start)) + (tp.tv_usec-startu)/1000000.0 );
119 return( (
double) clock() / CLOCKS_PER_SEC );
Epetra_Comm: The Epetra Communication Abstract Base Class.
Epetra_Time: The Epetra Timing Class.
virtual ~Epetra_Time(void)
Epetra_Time Destructor.
double WallTime(void) const
Epetra_Time wall-clock time function.
void ResetStartTime(void)
Epetra_Time function to reset the start time for a timer object.
Epetra_Time(const Epetra_Comm &Comm)
Epetra_Time Constructor.
double ElapsedTime(void) const
Epetra_Time elapsed time function.