diag logSlowFrame: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (command removed) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| Log all frames, where section takes longer than the threshold (in seconds). <br> | | Log all frames, where section takes longer than the threshold (in seconds). <br> | ||
'''Note''': Only available in specific builds. See [[Performance Profiling]] for details. |= | '''Note''': Only available in specific builds. See [[Performance Profiling]] for details. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''diag_logSlowFrame''' [section, threshold] |= | | '''diag_logSlowFrame''' [section, threshold] |SYNTAX= | ||
|p1= section: [[String]] - Valid: ??? |= | |p1= section: [[String]] - Valid: ??? |PARAMETER1= | ||
|p2= threshold: [[Number]] - Duration of frame in seconds |= | |p2= threshold: [[Number]] - Duration of frame in seconds |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>diag_logSlowFrame ['total',0.3]</pre> |= | |x1= <pre>diag_logSlowFrame ['total',0.3]</pre> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Performance Profiling]], [[diag_captureFrame]], [[diag_captureSlowFrame]] |= | | [[Performance Profiling]], [[diag_captureFrame]], [[diag_captureSlowFrame]] |SEEALSO= | ||
}} | }} |
Revision as of 14:37, 7 April 2019
Description
- Description:
- Log all frames, where section takes longer than the threshold (in seconds).
Note: Only available in specific builds. See Performance Profiling for details. - Groups:
- Uncategorised
Syntax
- Syntax:
- diag_logSlowFrame [section, threshold]
- Parameters:
- section: String - Valid: ???
- threshold: Number - Duration of frame in seconds
- Return Value:
- Nothing
Examples
- Example 1:
diag_logSlowFrame ['total',0.3]
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