Return if script profiling is actually turned on inside of the script context.
- Заметки
- When using "-profile" launch parameter, it will enable it through EnProfiler, so this will return true
- Возвращает
bool
Whether script is being profiled as of this moment
Set of methods for accessing script profiling data.
static bool IsEnabledC()
Return if script profiling is actually turned on inside of the script context.
См. определение в файле EnProfiler.c строка 152
153 {
155 }
EnProfilerEnabledFlags
There are 3 states which can be toggled that governs whether script profiling is enabled or not.
static proto int IsEnabled()
Return if script profiling is enabled.
Перекрестные ссылки IsEnabled().
Используется в EnProfilerTests::EnProfilerTests(), RequestImmediateData() и EnProfilerTests::TestTogglingImmediate().