|
open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Classes | |
| class | iAPerfHelperImpl |
| class | iAPerfTimerImpl |
Functions | |
| QString | formatDuration (double duration, bool showMS, bool shortNames) |
| Format the given time in a human-readable format. | |
| QString | formatWithCaption (long part, QString const &caption, QString const &shortCap, bool useShort) |
| size_t | getCurrentRSS () |
| Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS. | |
| QString formatDuration | ( | double | duration, |
| bool | showMS = true, |
||
| bool | shortNames = false |
||
| ) |
Format the given time in a human-readable format.
| duration | the time to format (in seconds) |
| showMS | whether to show the milliseconds part |
| shortNames | if true, use short time span names (s, m, h, d), otherwise (default), use long names (second, minute, hour, day) |
| QString formatWithCaption | ( | long | part, |
| QString const & | caption, | ||
| QString const & | shortCap, | ||
| bool | useShort | ||
| ) |
| size_t getCurrentRSS | ( | ) |
Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.
Helper method for getting the current memory usage.