DeviceStatisticsHelperTUpdate(Int64) Method

Updates the statistics for the number of measurements received and the number of measurements expected in the IDevice wrapped by this helper.

Definition

Namespace: Gemstone.Timeseries.Statistics
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.147 -- Release Build+281cd9d48f79fa48c22e33d1c46c4d7bdd95f1cf
public void Update(
	long nowTicks
)

Parameters

nowTicks  Int64
The current time, in ticks.

Remarks

Call this periodically, preferably on a slow timer (e.g., once per second), in order to update the MeasurementsReceived, MeasurementsWithError, and MeasurementsExpected statistics. This method is preferred when tracking statistics for multiple IDevices to reduce the number of calls to UtcNow.

See Also