![]() |
Home | Libraries | People | FAQ | More |
boost::mpi::timer — A simple timer that provides access to the MPI timing facilities.
// In header: <boost/mpi/timer.hpp> class timer { public: // construct/copy/destruct (); // public member functions (); () ; () ; () ; // public static functions (); };
The timer
class is a simple wrapper around the MPI timing facilities that mimics the interface of the Boost Timer library.
timer
public member functions();
Restart the timer.
Postconditions: |
|
() ;
Return the amount of time that has elapsed since the last construction or reset, in seconds.
() ;
Return an estimate of the maximum possible value of elapsed(). Note that this routine may return too high a value on some systems.
() ;
Returns the minimum non-zero value that elapsed()
may return. This is the resolution of the timer.