Opm::Timer Class Reference Provides an encapsulation to measure the system time. More...
Detailed DescriptionProvides an encapsulation to measure the system time. This means the wall clock time used by the simulation, the CPU time used by all threads of a single process and the CPU time used by the overall simulation. (i.e., the time used by all threads of all involved processes.) Constructor & Destructor Documentation◆ Timer()
References halt(). Member Function Documentation◆ cpuTimeElapsed()
Return the CPU time [s] used by all threads of the local process for the periods the timer was active. Referenced by globalCpuTimeElapsed(), and operator+=(). ◆ elapsed()
This is an alias for realTimeElapsed() Its main purpose is to make the API of the class a superset of Dune::Timer References realTimeElapsed(). ◆ globalCpuTimeElapsed()
Return the CPU time [s] used by all threads of the all processes of program. The value returned only differs from cpuTimeElapsed() if MPI is used. References cpuTimeElapsed(). ◆ halt()
Stop the measurement reset all timing values. Referenced by Opm::NewtonMethod< TypeTag >::apply(), Opm::Linear::SolverReport::reset(), Timer(), and Opm::FvBaseDiscretization< TypeTag >::update(). ◆ operator+=()Adds the time of another timer to the current one. References cpuTimeElapsed(), and realTimeElapsed(). ◆ realTimeElapsed()
Return the real time [s] elapsed during the periods the timer was active since the last reset. Referenced by Opm::NewtonMethod< TypeTag >::apply(), elapsed(), operator+=(), and Opm::Simulator< TypeTag >::run(). ◆ reset()
Make the current point in time t=0 but do not change the status of the timer. ◆ start()
Start counting the time resources used by the simulation. Referenced by Opm::NewtonMethod< TypeTag >::apply(), Opm::Linear::BiCGStabSolver< LinearOperator, Vector, Preconditioner >::apply(), Opm::Simulator< TypeTag >::run(), Opm::Simulator< TypeTag >::Simulator(), and Opm::FvBaseDiscretization< TypeTag >::update(). ◆ stop()
Stop counting the time resources. Returns the wall clock time the timer was active. Referenced by Opm::NewtonMethod< TypeTag >::apply(), Opm::Simulator< TypeTag >::run(), Opm::Simulator< TypeTag >::Simulator(), Opm::FvBaseDiscretization< TypeTag >::update(), and Opm::TimerGuard::~TimerGuard(). The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||