diag fps: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:diag_fps}} | {{DISPLAYTITLE:diag_fps}} | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 10: | Line 9: | ||
|gr2= Performance Logging|GROUP2= | |gr2= Performance Logging|GROUP2= | ||
| Returns average framerate calculated over last 16 frames. |DESCRIPTION= | | Returns average framerate calculated over last 16 frames. |DESCRIPTION= | ||
| '''diag_fps''' |SYNTAX= | | '''diag_fps''' |SYNTAX= | ||
Line 28: | Line 25: | ||
|x1= <code>diag_log diag_fps;</code>|EXAMPLE1= | |x1= <code>diag_log diag_fps;</code>|EXAMPLE1= | ||
| [[diag_fpsMin]], [[diag_frameNo]], [[diag_log]], [[diag_tickTime]], [[diag_deltaTime]] |SEEALSO= | | [[diag_fpsMin]], [[diag_frameNo]], [[diag_log]], [[diag_tickTime]], [[diag_deltaTime]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 00:47, 17 January 2021
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
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.