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

◆ GetCountOfFunc()

static proto int EnProfiler::GetCountOfFunc ( string funct,
typename clss ,
bool immediate = false )
staticprivate

Obtain [SD] or [PD] regarding the amount of times a specific function was called.

Аргументы
functstring Function name
clsstypename Typename of class the function belongs to
immediatebool When true, it will pull from [SD], when false it will pull from [PD]
Возвращает
int Amount of calls to the specified function or -1 when function was not found
int callCountOfFunc = EnProfiler.GetCountOfFunc("StringFormat", StaticGetType(EnProfilerTests), true);
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
Определения EnProfilerTests.c:2
static proto int GetCountOfFunc(string funct, typename clss, bool immediate=false)
Obtain [SD] or [PD] regarding the amount of times a specific function was called.

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