Click or drag to resize

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.

Namespace: GSF.TimeSeries.Statistics
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public void Update(
	long nowTicks
)
View Source

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