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

◆ SetFlags()

static proto int EnProfiler::SetFlags ( int flags,
bool sessionReset = true )
staticprivate

Override the currently used set of EnProfilerFlags across the API.

Заметки
DEFAULT: EnProfilerFlags.ALL
Аргументы
flagsint The combination of desired EnProfilerFlags to override the currently used set
sessionResetbool When set to false, no [SR] will trigger, regardless of situation
Возвращает
int The currently used set of EnProfilerFlags after the function call
// No RESET flag, [PD] will be accumulated across frames
// No RECURSIVE flag, only the curently profiled module will be sorted
// RESET flag, [PD] will be reset after sorting
// No RECURSIVE flag, only the curently profiled module will be sorted
// RESET flag, [PD] will be reset after sorting
// RECURSIVE flag, all modules will be sorted
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
EnProfilerFlags
Flags that influences the behaviour of the EnProfiler API, applied through ...Flags functions.
Определения EnProfiler.c:9
static proto int SetFlags(int flags, bool sessionReset=true)
Override the currently used set of EnProfilerFlags across the API.

Используется в EnProfilerTests::TestAddFlags(), EnProfilerTests::TestClearFlags(), EnProfilerTests::TestModule() и EnProfilerTests::TestSetFlags().