|
open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Simple performance helper class following RAII principle: Instantiate to start timer, destroy to stop timer prints to debug console. More...
#include <iAPerformanceHelper.h>
Public Member Functions | |
| iATimeGuard (std::string const &caption="", bool printMemUsage=true) | |
| Starts measuring and writes according message (and optionally memory. | |
| ~iATimeGuard () | |
| destructor, stops timer and outputs duration (and optionally memory usage) to the debug console | |
| iAPerformanceTimer::DurationType | elapsed () const |
| void | time (std::string const &caption="") |
| output an intermediate time with an optional caption | |
Simple performance helper class following RAII principle: Instantiate to start timer, destroy to stop timer prints to debug console.
| iATimeGuard::iATimeGuard | ( | std::string const & | caption = "", |
| bool | printMemUsage = true |
||
| ) |
Starts measuring and writes according message (and optionally memory.
usage) to the debug console
| iATimeGuard::~iATimeGuard | ( | ) |
destructor, stops timer and outputs duration (and optionally memory usage) to the debug console
| iAPerformanceTimer::DurationType iATimeGuard::elapsed | ( | ) | const |
| void iATimeGuard::time | ( | std::string const & | caption = "" | ) |
output an intermediate time with an optional caption