Defines performance profiling named (and colored) span within RAII range.
More...
Defines performance profiling named (and colored) span within RAII range.
- See also
- Profiling
◆ APerformanceSection()
APerformanceSection::APerformanceSection |
( |
const char * |
name, |
|
|
AOptional< AColor > |
color = std::nullopt , |
|
|
std::string |
verboseInfo = {} |
|
) |
| |
|
inline |
Defines performance profiling named (and colored) span within RAII range.
- Parameters
-
name | name of the section. Since it is a C-style string, it must be alive during the whole lifetime of the program. Typically, you would want to use string literals. C-style string is used to avoid performance overhead. |
color | color of the section. If nullopt, it would be generated from name. |
verboseInfo | extra usefull information that displayed in tree view in paused mode. |
#include <AUI/Performance/APerformanceSection.h>
The documentation for this class was generated from the following file: