Private Member Functions | |
| void | MissionBenchmark () |
| void | ~MissionBenchmark () |
| BenchmarkConfig | GetConfig () |
| void | Start () |
| override void | OnUpdate (float timeslice) |
| protected void | PreloadUpdate () |
| protected void | MeasureUpdate (float timeSlice) |
| protected void | DisableWeatherChange () |
| protected void | AdvanceLocation () |
| protected void | LerpCamera () |
| protected void | OnLocationSwitch () |
| protected void | TeleportToPos (BenchmarkLocation loc) |
| protected void | OnBenchmarkEnd (string reason) |
| protected void | CreatePlayer () |
| protected void | CreateCSVLog () |
| protected void | FPSLog (string position, float frames) |
Static Private Member Functions | |
| static MissionBenchmark | GetInstance () |
Private Attributes | |
| protected const int | INITIAL_PRELOAD = 5 |
| protected const float | STEP_INTERVAL = 1 |
| protected bool | m_InitialLoadDone |
| protected bool | m_IsPreloading |
| protected bool | m_LocationDone |
| protected int | m_LocIndex |
| protected int | m_MeasuringStep |
| protected float | m_MeasureStepTimer = 1 |
| protected float | m_SumFPS |
| protected float | m_TimeCounter |
| protected float | m_MeasureLength |
| protected float | m_StepDistance |
| protected FileHandle | m_CSVLog |
| protected BenchmarkLocation | m_CurrentLocation |
| protected BenchmarkLocation | m_NextLocation |
| protected ref BenchmarkConfig | m_Config |
Static Private Attributes | |
| static protected MissionBenchmark | m_Instance |
|
inlineprivate |
References m_Instance.
|
inlineprivate |
References m_Instance.
|
inlineprivate |
References FPSLog(), m_Config, BenchmarkLocation::m_IsDummyWait, m_LocIndex, m_MeasuringStep, BenchmarkLocation::m_Name, m_NextLocation, m_SumFPS, m_TimeCounter, OnLocationSwitch(), and Print().
Referenced by LerpCamera().
|
inlineprivate |
References FPrintln(), m_Config, m_CSVLog, OnBenchmarkEnd(), OpenFile(), and Print().
Referenced by Start().
|
inlineprivate |
References GetGame(), m_CurrentLocation, and BenchmarkLocation::m_StartPos.
Referenced by OnLocationSwitch().
|
inlineprivate |
References GetGame(), Weather::SetDynVolFogDistanceDensity(), Weather::SetDynVolFogHeightBias(), Weather::SetDynVolFogHeightDensity(), and Weather::SetWeatherUpdateFreeze().
Referenced by Start().
References FPrintln(), GetHourMinuteSecondUTC(), GetYearMonthDay(), m_Config, m_CSVLog, and PrintToRPT().
Referenced by AdvanceLocation().
|
inlineprivate |
References m_Config.
|
inlinestaticprivate |
References m_Instance.
|
inlineprivate |
References AdvanceLocation(), vector::Distance(), Math::Lerp(), BenchmarkLocation::m_CamSpeedMultiplier, m_CurrentLocation, BenchmarkLocation::m_IsDummyWait, m_NextLocation, BenchmarkLocation::m_StartLookAtPos, BenchmarkLocation::m_StartPos, m_StepDistance, m_TimeCounter, Math::Max(), and Vector().
Referenced by MeasureUpdate().
|
inlineprivate |
References GetGame(), LerpCamera(), m_Config, m_MeasureStepTimer, m_MeasuringStep, m_SumFPS, Print(), and STEP_INTERVAL.
Referenced by OnUpdate().
|
inlineprivate |
References CloseFile(), GetGame(), IDC_MAIN_QUIT, m_Config, m_CSVLog, and Print().
Referenced by CreateCSVLog(), OnLocationSwitch(), and Start().
|
inlineprivate |
References CreatePlayer(), vector::Distance(), GetGame(), GetPlayer(), m_Config, m_CurrentLocation, BenchmarkLocation::m_IsDummyTeleport, BenchmarkLocation::m_IsDummyWait, m_LocIndex, m_MeasureStepTimer, m_MeasuringStep, BenchmarkLocation::m_Name, m_NextLocation, BenchmarkLocation::m_StartLookAtPos, BenchmarkLocation::m_StartPos, m_StepDistance, m_SumFPS, m_TimeCounter, OnBenchmarkEnd(), Print(), and TeleportToPos().
Referenced by AdvanceLocation(), and Start().
|
inlineprivate |
References m_Config, m_CurrentLocation, m_IsPreloading, m_TimeCounter, MeasureUpdate(), and PreloadUpdate().
|
inlineprivate |
References INITIAL_PRELOAD, m_Config, m_InitialLoadDone, m_IsPreloading, and m_TimeCounter.
Referenced by OnUpdate().
|
inlineprivate |
References CreateCSVLog(), DisableWeatherChange(), m_Config, m_IsPreloading, OnBenchmarkEnd(), and OnLocationSwitch().
|
inlineprivate |
References GetGame(), m_CurrentLocation, m_IsPreloading, BenchmarkLocation::m_StartLookAtPos, and BenchmarkLocation::m_StartPos.
Referenced by OnLocationSwitch().
|
private |
Referenced by PreloadUpdate().
|
private |
Referenced by AdvanceLocation(), CreateCSVLog(), FPSLog(), GetConfig(), MeasureUpdate(), OnBenchmarkEnd(), OnLocationSwitch(), OnUpdate(), PreloadUpdate(), and Start().
|
private |
Referenced by CreateCSVLog(), FPSLog(), and OnBenchmarkEnd().
|
private |
Referenced by CreatePlayer(), LerpCamera(), OnLocationSwitch(), OnUpdate(), and TeleportToPos().
|
private |
Referenced by PreloadUpdate().
|
staticprivate |
Referenced by GetInstance(), MissionBenchmark(), and ~MissionBenchmark().
|
private |
Referenced by OnUpdate(), PreloadUpdate(), Start(), and TeleportToPos().
|
private |
|
private |
Referenced by AdvanceLocation(), and OnLocationSwitch().
|
private |
|
private |
Referenced by MeasureUpdate(), and OnLocationSwitch().
|
private |
Referenced by AdvanceLocation(), MeasureUpdate(), and OnLocationSwitch().
|
private |
Referenced by AdvanceLocation(), LerpCamera(), and OnLocationSwitch().
|
private |
Referenced by LerpCamera(), and OnLocationSwitch().
|
private |
Referenced by AdvanceLocation(), MeasureUpdate(), and OnLocationSwitch().
|
private |
Referenced by AdvanceLocation(), LerpCamera(), OnLocationSwitch(), OnUpdate(), and PreloadUpdate().
|
private |
Referenced by MeasureUpdate().