TIX

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Timing functions >

TIX

 

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