Timer is a simple class to do timing various parts of the code in a portable way. The functionality is intended to be very minimal and simple, but still convenient to use, with as little state as possible.
- Timer() explicit
- Constructor: initialize clock to current time stamp.
Timer:: eta(real term,
Watch& estimatedWatch) const
Estimate time for accomplishment.
|term in||Time at which to terminate time stepping|
|time in||Current time|
|nstep in||Max number of time steps to take|
|it in||Current iteration count|
|elapsedWatch out||Elapsed time in h:m:s|
|estimatedWatch out||Estimated time for accomplishmet in h:m:s|
Timer:: pup(PUP::er& p)
|p in/out||Charm++'s PUP::er serializer object reference|
Pack/Unpack serialize member function