The gettick Statement
The gettick statement retrieves the current system tick count. The syntax of the gettick statement is shown below.
gettick x // set x to the current system tick count