![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| void | MissionBenchmark () |
| void | ~MissionBenchmark () |
| void | AdvanceLocation () |
| void | CreateCSVLog () |
| void | CreatePlayer () |
| void | DisableWeatherChange () |
| void | FPSLog (string position, float frames) |
| BenchmarkConfig | GetConfig () |
| void | LerpCamera () |
| void | MeasureUpdate (float timeSlice) |
| void | OnBenchmarkEnd (string reason) |
| void | OnLocationSwitch () |
| override void | OnUpdate (float timeslice) |
| void | PreloadUpdate () |
| void | Start () |
| void | TeleportToPos (BenchmarkLocation loc) |
Static Protected Member Functions | |
| static MissionBenchmark | GetInstance () |
Protected Attributes | |
| const int | INITIAL_PRELOAD = 5 |
| ref BenchmarkConfig | m_Config |
| FileHandle | m_CSVLog |
| BenchmarkLocation | m_CurrentLocation |
| bool | m_InitialLoadDone |
| bool | m_IsPreloading |
| bool | m_LocationDone |
| int | m_LocIndex |
| float | m_MeasureLength |
| float | m_MeasureStepTimer = 1 |
| int | m_MeasuringStep |
| BenchmarkLocation | m_NextLocation |
| float | m_StepDistance |
| float | m_SumFPS |
| float | m_TimeCounter |
| const float | STEP_INTERVAL = 1 |
Static Protected Attributes | |
| static MissionBenchmark | m_Instance |
Definition at line 111 of file missionbenchmark.c.
|
inlineprotected |
Definition at line 135 of file missionbenchmark.c.
References m_Instance.
Referenced by GetInstance().
|
inlineprotected |
Definition at line 140 of file missionbenchmark.c.
References m_Instance.
|
inlineprotected |
Definition at line 239 of file missionbenchmark.c.
References FPSLog(), m_Config, m_LocIndex, m_MeasuringStep, m_NextLocation, m_SumFPS, m_TimeCounter, OnLocationSwitch(), and Print().
Referenced by LerpCamera().
|
inlineprotected |
Definition at line 381 of file missionbenchmark.c.
References FPrintln(), m_Config, m_CSVLog, OnBenchmarkEnd(), OpenFile(), and Print().
Referenced by Start().
|
inlineprotected |
Definition at line 364 of file missionbenchmark.c.
References GetGame(), and m_CurrentLocation.
Referenced by OnLocationSwitch().
|
inlineprotected |
Definition at line 229 of file missionbenchmark.c.
References GetGame(), Weather::SetDynVolFogDistanceDensity(), Weather::SetDynVolFogHeightBias(), Weather::SetDynVolFogHeightDensity(), and Weather::SetWeatherUpdateFreeze().
Referenced by Start().
Definition at line 397 of file missionbenchmark.c.
References FPrintln(), GetHourMinuteSecondUTC(), GetYearMonthDay(), m_Config, m_CSVLog, and PrintToRPT().
Referenced by AdvanceLocation().
|
inlineprotected |
Definition at line 150 of file missionbenchmark.c.
References m_Config.
|
inlinestaticprotected |
Definition at line 145 of file missionbenchmark.c.
References MissionBenchmark(), and m_Instance.
|
inlineprotected |
Definition at line 255 of file missionbenchmark.c.
References AdvanceLocation(), vector::Distance(), Math::Lerp(), m_CurrentLocation, m_NextLocation, m_StepDistance, m_TimeCounter, Math::Max(), and Vector().
Referenced by MeasureUpdate().
|
inlineprotected |
Definition at line 206 of file missionbenchmark.c.
References GetGame(), LerpCamera(), m_Config, m_MeasureStepTimer, m_MeasuringStep, m_SumFPS, Print(), and STEP_INTERVAL.
Referenced by OnUpdate().
|
inlineprotected |
Definition at line 347 of file missionbenchmark.c.
References CloseFile(), GetGame(), IDC_MAIN_QUIT, m_Config, m_CSVLog, and Print().
Referenced by CreateCSVLog(), OnLocationSwitch(), and Start().
|
inlineprotected |
Definition at line 284 of file missionbenchmark.c.
References CreatePlayer(), vector::Distance(), GetGame(), GetPlayer(), m_Config, m_CurrentLocation, m_LocIndex, m_MeasureStepTimer, m_MeasuringStep, m_NextLocation, m_StepDistance, m_SumFPS, m_TimeCounter, OnBenchmarkEnd(), Print(), and TeleportToPos().
Referenced by AdvanceLocation(), and Start().
|
inlineprotected |
Definition at line 176 of file missionbenchmark.c.
References m_Config, m_CurrentLocation, m_IsPreloading, m_TimeCounter, MeasureUpdate(), and PreloadUpdate().
|
inlineprotected |
Definition at line 191 of file missionbenchmark.c.
References INITIAL_PRELOAD, m_Config, m_InitialLoadDone, m_IsPreloading, and m_TimeCounter.
Referenced by OnUpdate().
|
inlineprotected |
Definition at line 158 of file missionbenchmark.c.
References CreateCSVLog(), DisableWeatherChange(), m_Config, m_IsPreloading, OnBenchmarkEnd(), and OnLocationSwitch().
|
inlineprotected |
Definition at line 336 of file missionbenchmark.c.
References GetGame(), m_CurrentLocation, m_IsPreloading, BenchmarkLocation::m_StartLookAtPos, and BenchmarkLocation::m_StartPos.
Referenced by OnLocationSwitch().
|
protected |
Definition at line 113 of file missionbenchmark.c.
Referenced by PreloadUpdate().
|
protected |
Definition at line 131 of file missionbenchmark.c.
Referenced by AdvanceLocation(), CreateCSVLog(), FPSLog(), GetConfig(), MeasureUpdate(), OnBenchmarkEnd(), OnLocationSwitch(), OnUpdate(), PreloadUpdate(), and Start().
|
protected |
Definition at line 127 of file missionbenchmark.c.
Referenced by CreateCSVLog(), FPSLog(), and OnBenchmarkEnd().
|
protected |
Definition at line 128 of file missionbenchmark.c.
Referenced by CreatePlayer(), LerpCamera(), OnLocationSwitch(), OnUpdate(), and TeleportToPos().
|
protected |
Definition at line 116 of file missionbenchmark.c.
Referenced by PreloadUpdate().
|
staticprotected |
Definition at line 133 of file missionbenchmark.c.
Referenced by MissionBenchmark(), ~MissionBenchmark(), and GetInstance().
|
protected |
Definition at line 117 of file missionbenchmark.c.
Referenced by OnUpdate(), PreloadUpdate(), Start(), and TeleportToPos().
|
protected |
Definition at line 118 of file missionbenchmark.c.
|
protected |
Definition at line 119 of file missionbenchmark.c.
Referenced by AdvanceLocation(), and OnLocationSwitch().
|
protected |
Definition at line 124 of file missionbenchmark.c.
|
protected |
Definition at line 121 of file missionbenchmark.c.
Referenced by MeasureUpdate(), and OnLocationSwitch().
|
protected |
Definition at line 120 of file missionbenchmark.c.
Referenced by AdvanceLocation(), MeasureUpdate(), and OnLocationSwitch().
|
protected |
Definition at line 129 of file missionbenchmark.c.
Referenced by AdvanceLocation(), LerpCamera(), and OnLocationSwitch().
|
protected |
Definition at line 125 of file missionbenchmark.c.
Referenced by LerpCamera(), and OnLocationSwitch().
|
protected |
Definition at line 122 of file missionbenchmark.c.
Referenced by AdvanceLocation(), MeasureUpdate(), and OnLocationSwitch().
|
protected |
Definition at line 123 of file missionbenchmark.c.
Referenced by AdvanceLocation(), LerpCamera(), OnLocationSwitch(), OnUpdate(), and PreloadUpdate().
|
protected |
Definition at line 114 of file missionbenchmark.c.
Referenced by MeasureUpdate().