DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsEnabledP()

static bool EnProfiler::IsEnabledP ( )
inlinestaticprivate

Return if script profiling is enabled through EnProfiler.

Заметки
When using "-profile" launch parameter, it will enable it through EnProfiler, so this will return true
Возвращает
bool Whether script profiling is enabled through script profiler
bool isScriptProfilingToggleEnabled = EnProfiler.IsEnabledP();
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
static bool IsEnabledP()
Return if script profiling is enabled through EnProfiler.
Определения EnProfiler.c:138

См. определение в файле EnProfiler.c строка 138

139 {
140 return (IsEnabled() & EnProfilerEnabledFlags.SCRP);
141 }
EnProfilerEnabledFlags
There are 3 states which can be toggled that governs whether script profiling is enabled or not.
Определения EnProfiler.c:44
static proto int IsEnabled()
Return if script profiling is enabled.

Перекрестные ссылки IsEnabled().

Используется в EnProfilerTests::TestToggling().