![]() |
open_iA
2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
class for adding up intervals of time one example use case is if you have a long running procedure with many steps, but only want to measure the contribution of some of the steps; e.g. More...
#include <iAPerformanceHelper.h>
Public Member Functions | |
| iAPerformanceTimer::DurationType | elapsed () const |
| iATimeAdder () | |
| void | pause () |
| void | resume () |
class for adding up intervals of time one example use case is if you have a long running procedure with many steps, but only want to measure the contribution of some of the steps; e.g.
: do { operationsToMeasure (...) ... some other operations ... } Then you would write: iATimeAdder timer; do { timer.resume(); operationsToMeasure (...) timer.pause(); ... some other operations ... } std::cout << "Elapsed: " << timer.elapsed() << " seconds";
| iATimeAdder::iATimeAdder | ( | ) |
| iAPerformanceTimer::DurationType iATimeAdder::elapsed | ( | ) | const |
| void iATimeAdder::pause | ( | ) |
| void iATimeAdder::resume | ( | ) |
1.8.16