DayZ 1.24
|
Private Member Functions | |
void | EnProfilerTests () |
void | ~EnProfilerTests () |
TFResult | TestToggling () |
TFResult | TestTogglingImmediate () |
TFResult | TestSetFlags () |
TFResult | TestClearFlags () |
TFResult | TestAddFlags () |
TFResult | TestModule () |
TFResult | TestClassTimeData () |
TFResult | TestClassCountData () |
TFResult | TestFuncTimeData () |
TFResult | TestFuncCountData () |
float | Sleep (float timeS) |
float | StringFormat () |
float | StringConcat () |
void | TestFuncCountDataHelper () |
Static Private Member Functions | |
static void | TestFuncCountDataHelperStatic () |
Private Attributes | |
bool | m_bWasProfilerEnabled |
Remember this, so we can restore the previous state before the test! | |
Definition at line 1 of file EnProfilerTests.c.
|
inlineprivate |
Definition at line 9 of file EnProfilerTests.c.
References AddInitTest(), EnProfiler::IsEnabledC(), and m_bWasProfilerEnabled.
|
inlineprivate |
Definition at line 28 of file EnProfilerTests.c.
References EnProfiler::Enable(), and m_bWasProfilerEnabled.
Definition at line 647 of file EnProfilerTests.c.
References GetGame().
Referenced by TestModule().
|
inlineprivate |
Definition at line 672 of file EnProfilerTests.c.
References GetGame(), and Type.
Referenced by TestFuncTimeData().
|
inlineprivate |
Definition at line 660 of file EnProfilerTests.c.
References GetGame(), and Type.
Referenced by TestFuncTimeData().
|
inlineprivate |
Definition at line 157 of file EnProfilerTests.c.
References EnProfiler::AddFlags(), Assert(), EnProfiler::ClearFlags(), EnProfiler::GetFlags(), NTFR(), and EnProfiler::SetFlags().
|
inlineprivate |
Definition at line 415 of file EnProfilerTests.c.
References Assert(), EnProfiler::Enable(), EnProfiler::GetAllocationsOfClass(), EnProfiler::GetInstancesOfClass(), NTFR(), EnProfiler::RequestImmediateData(), and Debug::TFLog().
|
inlineprivate |
Definition at line 373 of file EnProfilerTests.c.
References Math::AbsFloat(), Assert(), EnProfiler::Enable(), EnProfiler::GetTimeOfClass(), EnProfiler::GetTimeResolution(), NTFR(), EnProfiler::RequestImmediateData(), EnProfiler::SetTimeResolution(), and Debug::TFLog().
|
inlineprivate |
Definition at line 120 of file EnProfilerTests.c.
References Assert(), EnProfiler::ClearFlags(), EnProfiler::GetFlags(), NTFR(), EnProfiler::RemoveFlags(), and EnProfiler::SetFlags().
|
inlineprivate |
Definition at line 510 of file EnProfilerTests.c.
References Assert(), EnProfiler::Enable(), ErrorEx, EnProfiler::GetCountOfFunc(), EnProfiler::GetCountOfFuncG(), GetDayZGame(), GetGame(), ErrorModuleHandler::GetInstance(), NTFR(), EnProfiler::RequestImmediateData(), TestFuncCountDataHelper(), TestFuncCountDataHelperStatic(), and Type.
|
inlineprivate |
Definition at line 684 of file EnProfilerTests.c.
Referenced by TestFuncCountData().
Definition at line 691 of file EnProfilerTests.c.
Referenced by TestFuncCountData().
|
inlineprivate |
Definition at line 459 of file EnProfilerTests.c.
References Math::AbsFloat(), Assert(), EnProfiler::Enable(), EnProfiler::GetTimeOfFunc(), EnProfiler::GetTimeResolution(), NTFR(), EnProfiler::RequestImmediateData(), EnProfiler::SetTimeResolution(), StringConcat(), StringFormat(), Debug::TFLog(), and Type.
|
inlineprivate |
Definition at line 189 of file EnProfilerTests.c.
References Assert(), BTFR(), EnProfiler::Enable(), EnProfiler::GetFlags(), EnProfiler::GetModule(), EnProfiler::GetTimeOfFunc(), EnProfiler::GetTimePerClass(), EnProfiler::GetTimePerFunc(), EnProfiler::GetTimeResolution(), EnProfiler::NameToModule(), NTFR(), EnProfiler::RemoveFlags(), EnProfiler::RequestImmediateData(), EnProfiler::ResetSession(), EnProfiler::SetFlags(), EnProfiler::SetModule(), EnProfiler::SetTimeResolution(), Sleep(), EnProfiler::SortData(), EnumTools::StringToEnum(), Debug::TFLog(), and Type.
|
inlineprivate |
Definition at line 67 of file EnProfilerTests.c.
References Assert(), EnumTools::GetEnumSize(), EnumTools::GetEnumValue(), EnProfiler::GetFlags(), NTFR(), and EnProfiler::SetFlags().
|
inlineprivate |
Definition at line 37 of file EnProfilerTests.c.
References Assert(), BTFR(), EnProfiler::Enable(), EnProfiler::IsEnabledP(), and NTFR().
|
inlineprivate |
Definition at line 52 of file EnProfilerTests.c.
References Assert(), BTFR(), EnProfiler::Enable(), EnProfiler::IsEnabledC(), and NTFR().
|
private |
Remember this, so we can restore the previous state before the test!
Definition at line 4 of file EnProfilerTests.c.
Referenced by EnProfilerTests(), and ~EnProfilerTests().