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

◆ SortData()

static proto void EnProfiler::SortData ( )
staticprivate

The internal sorting that happens at the end of the frame (so it is NOT necessary to call this manually) to supply Get...Per... functions.

Заметки
This will clear the previous [SD] and sort the [PD] currently available at this moment
Flags apply to this
Предупреждения
Keep in mind that EnProfilerFlags.RESET will clear all [PD] after this is called
// Sorting all the currently available [PD], populating [SD]
// If flag EnProfilerFlags.RESET is enabled, then this will return 0 now even if it has been called, as [PD] has been cleared
// This goes for any Get...Of... function (Except for [CI], the counter persists)
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
Определения EnProfilerTests.c:2
static proto float GetTimeOfFunc(string funct, typename clss, bool immediate=false)
Obtain [SD] or [PD] regarding the time consumed by a specific function.
static proto void SortData()
The internal sorting that happens at the end of the frame (so it is NOT necessary to call this manual...

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