|
open_iA 2024.9
|
Class for debug output about start and end of an operation. More...
#include <iAPerformanceHelper.h>
Public Member Functions | |
| iAPerformanceHelper () | |
| ~iAPerformanceHelper () | |
| iAPerformanceTimer::DurationType | elapsed () const |
| void | start (std::string const &caption="", bool printMemUsage=true) |
| iAPerformanceTimer::DurationType | stop () |
| iAPerformanceTimer::DurationType | time (std::string const &caption="") const |
Static Public Member Functions | |
| static QString | printMemoryUsage () |
| print memory usage information | |
| static void | printTime (iAPerformanceTimer::DurationType, std::string const &caption="", bool printMemUsage=false) |
| helper method for printing the time (and optionally memory usage) | |
Class for debug output about start and end of an operation.
call start() to print start message call stop() to print stop message + time call time() in between to show lap times all optionally including memory usage
| iAPerformanceHelper::iAPerformanceHelper | ( | ) |
| iAPerformanceHelper::~iAPerformanceHelper | ( | ) |
| iAPerformanceTimer::DurationType iAPerformanceHelper::elapsed | ( | ) | const |
|
static |
print memory usage information
|
static |
helper method for printing the time (and optionally memory usage)
| void iAPerformanceHelper::start | ( | std::string const & | caption = "", |
| bool | printMemUsage = true ) |
| iAPerformanceTimer::DurationType iAPerformanceHelper::stop | ( | ) |
| iAPerformanceTimer::DurationType iAPerformanceHelper::time | ( | std::string const & | caption = "" | ) | const |