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

◆ SetTimeResolution()

static proto void EnProfiler::SetTimeResolution ( int resolution)
staticprivate

Set the resolution of the fetched Time data.

Заметки
DEFAULT: 100000
[DM] has the following values: {100000, 1000000, 1, 10, 100, 1000, 10000}; These are the only values available, otherwise it will round up to one in the list
Does not affect any data itself, only the fetching and displaying of it (therefore, no [SR] is ever triggered by this method)
Аргументы
resolutionint The nth resolution of a second
// Have all time being reported in 1 second
// Have all time being reported in 1000th of a second (ms)
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
static proto void SetTimeResolution(int resolution)
Set the resolution of the fetched Time data.

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