Skip to main content
Timer class

Constructors

Timer()

Initializes a new instance of the Timer class.

Methods

getHiResTimer()

Gets a high resolution timer in seconds.
Returns: CRMScript.Global.Float

getSeconds()

This function will return the number of seconds between start and stop.
Returns: CRMScript.Global.Float - The number of seconds between start and stop.

getTimer()

Gets a timer value in seconds from the real time system clock. This is normally a low resolution timer.
Returns: CRMScript.Global.Float

start()

This function will start the timer.
Returns: CRMScript.Global.Void

stop()

This function will stop the timer.
Returns: CRMScript.Global.Void