diag captureSlowFrame: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
|p1= section: [[String]] - Valid: total, ??? |= Parameter 1 | |p1= section: [[String]] - Valid: total, ??? |= Parameter 1 | ||
|p2= threshold: [[Number]] - Duration of | |p2= threshold: [[Number]] - Duration of the section in seconds |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 18:47, 16 November 2012
Description
- Description:
- Capture the first frame, 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_captureSlowFrame [section, threshold]
- Parameters:
- section: String - Valid: total, ???
- threshold: Number - Duration of the section in seconds
- Return Value:
- Nothing
Examples
- Example 1:
diag_captureSlowFrame ['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