diag tickTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(displaytitle changed, see also cleanup, note formatting)
Line 1: Line 1:
{{DISPLAYTITLE:diag_tickTime}}
{{Command|= Comments
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 28: Line 29:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[diag drawMode]], [[diag fps]], [[diag fpsmin]], [[diag frameno]], [[diag log]], [[diag toggle]] |= SEEALSO  
| [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_log]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 37: Line 38:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
In Arma 2 Operation Arrowhead 1.54.0.72888 this returns the time in seconds since the game was started. --[[User:Crowe|Crowe]] 19:28, 8 September 2010 (CEST)
 
<dd class="notedate">Posted on 8 Sept, 2010
<dt class="note">[[User:Crowe|Crowe]]<dd class="note">
In Arma 2 Operation Arrowhead 1.54.0.72888 this returns the time in seconds since the game was started.
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 11:13, 30 August 2012


Hover & click on the images for description

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.

Bottom Section