Navigation:  thinBasic Modules > Core > Timing >

TIX

Previous pageReturn to chapter overviewNext page

 

Description

 

Measures elapsed CPU cycles.

 

Syntax

 

n = TIX

n = TIX_END(n)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

n MUST BE a QUAD numeric type.

Pass to TIX_END the same number returned by TIX in order to compute elapsed CPU cycles.

 

Restrictions

 

See also

 

Examples

 

Dim n As QUAD

n = TIX

  '---Do something

n = TIX_End(n)

 

MSGBOX 0, "Total CPU cycles: " & n