![]() |
KASKADE 7 development version
|
Timer policy measuring the CG sub-operations via Kaskade's Timings facility. More...
#include <cgImplementation.hh>
Public Member Functions | |
| MeasureTime (Timings &timer_=Timings::instance()) | |
| void | resumeCGTimer () |
| void | resumeMVTimer () |
| void | resumeDPTimer () |
| void | resumeAPTimer () |
| void | resumePRTimer () |
| void | stopCGTimer () |
| void | stopMVTimer () |
| void | stopDPTimer () |
| void | stopAPTimer () |
| void | stopPRTimer () |
| void | printTimers () |
Timer policy measuring the CG sub-operations via Kaskade's Timings facility.
Times the four sub-operations of the conjugate gradient iteration (matrix-vector products, dual pairings, vector axpy operations, preconditioner applications) as nested sections of a top-level "CG solver" section in the Timings tree, e.g. in the global Timings::instance(). The accumulated times appear in the standard Timings::report() output together with all other Kaskade timings, with call counts and shares of the enclosing section.
The constructor takes the Timings instance to record into (defaulting to the global one), so a caller may provide a dedicated instance, e.g. one per thread.
Definition at line 193 of file cgImplementation.hh.
|
inline |
Definition at line 195 of file cgImplementation.hh.
|
inline |
Definition at line 209 of file cgImplementation.hh.
|
inline |
Definition at line 200 of file cgImplementation.hh.
|
inline |
Definition at line 197 of file cgImplementation.hh.
|
inline |
Definition at line 199 of file cgImplementation.hh.
|
inline |
Definition at line 198 of file cgImplementation.hh.
|
inline |
Definition at line 201 of file cgImplementation.hh.
|
inline |
Definition at line 206 of file cgImplementation.hh.
|
inline |
Definition at line 203 of file cgImplementation.hh.
|
inline |
Definition at line 205 of file cgImplementation.hh.
|
inline |
Definition at line 204 of file cgImplementation.hh.
|
inline |
Definition at line 207 of file cgImplementation.hh.