Matrix1 Utility Plug-ins

HITIMER


Syntax

Time = HITIMER( Frequency )
Time = HITIMER( )

Description

This function queries the hiresolution clock built into the processor. This makes it much more accurate than the standard DBPro TIMER( ) function.

The first form of the function allows you to specify the frequency that you wish to use when querying the clock. This allows you, for example, to check to see how many 60th’s of a second have passed since the last check - something that is not quite possible with the standard DBPro timer. It will also accept a fractional frequency, for example if a frequency of 0.5 is used, the timer will change value every 2 seconds.

The second form operates in the same way as the DBPro timer, and runs at a frequency of 1ms (1/1000th of a second).

Go back to ...

Matrix1Util_02 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011