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

◆ GetFPSStats()

void CGame::GetFPSStats ( out float min,
out float max,
out float avg,
int nFrames = 64 )
inlineprivate

Outputs framerate statistics.

Аргументы
minOutputs minimum framerate over last n frames in frames per second.
maxOutputs maximum framerate over last n frames in frames per second.
avgOutputs average framerate over last n frames in frames per second.
nFramesThe number of frames to take into account, up to 64.

См. определение в файле Global/game.c строка 892

893 {
894 min = GetMinFPS(nFrames);
895 max = GetMaxFPS(nFrames);
896 avg = GetAvgFPS(nFrames);
897 }
proto native float GetAvgFPS(int nFrames=64)
Returns average framerate over last n frames.
proto native float GetMinFPS(int nFrames=64)
Returns minimum framerate over last n frames.
proto native float GetMaxFPS(int nFrames=64)
Returns maximum framerate over last n frames.

Перекрестные ссылки GetAvgFPS(), GetMaxFPS() и GetMinFPS().

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