OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
Get elapsed wall-time in millisecond. More...
#include <UtilTiming.hpp>
Public Member Functions | |
__inline__ void | Start () |
Start the timer. | |
__inline__ double | Stop () const |
Stop the timer and return duration from start() in ms. | |
void | StopInfo (const std::string &info, std::ostream &out=std::cout) const |
Stop the timer and print out duration time. More... | |
Get elapsed wall-time in millisecond.
Read the current wall-time and return duration from start() to stop().
Definition at line 31 of file UtilTiming.hpp.
void GetWallTime::StopInfo | ( | const std::string & | info, |
std::ostream & | out = std::cout |
||
) | const |
Stop the timer and print out duration time.
Stop timer and print out the duration time in ms, s, or m.
Definition at line 15 of file UtilTiming.cpp.
References CLOCK_USE_MIN, CLOCK_USE_SEC, and Stop().