ClockStop - method of the Pm object
Description:
Stopping the time clock and dump of the elapsed time.
Syntax:
Double ClockStop([Double fClock])
Parameters:
fClock | [optional] (Double) Stored value returned by the previous calling of the Pm.ClockStart method in case of local timing. If the parameter is missing, then global timing is presumed with the value stored internally by the PROMOTIC system. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
Pm.ClockStart();
// ...
Pm.ClockStop();
Pm.ClockStart
' ...
Pm.ClockStop
JavaScriptVBScriptSelect and copy to clipboard
var nClock, nTime;
nClock = Pm.ClockStart(true);
// ...
nTime = Pm.ClockStop(nClock);
Pm.Debug("Time=" + nTime);
Dim nClock, nTime
nClock = Pm.ClockStart(true)
' ...
nTime = Pm.ClockStop(nClock)
Pm.Debug "Time=" & nTime