diag captureFrame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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_captureFrame}} | {{DISPLAYTITLE:diag_captureFrame}} | ||
{{Command | {{Command | ||
| arma2oa | | arma2oa | ||
|1.63 | |1.63 | ||
|gr1= Diagnosis | |gr1= Diagnosis | ||
|gr2= Performance Logging | |gr2= Performance Logging | ||
| This command starts counting frames from the moment it is executed and when the count reaches the number passed as param, the current frame is captured and captured data UI dialog appears, similar to [[diag_captureSlowFrame]].<br> | | This command starts counting frames from the moment it is executed and when the count reaches the number passed as param, the current frame is captured and captured data UI dialog appears, similar to [[diag_captureSlowFrame]].<br> | ||
This can also be executed on a dedicated Server and because a Server has no UI it will behave like [[diag_captureFrameToFile]].<br> | This can also be executed on a dedicated Server and because a Server has no UI it will behave like [[diag_captureFrameToFile]].<br> | ||
Special: BattlEye's RCON variant of this command is #captureFrame<br> | Special: BattlEye's RCON variant of this command is #captureFrame<br> | ||
'''Note''': Only available in specific builds. See [[Performance Profiling]] for details. | '''Note''': Only available in specific builds. See [[Performance Profiling]] for details. | ||
| '''diag_captureFrame''' frame | | '''diag_captureFrame''' frame | ||
|p1= frame: [[Number]] - next n-th frame to be captured | |p1= frame: [[Number]] - next n-th frame to be captured | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[diag_captureFrame]] 1; //capture the first frame after command execution</code> | |x1= <code>[[diag_captureFrame]] 1; //capture the first frame after command execution</code> | ||
|x2= <code>[[diag_captureFrame]] 24; //capture 24th frame after command execution</code> | |x2= <code>[[diag_captureFrame]] 24; //capture 24th frame after command execution</code> | ||
| [[Performance Profiling]], [[diag_captureSlowFrame]], [[diag_logSlowFrame]], [[logEntities]], [[exportJIPMessages]], [[diag_captureFrameToFile]] | | [[Performance Profiling]], [[diag_captureSlowFrame]], [[diag_logSlowFrame]], [[logEntities]], [[exportJIPMessages]], [[diag_captureFrameToFile]] | ||
}} | }} |
Revision as of 00:28, 18 January 2021
Description
- Description:
- This command starts counting frames from the moment it is executed and when the count reaches the number passed as param, the current frame is captured and captured data UI dialog appears, similar to diag_captureSlowFrame.
This can also be executed on a dedicated Server and because a Server has no UI it will behave like diag_captureFrameToFile.
Special: BattlEye's RCON variant of this command is #captureFrame
Note: Only available in specific builds. See Performance Profiling for details. - Groups:
- DiagnosisPerformance Logging
Syntax
- Syntax:
- diag_captureFrame frame
- Parameters:
- frame: Number - next n-th frame to be captured
- Return Value:
- Nothing
Examples
- Example 1:
diag_captureFrame 1; //capture the first frame after command execution
- Example 2:
diag_captureFrame 24; //capture 24th frame after command execution
Additional Information
- See also:
- Performance Profilingdiag_captureSlowFramediag_logSlowFramelogEntitiesexportJIPMessagesdiag_captureFrameToFile
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