DeviceStatisticsHelperTReset(Int64) Method
Resets the member variables used to track
statistics for the device wrapped by this helper.
Namespace: Gemstone.Timeseries.StatisticsAssembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.167 -- Release Build+953eba5c1c088e7691234ecdac1695d5b82a461d
public void Reset(
long nowTicks
)
Public Sub Reset (
nowTicks As Long
)
function Reset(nowTicks);
Parameters
- nowTicks Int64
- The current time, in ticks.
Call this when the connection to a device has been
reset to mark a starting point for statistics gathering.
Since the
Update(Int64) method keeps track
of the time it was last called, it is necessary to call
this method during long periods of downtime where Update
was not being called in order to avoid momentary, unexpectedly
large values to be calculated for measurements expected.
This method is preferred when tracking statistics for multiple
IDevices to reduce the number of calls to
UtcNow.