diag tickTime: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
| '''diag_tickTime''' |= Syntax | | '''diag_tickTime''' |= Syntax | ||
|p1= |= | |p1= |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
Line 25: | Line 25: | ||
//code | //code | ||
_stop = [[diag_tickTime]]; | _stop = [[diag_tickTime]]; | ||
[[diag_log]] [[format]] ["%1",_stop - _start];</code>|= | [[diag_log]] [[format]] ["%1",_stop - _start];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[diag_fps]], [[diag_fpsMin]], [[diag_frameNo]], [[diag_log]] |= | | [[diag_fps]], [[diag_fpsMin]], [[diag_frameNo]], [[diag_log]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:30, 7 April 2019
Description
- Description:
- Real time spent from the start of the game. Expressed in fractions of second. Resolution of 1 tick is 1 ms.
- Groups:
- Uncategorised
Syntax
- Syntax:
- diag_tickTime
- Return Value:
- Number
Examples
- Example 1:
_start = diag_tickTime; //code _stop = diag_tickTime; diag_log format ["%1",_stop - _start];
Additional Information
- See also:
- diag_fpsdiag_fpsMindiag_frameNodiag_log
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
- Posted on 8 Sept, 2010
- Crowe
- In Arma 2 Operation Arrowhead 1.54.0.72888 this returns the time in seconds since the game was started.
- Posted on 25 Jan, 2014
- Killzone_Kid
- This command will return time since last client restart as float. However because of Number format used in Arma, the more time has past since restart the less precise the returned value will be.