diag logSlowFrame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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. |= Description
'''Note''': Only available in specific builds. See [[Performance Profiling]] for details. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''diag_logSlowFrame''' [section, threshold] |= Syntax
| '''diag_logSlowFrame''' [section, threshold] |SYNTAX=


|p1= section: [[String]] - Valid: ??? |= Parameter 1
|p1= section: [[String]] - Valid: ??? |PARAMETER1=


|p2= threshold: [[Number]] - Duration of frame in seconds |= Parameter 2
|p2= threshold: [[Number]] - Duration of frame in seconds |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>diag_logSlowFrame ['total',0.3]</pre> |= Example 1
|x1= <pre>diag_logSlowFrame ['total',0.3]</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Performance Profiling]], [[diag_captureFrame]], [[diag_captureSlowFrame]] |= See also
| [[Performance Profiling]], [[diag_captureFrame]], [[diag_captureSlowFrame]] |SEEALSO=


}}
}}

Revision as of 14:37, 7 April 2019


Hover & click on the images for description

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

See also:
Performance Profilingdiag_captureFramediag_captureSlowFrame

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