diag fps: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
No edit summary |
||
Line 45: | Line 45: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on November 19, 2014 - 23:56 (UTC)</dd> | |||
<dt class="note">[[User:DreadedEntity|DreadedEntity]]</dt> | |||
<dd class="note"> | |||
Be careful with where you place [[diag_fps]] in your scripts, putting it in the very beginning of my init.sqf resulted in extremely low numbers, 5-9 on several tests. Waiting 1 second then using the command again resulted in accurate fps. That means that 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. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 00:56, 20 November 2014
Description
- Description:
- Returns average framerate calculated over last 16 frames.
- Groups:
- Uncategorised
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
- Be careful with where you place diag_fps in your scripts, putting it in the very beginning of my init.sqf resulted in extremely low numbers, 5-9 on several tests. Waiting 1 second then using the command again resulted in accurate fps. That means that 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.