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

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com