IsEnable
Applicability
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function
Determines whether to enable profiling. If the input parameter level is lower than the configured level, true is returned.
Prototype
1 | inline bool IsEnable(Level msgLevel = level) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
msgLevel |
Input |
A specified collection level. For details, see profiler_level in the profiling configuration file. |
Returns
true means to enable profiling; false indicates that profiling is disabled.