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

◆ ResetSession()

static proto void EnProfiler::ResetSession ( bool fullReset = false)
staticprivate

Perform [SR], clearing SessionFrame, ProfiledSessionFrames, [SD] and [PD] (except for [CI])

Заметки
Can also be triggered by a variety of other functions in this API
When triggered by the other functions, it will call with fullReset = false
Аргументы
fullResetbool Whether to clear [PD] of all modules, when false it will only clear the [PD] according to current settings
// Considering the settings: SetFlags(EnProfilerFlags.NONE) and SetModule(EnProfilerModule.GAME)
// The following call will only clear [PD] of 3_Game
// Considering the settings: SetFlags(EnProfilerFlags.RECURSIVE) and SetModule(EnProfilerModule.WORLD)
// The following call will clear [PD] of 3_Game, 4_World, 5_Mission and their children
// The following call resets [PD] across all modules
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
static proto void ResetSession(bool fullReset=false)
Perform [SR], clearing SessionFrame, ProfiledSessionFrames, [SD] and [PD] (except for [CI])

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