diag captureSlowFrame: Difference between revisions

From Bohemia Interactive Community
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 frame in seconds |= Parameter 2
|p2= threshold: [[Number]] - Duration of the section in seconds |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 19:47, 16 November 2012

Hover & click on the images for description

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

See also:
Performance Profilingdiag captureFramediag_logsLowFrame

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

Notes

Bottom Section