diag captureFrameToFile: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 16: | Line 16: | ||
The data in the log file can be copied and pasted into the [[diag_captureFrame]] UI dialog to get a visualisation later on. | The data in the log file can be copied and pasted into the [[diag_captureFrame]] UI dialog to get a visualisation later on. | ||
|s1= | |s1= [[diag_captureFrameToFile]] frame | ||
|p1= frame: [[Number]] - next n-th frame to be captured | |p1= frame: [[Number]] - next n-th frame to be captured |
Revision as of 22:02, 19 June 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
written to a log file in the same directory as the .rpt file.
The full Path to the log file is logged to simultaneously.
The data in the log file can be copied and pasted into the diag_captureFrame UI dialog to get a visualisation later on. - Groups:
- DiagnosticPerformance Profiling
Syntax
- Syntax:
- diag_captureFrameToFile frame
- Parameters:
- frame: Number - next n-th frame to be captured
- Return Value:
- Nothing
Examples
- Example 1:
diag_captureFrameToFile 1; //capture the first frame after command execution
- Example 2:
diag_captureFrameToFile 24; //capture 24th frame after command execution
Additional Information
- See also:
- Performance Profilingdiag_captureSlowFramediag_logSlowFramediag_captureFramelogEntitiesexportJIPMessages
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