42 #include <Epetra_ConfigDefs.h> 44 #include <Epetra_MpiComm.h> 46 #include <Epetra_SerialComm.h> 50 #include <lifev/core/LifeV.hpp> 115 return ( 1. * ( clock() -
M_t1 ) ) / CLOCKS_PER_SEC;
118 return ( 1. * (
M_t2 -
M_t1 ) ) / CLOCKS_PER_SEC;
128 Real localDifference;
129 Real globalDifference;
133 localDifference = ( 1. * ( clock() -
M_t1 ) ) / CLOCKS_PER_SEC;
137 localDifference = ( 1. * (
M_t2 -
M_t1 ) ) / CLOCKS_PER_SEC;
140 comm.MaxAll ( &localDifference, &globalDifference, 1 );
142 return globalDifference;
150 return ( 1. * (
M_dt + clock() -
M_t1 ) ) / CLOCKS_PER_SEC;
153 return ( 1. *
M_dt / CLOCKS_PER_SEC );
Real globalDiff(const comm_Type &comm)
Compute the global difference in time between start and stop for all the processes in the communicato...
void start()
Start the timer.
Real diffCumul()
Return a cumulative time difference.
void updateInverseJacobian(const UInt &iQuadPt)
std::shared_ptr< comm_Type > commPtr_Type
Real diff()
Compute the difference in time between start and stop.
double Real
Generic real data.
void stop()
Stop the timer.