Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ClockStart - method of object Pm

Description:
Starting the time clock.
Syntax:
ClockStart([bGlobal As Boolean]) As Double
Calling:
Pm.ClockStart bGlobal
Parameters:
bGlobal[optional] (Boolean) timing type
true (default) - global timing. Thus it is possible to perform only one timing at the given time
false - local timing. Thus it is possible to perform even more timings at a time.
Note:
The method serves to starting the time clock. In case of local timing it is necessary to store the value returned by calling the method and to pass the stored value as a parameter in the subsequent calling of the ClockStop method. The ClockStop method serves to stopping the time clock. By the ClockStart and ClockStop methods it is possible to determine the action time with the precision of microseconds. In case of global timing it dumps the measured time into the Debug_info item of the INFO system.
 
This method is not functional for Web Panels.
See also:
Example:
Pm.ClockStart
  ...
Dim nClock
nClock = Pm.ClockStart(true)
  ...
Dim nTime
nTime = Pm.ClockStop(nClock)
Pm.Debug "Time=" & nTime
Navigation:
 
- Pm
 
- Abs
- ClockStart
 
 
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice