diag captureSlowFrame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
Lou Montana (talk | contribs) m (Text replacement - "<br/>" to "<br>") |
||
Line 10: | Line 10: | ||
| [[File:CaptureSlowFrame.jpg|right|200x120px]] Opens "capture frame" dialog if current frame exceeds set threshold in seconds. One can indicate to either capture duration of a specific profiling selection or the total duration of the frame. The selection names can be obtained by expanding the profiling tree. Clicking on a tree item will highlight the item on the graph and vice versa. The GUI also provides method of copying of the displayed data to clipboard. Some of the selections: | | [[File:CaptureSlowFrame.jpg|right|200x120px]] Opens "capture frame" dialog if current frame exceeds set threshold in seconds. One can indicate to either capture duration of a specific profiling selection or the total duration of the frame. The selection names can be obtained by expanding the profiling tree. Clicking on a tree item will highlight the item on the graph and vice versa. The GUI also provides method of copying of the displayed data to clipboard. Some of the selections: | ||
''Render'' | ''Render'' | ||
<br | <br> - '''bgD3D''' | ||
<br | <br>''Main Thread'' | ||
<br | <br> - '''total''' | ||
<br | <br> - '''memAl''' | ||
<br | <br>''Visualize'' | ||
<br | <br> - '''visul''' | ||
<br | <br>''Mjob'' | ||
<br | <br> - '''Mjob''' | ||
'''Note''': Only available in specific builds. See [[Performance Profiling]] for details. |DESCRIPTION= | '''Note''': Only available in specific builds. See [[Performance Profiling]] for details. |DESCRIPTION= |
Revision as of 14:08, 14 March 2020
Description
- Description:
- Opens "capture frame" dialog if current frame exceeds set threshold in seconds. One can indicate to either capture duration of a specific profiling selection or the total duration of the frame. The selection names can be obtained by expanding the profiling tree. Clicking on a tree item will highlight the item on the graph and vice versa. The GUI also provides method of copying of the displayed data to clipboard. Some of the selections:
Render
Note: Only available in specific builds. See Performance Profiling for details.
- bgD3D
Main Thread
- total
- memAl
Visualize
- visul
Mjob
- Mjob - Groups:
- Uncategorised
Syntax
- Syntax:
- diag_captureSlowFrame [section, threshold]
- Parameters:
- section: String - (case sensitive)
- threshold: Number - Duration of the section in seconds
- Return Value:
- Nothing
Examples
- Example 1:
diag_captureSlowFrame ['total',0.003];
- Example 2:
diag_captureSlowFrame ['memAl', 0.0001];
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