Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following functions can be used to get the current value of a timer.

Expand
titleStartTimer & CurTimer
Code Block
TIMERVAL StartTimer()

Return the current value of the set interval timer. This is the same as CurTimer().

Expand
titleCurTimer
Code Block

TIMERVAL CurTimer();

Return These functions return the current value of the set interval timer . This is the same as StartTimer();clock. The two functions are identical.

Expand
titleWallTime
Code Block
TIMERVAL WallTime();

Return the current value of the wall clock timer.

Timer Type Detection

The following functions can be used to determine the type of a timer.

...

Expand
titleIsWallTime
Code Block
int IsWallTime(TIMERVAL CurTimer();timer)
   where:
      TIMERVAL timer = Timer value

Checks if the passed timer is a wall clock timer value. If so, this function returns non-zero; otherwise it returns zero.

...