diag fps: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{DISPLAYTITLE:diag_fps}}
{{DISPLAYTITLE:diag_fps}}
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis


|gr2= Performance Logging|GROUP2=
|gr2= Performance Logging


| Returns average framerate calculated over last 16 frames. |DESCRIPTION=
| Returns average framerate calculated over last 16 frames.


| '''diag_fps''' |SYNTAX=
| '''diag_fps'''


|p1= |PARAMETER1=  
|p1=


|p2= |PARAMETER2=  
|p2=


|p3= |PARAMETER3=  
|p3=


| [[Number]] |RETURNVALUE=
| [[Number]]




|x1= <code>diag_log diag_fps;</code>|EXAMPLE1=
|x1= <code>diag_log diag_fps;</code>




| [[diag_fpsMin]], [[diag_frameNo]], [[diag_log]], [[diag_tickTime]], [[diag_deltaTime]] |SEEALSO=
| [[diag_fpsMin]], [[diag_frameNo]], [[diag_log]], [[diag_tickTime]], [[diag_deltaTime]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:27, 18 January 2021


Hover & click on the images for description

Description

Description:
Returns average framerate calculated over last 16 frames.
Groups:
DiagnosisPerformance Logging

Syntax

Syntax:
diag_fps
Return Value:
Number

Examples

Example 1:
diag_log diag_fps;

Additional Information

See also:
diag_fpsMindiag_frameNodiag_logdiag_tickTimediag_deltaTime

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on November 19, 2014 - 23:56 (UTC)
DreadedEntity
The engine will always calculate the last 16 frames without caring if they are frames in which the loading screen was drawn, or actual mission frames.